You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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))
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" } ]
The text was updated successfully, but these errors were encountered: