-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
Mapping multi-word phrases to "value" #194
Labels
type:question 💬
Question around usage, examples
Comments
Value should be the text in the sentence whereas entity should be the type of the found sequence of words.
|
When I used this feature in wit I used to map all synonyms to a particular
value like "save images", "saving procedure", "saving images". I thought
that was the function of this feature.
…On 01-Mar-2017 23:13, "Tom Bocklisch" ***@***.***> wrote:
Value should be the text in the sentence whereas entity should be the type
of the found sequence of words.
value represents the text found in the sentence. Why would you not want
to receive the text from the sentence their?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#194 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ASxkkGn8eQKWUUh6LD556riqSiDwjesDks5rha5IgaJpZM4MP-SO>
.
|
Also your documentation does specify this ability of |
see #151 - this should work fine |
Yes, this is what I was looking for. Thank you. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I'm trying to map multiple word synonyms to a single value. For example,
{ "text": "how to save images?", "intent": "explain", "entities": [ { "start": 7, "end": 18, "value": "saveImages", "entity": "entityName" } ] },
The
entity
is detected correctly but thevalue
is not what I expect --{u'text': u'how to save images?', u'confidence': 0.8476407032279926, u'intent': u'explain', u'entities': [{u'start': 7, u'end': 18, u'value': u'save images', u'entity': u'entityName'}]}
Does rasa support this capability of mapping "save images" to a single
value
"saveImages"? (I have trained a lot of samples. About 10 samples for each different "value" in the entityentityName
but I still don't see any improvement).The text was updated successfully, but these errors were encountered: