duckling/Duckling
Julien Odent 004995b595 Don't allow matches in the middle of words
Summary:
We don't allow matches adjacent to a character of the same class.
We were treating uppercase and lowercase characters differently.
"jon Friday" wouldn't match "on" but "Jon Friday" would.

Reviewed By: blandinw

Differential Revision: D5653681

fbshipit-source-id: be67358
2017-08-17 15:49:26 -07:00
..
AmountOfMoney Added AmountOfMoney dimension to Bulgarian language 2017-08-14 09:34:36 -07:00
Dimensions Added HU Ordinals 2017-08-16 11:19:24 -07:00
Distance Comma as decimal mark for Numeral TR 2017-05-24 09:04:17 -07:00
Duration Refactor rule 'number.number hours' 2017-06-06 09:34:22 -07:00
Email Move tests to tests and exes to exe 2017-03-27 16:04:24 -07:00
Engine Make matching anywhere vs at pos obvious 2017-04-28 09:19:20 -07:00
Numeral HU Setup + Numeral 2017-08-09 17:49:56 -07:00
Ordinal Added HU Ordinals 2017-08-16 11:19:24 -07:00
PhoneNumber PT: Bring latest changes 2017-04-28 08:04:22 -07:00
Quantity Quantity: add weight dimensions 2017-08-01 13:49:26 -07:00
Ranking Don't allow matches in the middle of words 2017-08-17 15:49:26 -07:00
Regex Initial commit 2017-03-08 10:33:56 -08:00
Rules Added HU Ordinals 2017-08-16 11:19:24 -07:00
Temperature Temperature for TR 2017-05-30 09:34:17 -07:00
Testing Expose fromZonedTime 2017-06-02 11:19:30 -07:00
Time Don't allow matches in the middle of words 2017-08-17 15:49:26 -07:00
TimeGrain Time: don't shift duration on <duration> before/after <time> (but now) 2017-07-26 11:49:44 -07:00
Types Don't allow matches in the middle of words 2017-08-17 15:49:26 -07:00
Url Revert Duckling part of 'clean up unused imports' 2017-04-24 07:34:27 -07:00
Volume Volume for TR 2017-06-02 12:49:20 -07:00
Api.hs change json response #12 2017-06-12 15:19:22 -07:00
Core.hs Expose fromZonedTime 2017-06-02 11:19:30 -07:00
Debug.hs VI: Time 2017-04-28 08:04:21 -07:00
Dimensions.hs HU Setup + Numeral 2017-08-09 17:49:56 -07:00
Engine.hs Make matching anywhere vs at pos obvious 2017-04-28 09:19:20 -07:00
Lang.hs HU Setup + Numeral 2017-08-09 17:49:56 -07:00
Resolve.hs Expose fromZonedTime 2017-06-02 11:19:30 -07:00
Rules.hs HU Setup + Numeral 2017-08-09 17:49:56 -07:00
Types.hs Added AmountOfMoney dimension to Bulgarian language 2017-08-14 09:34:36 -07:00