Change etymology/definition syntax for parsing json
parent
149f02af90
commit
1249804f7c
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue