summaryrefslogtreecommitdiff
path: root/bladictionary.py
diff options
context:
space:
mode:
Diffstat (limited to 'bladictionary.py')
-rwxr-xr-xbladictionary.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/bladictionary.py b/bladictionary.py
index 29b007f..69eeb4a 100755
--- a/bladictionary.py
+++ b/bladictionary.py
@@ -7,7 +7,7 @@ import optparse
from lxml import etree
import sqlite3
-VERSION = "2.1.5b"
+VERSION = "2.1.6b"
class Definition(object):
#ID is relative to the word type, eg noun 1, noun 2, verb 1, verb 2, not to the entire list
@@ -227,7 +227,6 @@ def parse_oed(word):
id = 0
definition = ""
word_type = ""
- print line
for part in line.split(" ")[word_len:]:
#If we've reached a word type, add the current data to the list
@@ -265,10 +264,7 @@ def parse_oed(word):
tmp_items = []
simple_types = ["n", "v", "adj", "adv"]
for simple_type in simple_types:
- print simple_type
-
for tmp_item in items:
- print tmp_item.word_type
if tmp_item.word_type == simple_type:
tmp_items.append(tmp_item)