Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

token.text_unaffixed failed to add tsek #92

Open
10zinten opened this issue May 9, 2022 · 0 comments
Open

token.text_unaffixed failed to add tsek #92

10zinten opened this issue May 9, 2022 · 0 comments

Comments

@10zinten
Copy link
Contributor

10zinten commented May 9, 2022

Reproduce script

tokens = wt.tokenize("རིན་ཆེན་མིའི")
print(tokens)

output:

[text: "རིན་ཆེན་"
text_cleaned: "རིན་ཆེན་"
text_unaffixed: "རིན་ཆེན་"
syls: ["རིན", "ཆེན"]
pos: OTHER
lemma: རིན་ཆེན་
senses: | pos: OTHER, freq: 22841, affixed: False, lemma: རིན་ཆེན་ |
char_types: |CONS|VOW|CONS|TSEK|CONS|VOW|CONS|TSEK|
chunk_type: TEXT
freq: 22841
syls_idx: [[0, 1, 2], [4, 5, 6]]
syls_start_end: [{'start': 0, 'end': 4}, {'start': 4, 'end': 8}]
start: 0
len: 8

, text: "མི"
text_cleaned: "མི"
text_unaffixed: "མི"
syls: ["མི"]
pos: PART
lemma: མི་
senses: | pos: PART, freq: 883801, affixed: True, lemma: མི་ |
char_types: |CONS|VOW|
chunk_type: TEXT
freq: 883801
affix_host: True
syls_idx: [[0, 1]]
syls_start_end: [{'start': 0, 'end': 2}]
start: 8
len: 2

, text: "འི"
text_cleaned: "འི་"
text_unaffixed: "འི་"
syls: ["འི"]
pos: PART
lemma: གི་
senses: | lemma: གི་ |
char_types: |CONS|VOW|
chunk_type: TEXT
affix: True
syls_idx: [[0, 1]]
syls_start_end: [{'start': 2, 'end': 4}]
start: 10
len: 2

]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant