Tokenizer icon indicating copy to clipboard operation
Tokenizer copied to clipboard

tokenize by script boundaries - only

Open mediabuff opened this issue 3 months ago • 0 comments

I am trying to tokenize multilingual (rather multi script) strings - into components where each component is of only one script (as defined by Unicode). I tried using -segment_alphabet_change but this also breaks at spaces. The following

the rootकृ in the sense of frequency; e.g. चर्करीति, चर्कर्ति, बोभवीति बोभोति

should break as 4 tokens

"the root" "कृ " "in the sense of frequency; e.g." "चर्करीति, चर्कर्ति, बोभवीति बोभोति"

mediabuff avatar Mar 08 '24 09:03 mediabuff