1 |
diff -up translate-toolkit-1.5.0/translate/lang/identify.py.langmodel_dir translate-toolkit-1.5.0/translate/lang/identify.py |
2 |
diff -up translate-toolkit-1.5.0/translate/lang/identify.py.langmodel_dir translate-toolkit-1.5.0/translate/lang/identify.py |
3 |
--- translate-toolkit-1.5.0/translate/lang/identify.py.langmodel_dir 2009-11-24 16:33:22.000000000 +0200 |
4 |
+++ translate-toolkit-1.5.0/translate/lang/identify.py 2009-11-24 16:34:36.000000000 +0200 |
5 |
@@ -32,7 +32,7 @@ from ngram import NGram |
6 |
|
7 |
|
8 |
class LanguageIdentifier(object): |
9 |
- MODEL_DIR = get_abs_data_filename('langmodels') |
10 |
+ MODEL_DIR = '/usr/share/translate-toolkit/langmodels' |
11 |
"""The directory containing the ngram language model files.""" |
12 |
CONF_FILE = 'fpdb.conf' |
13 |
""" |