Exemple #1
0
 def __init__(self, collection, rootpath=ROOT_PATH):
     DataEngine.__init__(self, collection, rootpath)
     tagfile = os.path.join(rootpath, collection, 'TextData', 'id.userid.lemmtags.txt')
     self.data = map(str.strip, open(tagfile).readlines())
Exemple #2
0
 def __init__(self, collection, rootpath=ROOT_PATH):
     DataEngine.__init__(self, collection)
     self.name = '%s.%s' % (self.__class__.__name__, collection)
Exemple #3
0
 def __init__(self, collection, rootpath=ROOT_PATH):
     DataEngine.__init__(self, collection, rootpath)
     tagfile = os.path.join(rootpath, collection, 'TextData',
                            'id.userid.lemmtags.txt')
     self.data = map(str.strip, open(tagfile).readlines())
Exemple #4
0
 def __init__(self, collection, rootpath=ROOT_PATH):
     DataEngine.__init__(self, collection)
     self.name = '%s.%s' % (self.__class__.__name__, collection)