MCPcopy Create free account
hub / github.com/Accagain2014/TextMatching / __init__

Method __init__

helper/wordhash.py:17–50  ·  view source on GitHub ↗

:param words: origin vacabulary :param n_gram: number of letters to make a n_gram term :param marks: the character added in the starting and ending position of a word :param load_from_file: load n_gram index map dict from file or not :param load_file: load f

(self, words, n_gram=3, marks='#', load_from_file=False, dump_to_file=False, file=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

_get_hash_dictMethod · 0.95

Tested by

no test coverage detected