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

[BUG]地址解析有误 #230

Open
tendrillion opened this issue Aug 19, 2024 · 2 comments
Open

[BUG]地址解析有误 #230

tendrillion opened this issue Aug 19, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@tendrillion
Copy link

提问题时,请尊重我!把必要的信息,什么环境,输入具体什么文本,运行什么函数讲清楚!
不要甩一句话,说的不清不楚,我无从定位,浪费时间。这样的提单我将直接close。

描述(Description)

描述你遇到了什么问题(Please describe your issue here)

  1. 版本(Version):
    python 版本: 3.10
    jionlp 版本: 1.5.15

  2. jionlp的调用代码与输入文本(Code & Text):
    import jionlp as jio
    res =jio.parse_location("朝阳",town_village=False)
    print(res)

期望结果:{ 'province': '辽宁省', 'city': '朝阳市'}
实际结果:{ 'province': None, 'city': None}

@tendrillion tendrillion added the bug Something isn't working label Aug 19, 2024
@tendrillion tendrillion reopened this Sep 11, 2024
@tendrillion
Copy link
Author

在china_location.txt文件中,朝阳是存在的,并且就是指向朝阳市的,不知道为什么没有匹配上?

@Yellow-BringtEast
Copy link
Contributor

因为朝阳还可能是北京市朝阳区,在没有更过其他信息的情况下,没法推断到底是哪个

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants