Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

Minor adjustments on instant answers triggers and normalization #208

Merged
merged 2 commits into from
Mar 2, 2021

Conversation

amatissart
Copy link
Contributor

@amatissart amatissart commented Mar 1, 2021

After internal feedbacks and observations of my own.

remi-dupre
remi-dupre previously approved these changes Mar 2, 2021
@@ -23,3 +23,4 @@ lieu dit
localisation
o(ù|u) (se|ce) (trouve|situe)( (le|la))?
where is
booking$
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did we choose to match only at the end of the string?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To reduce the risk of false positives, when the keyword may be helpful to recognize and classify other types of intention.
When associated to a hotel name, "booking" appears almost always at the end of the query (statistically).

@amatissart amatissart merged commit d1717f0 into master Mar 2, 2021
@amatissart amatissart deleted the ia-patterns-booking branch April 29, 2021 09:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants