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

nlu_engine.parse() it takes too much time #894

Open
harrak2020 opened this issue Feb 5, 2021 · 0 comments
Open

nlu_engine.parse() it takes too much time #894

harrak2020 opened this issue Feb 5, 2021 · 0 comments
Labels

Comments

@harrak2020
Copy link

it does not matter if
interactively by running:
snips-nlu parse path/to/trained_engine
on the CMD
or by python script : nlu_engine.parse(text,intents=["intent1"])
time increases exponentially **
if you just add a slot in text**
for example:
text = "one two three four five six seven eight nine ten two three four five six"
15 slots ; takes 32.138450s.
text = "one two three four five six seven eight nine ten two three four five"
14 slots ; takes 14.838444s.
text = "one two three four five six seven eight nine ten two three four"
13 slots ; takes 7.012628s.
text = "one two three four five six seven eight nine ten two three"
12 slots ; takes 3.441175s.

"entity": "snips/number"

is there a solution to this problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant