implement search builder

This commit is contained in:
Sarah Hoffmann
2023-05-23 11:20:34 +02:00
parent 3bf489cd7c
commit c42273a4db
7 changed files with 1208 additions and 3 deletions

View File

@@ -29,7 +29,7 @@ def make_query(*args):
start = len(q.nodes) - 1
for end, ttype in tlist:
q.add_token(TokenRange(start, end), ttype, [dummy])
q.add_token(TokenRange(start, end), ttype, dummy)
q.add_node(BreakType.END, PhraseType.NONE)