OLD | NEW |
1 Name: Compact Language Detection 2 | 1 Name: Compact Language Detection 2 |
2 Short Name: cld_2 | 2 Short Name: cld_2 |
3 URL: https://code.google.com/p/cld2/ | 3 URL: https://github.com/CLD2Owners/cld2 |
4 Version: 0 | 4 Version: 0 |
5 License: Apache 2.0 | 5 License: Apache 2.0 |
6 Security Critical: yes | 6 Security Critical: yes |
7 | 7 |
8 Description: | 8 Description: |
9 The CLD is used to determine the language of text. In Chromium, this is used | 9 The CLD is used to determine the language of text. In Chromium, this is used |
10 to determine if Chrome should offer Translate UX to the user. | 10 to determine if Chrome should offer Translate UX to the user. |
11 | 11 |
12 | 12 |
13 Dynamic Mode | 13 Dynamic Mode |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 1. Configure your desired table size by setting the value of "cld2_table_size" | 56 1. Configure your desired table size by setting the value of "cld2_table_size" |
57 in ../../build/common.gypi. | 57 in ../../build/common.gypi. |
58 2. Build the "cld_2_dynamic_data_tool" target. This will generate the tool: | 58 2. Build the "cld_2_dynamic_data_tool" target. This will generate the tool: |
59 ${BUILD_DIR}/cld_2_dynamic_data_tool | 59 ${BUILD_DIR}/cld_2_dynamic_data_tool |
60 3. Run the tool with "--dump <file>" to generate a data file, e.g.: | 60 3. Run the tool with "--dump <file>" to generate a data file, e.g.: |
61 ${BUILD_DIR}/cld_2_dynamic_data_tool --dump /tmp/cld2_data.bin | 61 ${BUILD_DIR}/cld_2_dynamic_data_tool --dump /tmp/cld2_data.bin |
62 4. (Optional) Verify that the file was correctly written: | 62 4. (Optional) Verify that the file was correctly written: |
63 ${BUILD_DIR}/cld_2_dynamic_data_tool --verify /tmp/cld2_data.bin | 63 ${BUILD_DIR}/cld_2_dynamic_data_tool --verify /tmp/cld2_data.bin |
64 | 64 |
65 The data file is suitable for use on all platforms. | 65 The data file is suitable for use on all platforms. |
OLD | NEW |