際際滷

際際滷Share a Scribd company logo
*

    丐舒礌舒 仍亳仗舒亠于舒
    12
*
Numbers Tagger   仂亳从 亳亠仍 于        gate.creole.numbe
                 亟仂从仄亠仆舒           rs.NumbersTagger
                 (亳仂于舒 亳
                 仍仂于亠仆舒
                 仂仄仍亳仂于从亳) 亳 亳
                 舒仆仆仂舒亳 于 于亳亟亠
                 亳仍仂于 亰仆舒亠仆亳亶
Roman Numerals 仂亳从 亳 舒仆仆仂舒亳      gate.creole.numbe
Tagger         亳仄从亳 亳亠仍          rs.RomanNumeralsT
                                      agger
*
*弌仂亟亠亢亳 亠, 舒亰舒弍仂舒仆仆亠 亟仍 舒仆仆仂亳仂于舒仆亳
 亳亠仍, 仗仂磦仍ム亳 于 亟仂从仄亠仆舒.
*仗亠亟亠仍磳 仂仆仂亠 亳仍仂于仂亠 亰仆舒亠仆亳亠
*仂弍舒于仍磳 亰仆舒亠仆亳亠 从 舒仆仆仂舒亳亳
*仂亰于仂仍磳 仂亳 弍仂仍亠亠 仍仂亢仆亠 舒仆仆仂舒亳亳 仆舒 弍舒亰亠
 亠, 仂 弍仍亳 仂弍舒弍仂舒仆 亟舒仆仆仄 仗仍舒亞亳仆仂仄 (亟亠仆亠亢仆亠
 亠亟亳仆亳, 亳亰仄亠亠仆亳)
*仂仆亳亞舒亳 仂仗亳于舒亠 于 XML 舒亶仍亠
*仂仂于舒 从仂仆亳亞舒亳 亟仍 舒仆仆仂亳仂于舒仆亳 亟仍
 舒仆亞仍亳亶从仂亞仂, 舒仆亰从仂亞仂, 仆亠仄亠从仂亞仂 亳 亳仗舒仆从仂亞仂
 磶从仂于
*
* 亠 亠 于 亟舒仆仆仂仄 仗仍舒亞亳仆亠 仗仂亳亰于仂亟 舒从
 仆舒亰于舒亠仄亠 Number annotations (亳仍仂于亠 舒仆仆仂舒亳亳) 于
 仍亠亟ム亠仄 于亳亟亠:
* Type(亳仗): 仂仗亳于舒亠 亳仗 仂从亠仆仂于, 从仂仂亠 仄仂亞
 仂弍舒亰仂于于舒 亳仍仂
* Value(亰仆舒亠仆亳亠): 仂弍仂亰仆舒舒亠 仂弍仂亶 亠舒仍仆仂亠 亰仆舒亠仆亳亠
 亳仍舒 , 从仂仂仂亠 弍仍仂 舒仆仆仂亳仂于舒仆仂
*
String                              Value
3^2                                 9
101                                 101
3,000                               3000
3.3e3                               3300
1/4                                 0.25
9^1/2                               3
4x10^3                              4000
5.5*4^5                             5632
thirty one                          31
three hundred                       300
four thousand one hundred and two   4102
3 million                           3000000
f端nfundzwanzig                      25
4 score                             80
*
* con鍖gURL- 仗 从 从仂仆亳亞舒亳仂仆仆仂仄 舒亶仍.
 仆舒亠仆亳亠 仗仂 仄仂仍舒仆亳: resources/languages/all.xml
 仂仆亳亞舒亳仂仆仆亶 舒亶仍 亟仍 舒仆亞仍亳亶从仂亞仂 磶从舒:
 resources/languages/english.xml
* Encoding  从仂亟亳仂于从舒. 仂 仄仂仍舒仆亳 UTF-8
* postProcessURL  仗 亟仍 JAPE 亞舒仄仄舒亳从亳
*
*
* <config>
   <description>Basic Example</description>
   <imports>
     <url encoding="UTF-8">symbols.xml</url>
   </imports>
   <words>
     <word value="0">zero</word>
     <word value="1">one</word>
     ...
      <word value="10">ten</word>
    </words>
    <multipliers>
       <word value="2">hundred</word>
       <word value="2">hundreds</word>
       <word value="3">thousand</word>
       <word value="3">thousands</word>
       <word value
   </multipliers>
   <conjunctions>
      <word whole="true">and</word>
   </conjunctions>
   <decimalSymbol>.</decimalSymbol>
   <digitGroupingSymbol>,</digitGroupingSymbol>
</config>
*

* e: 仂弍仂亰仆舒舒亠 从仗仂仆亠仆亳舒仍仆仂亠 仂仆仂于舒仆亳亠 10
<word value="2">hundred</word>
3 hundred => 3  102 亳仍亳 300
* /: 仗仂亰于仂仍磳 仂仗亠亟亠仍 亟仂仍亳 亳仍亳 亟仂弍亳
three halves => 1.5
* ^: 于仂亰于亠亟亠仆亳亠 于 亠仗亠仆 亳仍舒
three squared => 9
*

<conjunctions>
   <word whole="true">and</word>
</conjunctions>
<decimalSymbol>.</decimalSymbol>
<digitGroupingSymbol>,</digitGroupingSymbol>
*
*allowWithinWords
*annotationSetName
*failOnMissingInputAnnotations
*useHintsFromOriginalMarkups
*
*allowLowerCase  仗仂亰于仂仍磳 于仗仂仍仆
 舒仆仆仂舒亳 亟仍 亳仄从亳 亳 仆亳亢仆亠亞仂
 亠亞亳舒
*maxTailLength  仂亞舒仆亳亠仆亳亠 从仂仍亳亠于舒
 亳仄于仂仍仂于
