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

City or Country built-in parsers don't recognized #48

Open
arcontechnologies opened this issue Jun 14, 2022 · 0 comments
Open

City or Country built-in parsers don't recognized #48

arcontechnologies opened this issue Jun 14, 2022 · 0 comments

Comments

@arcontechnologies
Copy link

Dear,

I'm new to this module and I saw in the doc all builtin parsers but some of them didn't work for me. In my example city or country is not recognized as such, Any insight ?

from snips_nlu_parsers import BuiltinEntityParser import json parser = BuiltinEntityParser.build(language="en") parsing = parser.parse("tomorrow I'll plan to visit Paris in France") print(json.dumps(parsing, indent=2))

the output is :

[ { "value": "tomorrow", "range": { "start": 0, "end": 8 }, "entity": { "kind": "InstantTime", "value": "2022-06-15 00:00:00 +02:00", "grain": "Day", "precision": "Exact" }, "alternatives": [], "entity_kind": "snips/date" } ]

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