(self, doc_name, source_id, corpus)
| 44 | # return list(match_words) |
| 45 | class Corpus(object): |
| 46 | def __init__(self, doc_name, source_id, corpus): |
| 47 | self.doc_name = doc_name |
| 48 | self.source_id = source_id |
| 49 | self.corpus = corpus |
| 50 | |
| 51 | def get_match_words(self, entities: list): |
| 52 | match_words = {"doc_name": self.doc_name, "source_id": self.source_id, "text": self.corpus, "match_words": []} |
nothing calls this directly
no outgoing calls
no test coverage detected