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

Missing pos for PUNCT #91

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

Missing pos for PUNCT #91

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

Comments

@10zinten
Copy link
Contributor

10zinten commented May 9, 2022

System:

  • botok: v0.8.8

Reproduce

tokens = wt.tokenize("༄༅། །བློ་སྦྱོང་དོན་?")
print(tokens[0])

Output

text: "༄༅། །"
char_types: |NORMAL_PUNCT|NORMAL_PUNCT|NORMAL_PUNCT|TRANSPARENT|NORMAL_PUNCT|
chunk_type: PUNCT
start: 0
len: 5

Expected output:

text: "༄༅། །"
char_types: |NORMAL_PUNCT|NORMAL_PUNCT|NORMAL_PUNCT|TRANSPARENT|NORMAL_PUNCT|
chunk_type: PUNCT
pos: PUNCT
start: 0
len: 5
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