MCPcopy Create free account
hub / github.com/modelscope/modelscope / TrieNode

Class TrieNode

modelscope/preprocessors/ofa/utils/text2phone.py:6–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4
5
6class TrieNode(object):
7
8 def __init__(self):
9 """
10 Initialize your data structure here.
11 """
12 self.data = {}
13 self.is_word = False
14
15
16class Trie(object):

Callers 2

__init__Method · 0.70
insertMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…