maybe
This commit is contained in:
parent
50288b0680
commit
cafd20a6d6
1 changed files with 1 additions and 1 deletions
|
|
@ -72,7 +72,7 @@ for lineno, line in enumerate(fp, 1):
|
||||||
types = words[4:10]
|
types = words[4:10]
|
||||||
read = words[11].translate(khtrans).translate(khtrans).replace(":", "")
|
read = words[11].translate(khtrans).translate(khtrans).replace(":", "")
|
||||||
write = words[0].translate(fhtrans)
|
write = words[0].translate(fhtrans)
|
||||||
cost = int(int(words[3]) / 10)
|
cost = int(int(words[3]) / 250)
|
||||||
if set(["名詞", "固有名詞", "人名", "姓"]) <= set(types):
|
if set(["名詞", "固有名詞", "人名", "姓"]) <= set(types):
|
||||||
maybe_new(read, write)
|
maybe_new(read, write)
|
||||||
append_type(read, "苗字", cost)
|
append_type(read, "苗字", cost)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue