Exemplo n.º 1
0
 def exactSetMatch(self, mTemplate, ignoreSemanticTagList=['people']):
     """ return True if the token sets from a given mention template match
         the token set from this templates. """
     return BaseMentionTemplate.exactSetMatch(self, mTemplate,
                                              ignoreSemanticTagList)
Exemplo n.º 2
0
 def exactSetMatch(self, mTemplate, ignoreSemanticTagList=["people"]):
     """ return True if the token sets from a given mention template match
         the token set from this templates. """
     return BaseMentionTemplate.exactSetMatch(self, mTemplate, ignoreSemanticTagList)