diff options
-rwxr-xr-x | bladictionary.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bladictionary.py b/bladictionary.py index a754ddb..5d7f0bf 100755 --- a/bladictionary.py +++ b/bladictionary.py @@ -6,7 +6,7 @@ import sys import shlex from lxml import etree -version = "2.0.1b" +version = "2.0.5b" class Definition(object): #ID is relative to the word type, eg noun 1, noun 2, verb 1, verb 2, not to the entire list @@ -131,7 +131,7 @@ def parse_xml(xml): antonyms.append(ant.strip("{},] ")) ant_line = True - item = Definition(id, "bla", "wn", word_type, definition, synonyms, antonyms) + item = Definition(word, id, "wn", word_type, definition, synonyms, antonyms) items.append(item) return items |