diff --git a/camel_tools/cli/camel_morphology.py b/camel_tools/cli/camel_morphology.py index 607607d..717e9cf 100644 --- a/camel_tools/cli/camel_morphology.py +++ b/camel_tools/cli/camel_morphology.py @@ -91,7 +91,7 @@ _ANALYSIS_BACKOFFS = frozenset(('NONE', 'NOAN_ALL', 'NOAN_PROP', 'ADD_ALL', 'ADD_PROP')) _GENARATION_BACKOFFS = frozenset(('NONE', 'REINFLECT')) -_BUILTIN_DBS = frozenset([db.name for db in MorphologyDB.list_builtin_dbs()]) +_BUILTIN_DBS = frozenset(MorphologyDB.list_builtin_dbs()) _DEFAULT_DB = 'calima-msa-r13' _DIAC_RE = re.compile(r'[' + re.escape(u''.join(AR_DIAC_CHARSET)) + r']')