Exemple #1
0
 def __init__(self, result, reading_id=None, db_info_id=None,
              indra_version=None):
     self.reading_id = reading_id
     self.db_info_id = db_info_id
     self.result = result
     if indra_version is None:
         self.indra_version = get_indra_version()
     else:
         self.indra_version = indra_version
     return
Exemple #2
0
 def __init__(self,
              result,
              reading_id=None,
              db_info_id=None,
              indra_version=None):
     self.reading_id = reading_id
     self.db_info_id = db_info_id
     self.result = result
     if indra_version is None:
         self.indra_version = get_indra_version()
     else:
         self.indra_version = indra_version
     self.__text_patt = re.compile('[\W_]+')
     return
Exemple #3
0
 def __init__(self, statement, reading_id):
     self.reading_id = reading_id
     self.statement = statement
     self.indra_version = get_indra_version()
     return
Exemple #4
0
 def __init__(self, statement, reading_id=None, db_info_id=None):
     self.reading_id = reading_id
     self.db_info_id = db_info_id
     self.statement = statement
     self.indra_version = get_indra_version()
     return