Skip to content

Commit

Permalink
append inflections
Browse files Browse the repository at this point in the history
  • Loading branch information
Artikash committed Mar 8, 2020
1 parent 8b62ada commit 25bf2e2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jmdict_to_textractor.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,4 @@ def inflect(term):
outfile.write(f"|DEFINITION|<small>({', '.join(filter(lambda word: word not in exclude, term.words))})</small>")
outfile.writelines(f"\n<p>{definition}</p>" for definition in definitions)
outfile.write("|END|\n")
outfile.write(open("inflections.txt", "r", encoding="utf-8").read())

0 comments on commit 25bf2e2

Please sign in to comment.