Dealing with verb tenses in LUIS
I have a LUIS app with some intents and I noticed that if i do not provide a certain intent with all tenses of a verb in the example utterances, it will not recognize a user utterance with a different tense.
For example if I have an intent called "upgrade service" which includes example utterances such as "I want to upgrade my service" and "i'm calling about upgrading my service", it will not recognize the user utterance: "i want my service upgraded" that well because the tense "upgraded" does not appear in the example utterances. If I add the example utterance "service upgraded" everything will work fine.
My question is: why do I have to provide the intent with example utterances of every possible combination of a verb tense, why can't you just give a single example utterance with a certain tense and LUIS takes care of the tense variations by itself? Isn't it a basic practice in language understanding to stem utterances before recognition to remove the tense and normalize the sentence? I saw the same behavior with plurals (if the intent only has the word "service" in the example utterances and sees the word "services" in the user utterance it will not recognize it).
Is there a way within LUIS to solve this in an elegant way (without duplicating utterances with every possible combination)? maybe phrase lists?
add a comment |
I have a LUIS app with some intents and I noticed that if i do not provide a certain intent with all tenses of a verb in the example utterances, it will not recognize a user utterance with a different tense.
For example if I have an intent called "upgrade service" which includes example utterances such as "I want to upgrade my service" and "i'm calling about upgrading my service", it will not recognize the user utterance: "i want my service upgraded" that well because the tense "upgraded" does not appear in the example utterances. If I add the example utterance "service upgraded" everything will work fine.
My question is: why do I have to provide the intent with example utterances of every possible combination of a verb tense, why can't you just give a single example utterance with a certain tense and LUIS takes care of the tense variations by itself? Isn't it a basic practice in language understanding to stem utterances before recognition to remove the tense and normalize the sentence? I saw the same behavior with plurals (if the intent only has the word "service" in the example utterances and sees the word "services" in the user utterance it will not recognize it).
Is there a way within LUIS to solve this in an elegant way (without duplicating utterances with every possible combination)? maybe phrase lists?
LUIS certainly has the ability to recognize utterances that use different tenses. However, it learns primarily based on what you train it to recognize. It is always recommended you provide more examples, not less, so it can fully anticipate what a user may say. Without fully training your app confidence scores may be less stable than you would prefer as the app is left to guess. This, in turn, may affect overall results. Testing will answer this, but providing some examples of different tenses may be enough and save you from entering a host of them. But, I would recommend being thorough.
– Steven Kanberg
2 days ago
add a comment |
I have a LUIS app with some intents and I noticed that if i do not provide a certain intent with all tenses of a verb in the example utterances, it will not recognize a user utterance with a different tense.
For example if I have an intent called "upgrade service" which includes example utterances such as "I want to upgrade my service" and "i'm calling about upgrading my service", it will not recognize the user utterance: "i want my service upgraded" that well because the tense "upgraded" does not appear in the example utterances. If I add the example utterance "service upgraded" everything will work fine.
My question is: why do I have to provide the intent with example utterances of every possible combination of a verb tense, why can't you just give a single example utterance with a certain tense and LUIS takes care of the tense variations by itself? Isn't it a basic practice in language understanding to stem utterances before recognition to remove the tense and normalize the sentence? I saw the same behavior with plurals (if the intent only has the word "service" in the example utterances and sees the word "services" in the user utterance it will not recognize it).
Is there a way within LUIS to solve this in an elegant way (without duplicating utterances with every possible combination)? maybe phrase lists?
I have a LUIS app with some intents and I noticed that if i do not provide a certain intent with all tenses of a verb in the example utterances, it will not recognize a user utterance with a different tense.
For example if I have an intent called "upgrade service" which includes example utterances such as "I want to upgrade my service" and "i'm calling about upgrading my service", it will not recognize the user utterance: "i want my service upgraded" that well because the tense "upgraded" does not appear in the example utterances. If I add the example utterance "service upgraded" everything will work fine.
My question is: why do I have to provide the intent with example utterances of every possible combination of a verb tense, why can't you just give a single example utterance with a certain tense and LUIS takes care of the tense variations by itself? Isn't it a basic practice in language understanding to stem utterances before recognition to remove the tense and normalize the sentence? I saw the same behavior with plurals (if the intent only has the word "service" in the example utterances and sees the word "services" in the user utterance it will not recognize it).
Is there a way within LUIS to solve this in an elegant way (without duplicating utterances with every possible combination)? maybe phrase lists?
edited Dec 27 at 13:26
asked Dec 27 at 13:20
shishio
112
112
LUIS certainly has the ability to recognize utterances that use different tenses. However, it learns primarily based on what you train it to recognize. It is always recommended you provide more examples, not less, so it can fully anticipate what a user may say. Without fully training your app confidence scores may be less stable than you would prefer as the app is left to guess. This, in turn, may affect overall results. Testing will answer this, but providing some examples of different tenses may be enough and save you from entering a host of them. But, I would recommend being thorough.
– Steven Kanberg
2 days ago
add a comment |
LUIS certainly has the ability to recognize utterances that use different tenses. However, it learns primarily based on what you train it to recognize. It is always recommended you provide more examples, not less, so it can fully anticipate what a user may say. Without fully training your app confidence scores may be less stable than you would prefer as the app is left to guess. This, in turn, may affect overall results. Testing will answer this, but providing some examples of different tenses may be enough and save you from entering a host of them. But, I would recommend being thorough.
– Steven Kanberg
2 days ago
LUIS certainly has the ability to recognize utterances that use different tenses. However, it learns primarily based on what you train it to recognize. It is always recommended you provide more examples, not less, so it can fully anticipate what a user may say. Without fully training your app confidence scores may be less stable than you would prefer as the app is left to guess. This, in turn, may affect overall results. Testing will answer this, but providing some examples of different tenses may be enough and save you from entering a host of them. But, I would recommend being thorough.
– Steven Kanberg
2 days ago
LUIS certainly has the ability to recognize utterances that use different tenses. However, it learns primarily based on what you train it to recognize. It is always recommended you provide more examples, not less, so it can fully anticipate what a user may say. Without fully training your app confidence scores may be less stable than you would prefer as the app is left to guess. This, in turn, may affect overall results. Testing will answer this, but providing some examples of different tenses may be enough and save you from entering a host of them. But, I would recommend being thorough.
– Steven Kanberg
2 days ago
add a comment |
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53945785%2fdealing-with-verb-tenses-in-luis%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53945785%2fdealing-with-verb-tenses-in-luis%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
LUIS certainly has the ability to recognize utterances that use different tenses. However, it learns primarily based on what you train it to recognize. It is always recommended you provide more examples, not less, so it can fully anticipate what a user may say. Without fully training your app confidence scores may be less stable than you would prefer as the app is left to guess. This, in turn, may affect overall results. Testing will answer this, but providing some examples of different tenses may be enough and save you from entering a host of them. But, I would recommend being thorough.
– Steven Kanberg
2 days ago