Change etymology/definition syntax for parsing json

master
Paul Walko 2017-02-17 19:52:47 +00:00
parent 149f02af90
commit 1249804f7c
1 changed files with 0 additions and 2 deletions

View File

@ -64,8 +64,6 @@ def wiktionary(word):
mode = 'particle' mode = 'particle'
elif '==Preposition==' in line: elif '==Preposition==' in line:
mode = 'preposition' mode = 'preposition'
# elif len(line) == 0:
# mode = None
elif mode == 'etymology': elif mode == 'etymology':
etymology = text(line) etymology = text(line)