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

英文分词 #91

Open
jenfung opened this issue Sep 27, 2022 · 2 comments
Open

英文分词 #91

jenfung opened this issue Sep 27, 2022 · 2 comments

Comments

@jenfung
Copy link

jenfung commented Sep 27, 2022

你好,请问英文分词中,一个word会被分成多个tokens,这种情况怎么处理呢?

@lonePatient
Copy link
Owner

使用huggfaceing中的tokenizer的offset_mapping关系进行word和suword的对应关系。后期我更新下

@1390806607
Copy link

你好 请问这个有更新吗? 关于一个word会被分成多个toekns的情况

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

3 participants