Class: TwitterCldr::Resources::CollationTriesImporter
- Defined in:
- lib/twitter_cldr/resources/collation_tries_importer.rb
Constant Summary collapse
- AUXILIARY_ZIP_FILE =
'CollationAuxiliary.zip'.freeze
- FRACTIONAL_UCA_FILE =
'FractionalUCA_SHORT.txt'.freeze
- FRACTIONAL_UCA_SHORT_CUSTOMIZATION_HEADER =
<<~END.freeze # Three custom changes are made in this file: # # * Lines like '006C | 00B7; [, DB A9, 05]' are unfolded into the full # form - '006C 00B7; [3D, 05, 05][, DB A9, 05]' (in this example, # [3D, 05, 05] is a collation element for 0x006C). Note: This might # break if tailoring is applied to 0x006C because with this rule # unfolded collation element for '006C 00B7' won't be automatically # updated when a collation element for 0x006C is changed. # # * SPECIAL FINAL VALUES are commented, because they are unnecessary for # the current implementation and are breaking some UCA tests. END
- FRACTIONAL_UCA_SHORT_CUSTOMIZATIONS =
{ '006C | 00B7; [, DB A9, 05]' => '006C 00B7; [3D, 05, 05][, DB A9, 05]', '006C | 0387; [, DB A9, 05]' => '006C 0387; [3D, 05, 05][, DB A9, 05]', '004C | 00B7; [, DB A9, 05]' => '004C 00B7; [3D, 05, 8F][, DB A9, 05]', '004C | 0387; [, DB A9, 05]' => '004C 0387; [3D, 05, 8F][, DB A9, 05]', }
Constants inherited from Importer
Instance Attribute Summary
Attributes inherited from Importer
Method Summary
Methods inherited from Importer
#can_import?, default_params, #import, #initialize, locales, output_path, parameter, parameters, #prepare, requirement, requirements, ruby_engine
Constructor Details
This class inherits a constructor from TwitterCldr::Resources::Importer