From 33009a980375f030701e6c8fdeb69b3b94fb74e7 Mon Sep 17 00:00:00 2001 From: Assim Date: Sat, 16 Aug 2008 10:13:01 +0000 Subject: fixed:get usage --- (limited to 'dict.py') diff --git a/dict.py b/dict.py index ec7623c..dab31fd 100755 --- a/dict.py +++ b/dict.py @@ -173,9 +173,9 @@ class Word: return self.def_list def get_usage(self): + self.usage_list = [] if self.synsetid_list == []: self.get_synsetid() - self.usage_list = [] for synsetid in self.synsetid_list: self.cur.execute("SELECT * from las_sample where synsetid = ?", (synsetid,)) for (synsetid, sampleid, sample) in self.cur: -- cgit v0.9.1