Debian Codegraph @

test/command/suite/table_tokenize/with_multiple_normalizer.expected

raw
1 table_create Normalizations TABLE_PAT_KEY ShortText
2 [[0,0.0,0.0],true]
3 column_create Normalizations normalized COLUMN_SCALAR ShortText
4 [[0,0.0,0.0],true]
5 load --table Normalizations
6 [
7 {"_key": "abcde", "normalized": "12345"}
8 ]
9 [[0,0.0,0.0],1]
10 table_create Terms TABLE_PAT_KEY ShortText --default_tokenizer TokenBigram --normalizer 'NormalizerNFKC, NormalizerTable("normalized", "Normalizations.normalized")'
11 [[0,0.0,0.0],true]
12 table_tokenize Terms "aBcDe fgH" --mode ADD
13 [
14 [
15 0,
16 0.0,
17 0.0
18 ],
19 [
20 {
21 "value": "12345",
22 "position": 0,
23 "force_prefix": false,
24 "force_prefix_search": false
25 },
26 {
27 "value": "fgh",
28 "position": 1,
29 "force_prefix": false,
30 "force_prefix_search": false
31 }
32 ]
33 ]