7.8.8. TokenBigramSplitSymbolAlpha#

7.8.8.1. Summary#

TokenBigramSplitSymbolAlpha is similar to TokenBigram. The difference between them is symbol and alphabet handling.

7.8.8.2. Syntax#

TokenBigramSplitSymbolAlpha hasn’t parameter:

TokenBigramSplitSymbolAlpha

7.8.8.3. Usage#

TokenBigramSplitSymbolAlpha tokenizes symbols and alphabets by bigram tokenize method:

Execution example:

tokenize TokenBigramSplitSymbolAlpha "100cents!!!" NormalizerAuto
# [
#   [
#     0,
#     1337566253.89858,
#     0.000355720520019531
#   ],
#   [
#     {
#       "value": "100",
#       "position": 0,
#       "force_prefix": false,
#       "force_prefix_search": false
#     },
#     {
#       "value": "ce",
#       "position": 1,
#       "force_prefix": false,
#       "force_prefix_search": false
#     },
#     {
#       "value": "en",
#       "position": 2,
#       "force_prefix": false,
#       "force_prefix_search": false
#     },
#     {
#       "value": "nt",
#       "position": 3,
#       "force_prefix": false,
#       "force_prefix_search": false
#     },
#     {
#       "value": "ts",
#       "position": 4,
#       "force_prefix": false,
#       "force_prefix_search": false
#     },
#     {
#       "value": "s!",
#       "position": 5,
#       "force_prefix": false,
#       "force_prefix_search": false
#     },
#     {
#       "value": "!!",
#       "position": 6,
#       "force_prefix": false,
#       "force_prefix_search": false
#     },
#     {
#       "value": "!!",
#       "position": 7,
#       "force_prefix": false,
#       "force_prefix_search": false
#     },
#     {
#       "value": "!",
#       "position": 8,
#       "force_prefix": false,
#       "force_prefix_search": false
#     }
#   ]
# ]