summaryrefslogtreecommitdiff
path: root/util/compile.py
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-04-24 19:02:40 -0700
committerAlex Yatskov <alex@foosoft.net>2016-04-24 19:02:40 -0700
commitd35d59410a2bfa20534aaf297379711fe8f0cd63 (patch)
tree44d6f0ec99ea9dc70d82098afe00dc47422700d2 /util/compile.py
parentcac6fc1427106420b28777d94907bf27ab1995a3 (diff)
Improving kanjidic format
Diffstat (limited to 'util/compile.py')
-rwxr-xr-xutil/compile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/compile.py b/util/compile.py
index 1b69bd83..842dfa9a 100755
--- a/util/compile.py
+++ b/util/compile.py
@@ -161,7 +161,7 @@ def parse_kanji_dic(path):
character = segments[0]
kunyomi = ' '.join(filter(lambda x: list(filter(is_hiragana, x)), segments[1:]))
onyomi = ' '.join(filter(lambda x: list(filter(is_katakana, x)), segments[1:]))
- glossary = '; '.join(re.findall('\{([^\}]+)\}', line))
+ glossary = re.findall('\{([^\}]+)\}', line)
results[character] = (kunyomi or None, onyomi or None, glossary)
return results