コード例 #1
0
ファイル: nmctag2txt.py プロジェクト: lngvietthang/omwtk
 def __init__(self, data_source=None):
     Schema.__init__(self, data_source)
     self.add_table('sent', 'sid docID pid sent comment usrname'.split())
     self.add_table('word', 'sid wid word pos lemma cfrom cto comment usrname'.split())
     self.add_table('concept', 'sid  wid word pos lemma cfrom cto comment usrname'.split())
コード例 #2
0
ファイル: compare_tag.py プロジェクト: lngvietthang/omwtk
	def __init__(self, data_source=None):
		Schema.__init__(self, data_source)
		self.add_table('sent', 'sid docID pid sent comment usrname'.split())