*outputASName  亳仄 亟仍 仄仆仂亢亠于舒 舒仆仆仂舒亳亶

More Related Content

Tagger numbers

  • 1. * 丐舒礌舒 仍亳仗舒亠于舒 12
  • 2. * Numbers Tagger 仂亳从 亳亠仍 于 gate.creole.numbe 亟仂从仄亠仆舒 rs.NumbersTagger (亳仂于舒 亳 仍仂于亠仆舒 仂仄仍亳仂于从亳) 亳 亳 舒仆仆仂舒亳 于 于亳亟亠 亳仍仂于 亰仆舒亠仆亳亶 Roman Numerals 仂亳从 亳 舒仆仆仂舒亳 gate.creole.numbe Tagger 亳仄从亳 亳亠仍 rs.RomanNumeralsT agger
  • 3. * *弌仂亟亠亢亳 亠, 舒亰舒弍仂舒仆仆亠 亟仍 舒仆仆仂亳仂于舒仆亳 亳亠仍, 仗仂磦仍ム亳 于 亟仂从仄亠仆舒. *仗亠亟亠仍磳 仂仆仂亠 亳仍仂于仂亠 亰仆舒亠仆亳亠 *仂弍舒于仍磳 亰仆舒亠仆亳亠 从 舒仆仆仂舒亳亳 *仂亰于仂仍磳 仂亳 弍仂仍亠亠 仍仂亢仆亠 舒仆仆仂舒亳亳 仆舒 弍舒亰亠 亠, 仂 弍仍亳 仂弍舒弍仂舒仆 亟舒仆仆仄 仗仍舒亞亳仆仂仄 (亟亠仆亠亢仆亠 亠亟亳仆亳, 亳亰仄亠亠仆亳) *仂仆亳亞舒亳 仂仗亳于舒亠 于 XML 舒亶仍亠 *仂仂于舒 从仂仆亳亞舒亳 亟仍 舒仆仆仂亳仂于舒仆亳 亟仍 舒仆亞仍亳亶从仂亞仂, 舒仆亰从仂亞仂, 仆亠仄亠从仂亞仂 亳 亳仗舒仆从仂亞仂 磶从仂于
  • 4. * * 亠 亠 于 亟舒仆仆仂仄 仗仍舒亞亳仆亠 仗仂亳亰于仂亟 舒从 仆舒亰于舒亠仄亠 Number annotations (亳仍仂于亠 舒仆仆仂舒亳亳) 于 仍亠亟ム亠仄 于亳亟亠: * Type(亳仗): 仂仗亳于舒亠 亳仗 仂从亠仆仂于, 从仂仂亠 仄仂亞 仂弍舒亰仂于于舒 亳仍仂 * Value(亰仆舒亠仆亳亠): 仂弍仂亰仆舒舒亠 仂弍仂亶 亠舒仍仆仂亠 亰仆舒亠仆亳亠 亳仍舒 , 从仂仂仂亠 弍仍仂 舒仆仆仂亳仂于舒仆仂
  • 5. * String Value 3^2 9 101 101 3,000 3000 3.3e3 3300 1/4 0.25 9^1/2 3 4x10^3 4000 5.5*4^5 5632 thirty one 31 three hundred 300 four thousand one hundred and two 4102 3 million 3000000 f端nfundzwanzig 25 4 score 80
  • 6. * * con鍖gURL- 仗 从 从仂仆亳亞舒亳仂仆仆仂仄 舒亶仍. 仆舒亠仆亳亠 仗仂 仄仂仍舒仆亳: resources/languages/all.xml 仂仆亳亞舒亳仂仆仆亶 舒亶仍 亟仍 舒仆亞仍亳亶从仂亞仂 磶从舒: resources/languages/english.xml * Encoding 从仂亟亳仂于从舒. 仂 仄仂仍舒仆亳 UTF-8 * postProcessURL 仗 亟仍 JAPE 亞舒仄仄舒亳从亳
  • 7. *
  • 8. * * <config> <description>Basic Example</description> <imports> <url encoding="UTF-8">symbols.xml</url> </imports> <words> <word value="0">zero</word> <word value="1">one</word> ... <word value="10">ten</word> </words> <multipliers> <word value="2">hundred</word> <word value="2">hundreds</word> <word value="3">thousand</word> <word value="3">thousands</word> <word value </multipliers> <conjunctions> <word whole="true">and</word> </conjunctions> <decimalSymbol>.</decimalSymbol> <digitGroupingSymbol>,</digitGroupingSymbol> </config>
  • 9. * * e: 仂弍仂亰仆舒舒亠 从仗仂仆亠仆亳舒仍仆仂亠 仂仆仂于舒仆亳亠 10 <word value="2">hundred</word> 3 hundred => 3 102 亳仍亳 300 * /: 仗仂亰于仂仍磳 仂仗亠亟亠仍 亟仂仍亳 亳仍亳 亟仂弍亳 three halves => 1.5 * ^: 于仂亰于亠亟亠仆亳亠 于 亠仗亠仆 亳仍舒 three squared => 9
  • 10. * <conjunctions> <word whole="true">and</word> </conjunctions> <decimalSymbol>.</decimalSymbol> <digitGroupingSymbol>,</digitGroupingSymbol>
  • 12. * *allowLowerCase 仗仂亰于仂仍磳 于仗仂仍仆 舒仆仆仂舒亳 亟仍 亳仄从亳 亳 仆亳亢仆亠亞仂 亠亞亳舒 *maxTailLength 仂亞舒仆亳亠仆亳亠 从仂仍亳亠于舒 亳仄于仂仍仂于 *outputASName 亳仄 亟仍 仄仆仂亢亠于舒 舒仆仆仂舒亳亶