diff options
author | Joe Robinson <joe@mumsnet.com> | 2014-09-18 16:30:33 +0100 |
---|---|---|
committer | Joe Robinson <joe@mumsnet.com> | 2014-09-18 16:30:33 +0100 |
commit | 3737e875d0b69a5340cc6564fc07457a6f4f2a91 (patch) | |
tree | 299ac39b764e7236884925bb377f99c660e8eb2e /bladictionary.py | |
parent | f9587280f6c0e5540ed6386147b4acc61caf52c8 (diff) |
Don't require word (eg for -v)
Diffstat (limited to 'bladictionary.py')
-rwxr-xr-x | bladictionary.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bladictionary.py b/bladictionary.py index 7034988..92fbea5 100755 --- a/bladictionary.py +++ b/bladictionary.py @@ -7,7 +7,7 @@ import shlex import optparse from lxml import etree -VERSION = "2.0.10b" +VERSION = "2.0.11b" class Definition(object): #ID is relative to the word type, eg noun 1, noun 2, verb 1, verb 2, not to the entire list @@ -149,6 +149,7 @@ def parse_args(): types = ["n", "noun", "v", "verb", "adj", "adjective", "adv", "adverb"] dicts = ["wn", "wordnet", "oed"] + word = "" word_type = "" word_dict = "" |