Skip to content

Commit

Permalink
Reformat number lookup a bit more
Browse files Browse the repository at this point in the history
  • Loading branch information
thatbudakguy committed Feb 23, 2022
1 parent 94d0abb commit 1d12e08
Showing 1 changed file with 73 additions and 292 deletions.
365 changes: 73 additions & 292 deletions src/spacy_och/lookups/och_numbers.json
Original file line number Diff line number Diff line change
@@ -1,294 +1,75 @@
{
"一": {
"type": "primary",
"value": "1"
},
"七": {
"type": "primary",
"value": "7"
},
"万": {
"type": "primary",
"value": "10000"
},
"三": {
"type": "primary",
"value": "3"
},
"九": {
"type": "primary",
"value": "9"
},
"二": {
"type": "primary",
"value": "2"
},
"五": {
"type": "primary",
"value": "5"
},
"什": {
"type": "other",
"value": "10"
},
"仟": {
"type": "accounting",
"value": "1000"
},
"仨": {
"type": "other",
"value": "3"
},
"伍": {
"type": "accounting",
"value": "5"
},
"佰": {
"type": "accounting",
"value": "100"
},
"億": {
"type": "primary",
"value": "100000000"
},
"兆": {
"type": "primary",
"value": "1000000000000"
},
"兩": {
"type": "other",
"value": "2"
},
"八": {
"type": "primary",
"value": "8"
},
"六": {
"type": "primary",
"value": "6"
},
"十": {
"type": "primary",
"value": "10"
},
"千": {
"type": "primary",
"value": "1000"
},
"卅": {
"type": "other",
"value": "30"
},
"卌": {
"type": "other",
"value": "40"
},
"參": {
"type": "accounting",
"value": "3"
},
"四": {
"type": "primary",
"value": "4"
},
"壹": {
"type": "accounting",
"value": "1"
},
"幺": {
"type": "other",
"value": "1"
},
"廾": {
"type": "other",
"value": "9"
},
"廿": {
"type": "other",
"value": "20"
},
"拾": {
"type": "accounting",
"value": "10"
},
"捌": {
"type": "accounting",
"value": "8"
},
"柒": {
"type": "accounting",
"value": "7"
},
"漆": {
"type": "accounting",
"value": "7"
},
"玖": {
"type": "accounting",
"value": "9"
},
"百": {
"type": "primary",
"value": "100"
},
"肆": {
"type": "accounting",
"value": "4"
},
"萬": {
"type": "accounting",
"value": "10000"
},
"貳": {
"type": "accounting",
"value": "2"
},
"阡": {
"type": "accounting",
"value": "1000"
},
"陌": {
"type": "accounting",
"value": "100"
},
"陸": {
"type": "accounting",
"value": "6"
},
"零": {
"type": "primary",
"value": "0"
},
"𠦃": {
"type": "other",
"value": "30"
},
"𠦌": {
"type": "other",
"value": "40"
},
"𠦜": {
"type": "other",
"value": "40"
},
"𠬙": {
"type": "other",
"value": "3"
},
"𣬛": {
"type": "other",
"value": "3"
},
"㐅": {
"type": "other",
"value": "5"
},
"亿": {
"type": "primary",
"value": "100000000"
},
"卄": {
"type": "other",
"value": "20"
},
"叁": {
"type": "accounting",
"value": "3"
},
"参": {
"type": "accounting",
"value": "3"
},
"叄": {
"type": "other",
"value": "3"
},
"弌": {
"type": "accounting",
"value": "1"
},
"弍": {
"type": "accounting",
"value": "2"
},
"贰": {
"type": "accounting",
"value": "2"
},
"陆": {
"type": "accounting",
"value": "6"
},
"㒃": {
"type": "other",
"value": "2"
},
"㠪": {
"type": "other",
"value": "5"
},
"㭍": {
"type": "other",
"value": "7"
},
"亖": {
"type": "other",
"value": "4"
},
"壱": {
"type": "accounting",
"value": "1"
},
"弎": {
"type": "accounting",
"value": "3"
},
"弐": {
"type": "accounting",
"value": "2"
},
"貮": {
"type": "accounting",
"value": "2"
},
"𠀁": {
"type": "other",
"value": "7"
},
"𠁤": {
"type": "other",
"value": "4"
},
"𠃢": {
"type": "other",
"value": "4"
},
"𠄡": {
"type": "other",
"value": "5"
},
"𠤪": {
"type": "other",
"value": "1"
},
"𠫪": {
"type": "other",
"value": "6"
},
"𠫽": {
"type": "other",
"value": "3"
},
"𢎐": {
"type": "other",
"value": "2"
},
"𢦘": {
"type": "other",
"value": "3"
},
"𦉭": {
"type": "other",
"value": "4"
}
"一": { "type": "primary", "value": 1 },
"七": { "type": "primary", "value": 7 },
"万": { "type": "primary", "value": 10000 },
"三": { "type": "primary", "value": 3 },
"九": { "type": "primary", "value": 9 },
"二": { "type": "primary", "value": 2 },
"五": { "type": "primary", "value": 5 },
"什": { "type": "other", "value": 10 },
"仟": { "type": "accounting", "value": 1000 },
"仨": { "type": "other", "value": 3 },
"伍": { "type": "accounting", "value": 5 },
"佰": { "type": "accounting", "value": 100 },
"億": { "type": "primary", "value": 100000000 },
"兆": { "type": "primary", "value": 1000000000000 },
"兩": { "type": "other", "value": 2 },
"八": { "type": "primary", "value": 8 },
"六": { "type": "primary", "value": 6 },
"十": { "type": "primary", "value": 10 },
"千": { "type": "primary", "value": 1000 },
"卅": { "type": "other", "value": 30 },
"卌": { "type": "other", "value": 40 },
"參": { "type": "accounting", "value": 3 },
"四": { "type": "primary", "value": 4 },
"壹": { "type": "accounting", "value": 1 },
"幺": { "type": "other", "value": 1 },
"廾": { "type": "other", "value": 9 },
"廿": { "type": "other", "value": 20 },
"拾": { "type": "accounting", "value": 10 },
"捌": { "type": "accounting", "value": 8 },
"柒": { "type": "accounting", "value": 7 },
"漆": { "type": "accounting", "value": 7 },
"玖": { "type": "accounting", "value": 9 },
"百": { "type": "primary", "value": 100 },
"肆": { "type": "accounting", "value": 4 },
"萬": { "type": "accounting", "value": 10000 },
"貳": { "type": "accounting", "value": 2 },
"阡": { "type": "accounting", "value": 1000 },
"陌": { "type": "accounting", "value": 100 },
"陸": { "type": "accounting", "value": 6 },
"零": { "type": "primary", "value": 0 },
"𠦃": { "type": "other", "value": 30 },
"𠦌": { "type": "other", "value": 40 },
"𠦜": { "type": "other", "value": 40 },
"𠬙": { "type": "other", "value": 3 },
"𣬛": { "type": "other", "value": 3 },
"㐅": { "type": "other", "value": 5 },
"亿": { "type": "primary", "value": 100000000 },
"卄": { "type": "other", "value": 20 },
"叁": { "type": "accounting", "value": 3 },
"参": { "type": "accounting", "value": 3 },
"叄": { "type": "other", "value": 3 },
"弌": { "type": "accounting", "value": 1 },
"弍": { "type": "accounting", "value": 2 },
"贰": { "type": "accounting", "value": 2 },
"陆": { "type": "accounting", "value": 6 },
"㒃": { "type": "other", "value": 2 },
"㠪": { "type": "other", "value": 5 },
"㭍": { "type": "other", "value": 7 },
"亖": { "type": "other", "value": 4 },
"壱": { "type": "accounting", "value": 1 },
"弎": { "type": "accounting", "value": 3 },
"弐": { "type": "accounting", "value": 2 },
"貮": { "type": "accounting", "value": 2 },
"𠀁": { "type": "other", "value": 7 },
"𠁤": { "type": "other", "value": 4 },
"𠃢": { "type": "other", "value": 4 },
"𠄡": { "type": "other", "value": 5 },
"𠤪": { "type": "other", "value": 1 },
"𠫪": { "type": "other", "value": 6 },
"𠫽": { "type": "other", "value": 3 },
"𢎐": { "type": "other", "value": 2 },
"𢦘": { "type": "other", "value": 3 },
"𦉭": { "type": "other", "value": 4 }
}

0 comments on commit 1d12e08

Please sign in to comment.