/[smecontribs]/rpms/translate-toolkit/contribs8/translate-toolkit-1.5.0-langmodel_dir.patch
ViewVC logotype

Contents of /rpms/translate-toolkit/contribs8/translate-toolkit-1.5.0-langmodel_dir.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Wed Feb 24 18:18:37 2010 UTC (14 years, 8 months ago) by slords
Branch: MAIN
CVS Tags: translate-toolkit-1_5_3-2_1_el5_sme, translate-toolkit-1_5_3-2_el5_sme, translate-toolkit-1_5_3-2_0_el5_sme, HEAD
Error occurred while calculating annotation data.
Initial import

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 """

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed