예제 #1
0
 def _subtype_verbs(self):
     """
     とりあえずは使わない。nounだけでsubtypeは十分と判断。
     """
     librarian = EntailmentLibrarian()
     return librarian.entailed_from_all_dictionaries_with_entailing(
         self.query_verb)
예제 #2
0
 def _subtype_verbs(self):
     """
     とりあえずは使わない。nounだけでsubtypeは十分と判断。
     """
     librarian = EntailmentLibrarian()
     return librarian.entailed_from_all_dictionaries_with_entailing(self.query_verb)
예제 #3
0
 def entailed(self):
     eddl = EntailmentLibrarian()
     results = eddl.entailed_from_all_except_for_nonent_ntriv_with_entailing(
         self.original_query_verb)
     return results
예제 #4
0
 def _broader_preds(self, task):
     librarian = EntailmentLibrarian()
     entailing_predicates = librarian.genaral_from_all_except_for_nonent_ntriv_with_special(
         task.predicate_term)
     return entailing_predicates  # dict
예제 #5
0
 def _broader_preds(self, task):
     librarian = EntailmentLibrarian()
     entailing_predicates = librarian.genaral_from_all_except_for_nonent_ntriv_with_special(task.predicate_term)
     return entailing_predicates  # dict
예제 #6
0
 def entailed(self):
     eddl = EntailmentLibrarian()
     results = eddl.entailed_from_all_except_for_nonent_ntriv_with_entailing(self.original_query_verb)
     return results