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

Does not segment 民不畏死 from the Tao Te Ching? #221

Open
lancejpollard opened this issue Apr 14, 2023 · 0 comments
Open

Does not segment 民不畏死 from the Tao Te Ching? #221

lancejpollard opened this issue Apr 14, 2023 · 0 comments

Comments

@lancejpollard
Copy link

lancejpollard commented Apr 14, 2023

I run this from Chapter 74 of the Tao Te Ching on Wikisource (just picking a random page with what seems like incorrectly parsed text):

nodejieba.cut('民不畏死')
[ '民不畏死' ]

When I go to Yabla, I get this parsing:

['民', '不畏', '死']

I assume Yabla is more correct.

How do I get it to be more like Yabla which is powered by cedict? Why isn't it able to parse many of the Tao Te Ching sentences into words? Or is the 4 symbol word really the single word? (I don't read Chinese so I don't know for sure).

It also doesn't parse these sequences as well (from other parts of the Tao Te Ching):

  • 疏而不漏
  • 知我者
  • 莫能知
  • 乃至于
  • etc.

Some of these could be the full words, but I doubt the Tao Te Ching has such large words, though I don't know, just checking.

Thank you for your help/clarification.

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