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())
def __init__(self, data_source=None): Schema.__init__(self, data_source) self.add_table('sent', 'sid docID pid sent comment usrname'.split())