MycroftAI / adapt

Adapt Intent Parser
Apache License 2.0
712 stars 154 forks source link

Context manager question. #64

Closed jumper047 closed 7 years ago

jumper047 commented 7 years ago

DISCLAIMER First of all, i am very bad in programming, so sorry, if my question is stupid. Just close and forget.

I have an issue with context manager: i have an intent of a timer, with minute/second entities. So, when engine matches this intent and frames from previous match are still in context manager, he gets, for example, seconds from current phrase, and minutes from previous. So, is there an easy way to "blacklist" some entities?

clusterfudge commented 7 years ago

For a bit more context, can you tell me if you're using the context manager in your own code, or if this is within mycroft-core? If the former, can you share a gist?

jumper047 commented 7 years ago

I use it in my own voice assistant. Gist is here.

jumper047 commented 7 years ago

Oh, i understand how i can do what i want. So, my issue not an issue anymore:)