diff options
author | andrewhayden@chromium.org <andrewhayden@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-14 14:41:38 +0000 |
---|---|---|
committer | andrewhayden@chromium.org <andrewhayden@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-14 14:41:38 +0000 |
commit | 2c3931d55a6d8aa68e834d81cd1eb59a4ce05999 (patch) | |
tree | 49fd5983acb6d7979d08e3b6b197a1176861048d /third_party/cld_2 | |
parent | 9719234f971edce3c7d6f3c0c35bf935353c9cdf (diff) | |
download | chromium_src-2c3931d55a6d8aa68e834d81cd1eb59a4ce05999.zip chromium_src-2c3931d55a6d8aa68e834d81cd1eb59a4ce05999.tar.gz chromium_src-2c3931d55a6d8aa68e834d81cd1eb59a4ce05999.tar.bz2 |
Roll Compact Language Detector v2 to r156, the January 2014 release (+stuff!)
This change will allow us to pick up much goodness:
1. Improved detection for most languages
2. New options for building CLD2 libraries of different sizes for each platform
3. Dynamic data mode (allows CLD's data to be extracted from the executable)
4. Support for 6 new languages
... and more. These are big changes. For more complete info:
https://code.google.com/p/cld2/wiki/January2014Release
This change also updates the .gyp file to pick up the new files and start using
them immediately. The old files should still work, but there's little point in
rolling if we're not going to take the new files.
BUG=
Review URL: https://codereview.chromium.org/197123002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@257102 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/cld_2')
-rw-r--r-- | third_party/cld_2/cld_2.gyp | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/third_party/cld_2/cld_2.gyp b/third_party/cld_2/cld_2.gyp index 94c6137..d0122f1 100644 --- a/third_party/cld_2/cld_2.gyp +++ b/third_party/cld_2/cld_2.gyp @@ -2,6 +2,18 @@ # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. +# Note to maintainers: In the January 2014 release (*_0122*), there are some +# options for building: +# Pick one quadgram file (cld2_generated_quadchrome*.cc): +# 0122_16 = 160K entries, smallest size, lowest accuracy +# 0122_19 = 192K entries, medium size, medium accuracy +# 0122_2 = 256K entries, largest size, highest accuracy +# +# For the CJK bigram file (cld_generated_cjk_delta_bi*.cc), always use +# cld_generated_cjk_delta_bi_4.cc, as this is intended for use with Chromium. +# The _32 variant of the file is intended for applications that use the full +# 175-language version of CLD2. + { 'targets': [ { @@ -13,13 +25,13 @@ ], 'sources': [ 'src/internal/cld2_generated_cjk_compatible.cc', - 'src/internal/cld2_generated_deltaoctachrome0614.cc', - 'src/internal/cld2_generated_distinctoctachrome0604.cc', - 'src/internal/cld2_generated_quadchrome0715.cc', + 'src/internal/cld2_generated_deltaoctachrome0122.cc', + 'src/internal/cld2_generated_distinctoctachrome0122.cc', + 'src/internal/cld2_generated_quadchrome0122_2.cc', 'src/internal/cld2tablesummary.h', 'src/internal/cld_generated_cjk_delta_bi_4.cc', 'src/internal/cld_generated_cjk_uni_prop_80.cc', - 'src/internal/cld_generated_score_quad_octa_1024_256.cc', + 'src/internal/cld_generated_score_quad_octa_0122_2.cc', 'src/internal/cldutil.cc', 'src/internal/cldutil.h', 'src/internal/cldutil_shared.cc', |