From 3737e875d0b69a5340cc6564fc07457a6f4f2a91 Mon Sep 17 00:00:00 2001 From: Joe Robinson Date: Thu, 18 Sep 2014 16:30:33 +0100 Subject: Don't require word (eg for -v) --- bladictionary.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 = "" -- cgit v1.2.3