duckling/Duckling/Ordinal
Sebastian Mika b00e5faeac Fix DE numerical ordinal matching
Summary:
The numerical ordinal matching rule in DE is too broad. An ordinal like "1." may not be proceeded or followed by numbers.

* Added negative lookbehind - avoids matching the first "1." in "1.1" as an ordinal.
* Added negative lookahead - avoids matching the second "1." in "1.1. as an ordinal
Closes https://github.com/facebookincubator/duckling/pull/18

Reviewed By: patapizza

Differential Revision: D5069200

Pulled By: niteria

fbshipit-source-id: 0583076
2017-05-16 09:49:21 -07:00
..
AR Move tests to tests and exes to exe 2017-03-27 16:04:24 -07:00
DA Move tests to tests and exes to exe 2017-03-27 16:04:24 -07:00
DE Fix DE numerical ordinal matching 2017-05-16 09:49:21 -07:00
EN Move tests to tests and exes to exe 2017-03-27 16:04:24 -07:00
ES Initial commit 2017-03-08 10:33:56 -08:00
ET Move tests to tests and exes to exe 2017-03-27 16:04:24 -07:00
FR using hashmap lookups 2017-04-05 12:20:10 -07:00
GA Move tests to tests and exes to exe 2017-03-27 16:04:24 -07:00
HE Ordinal 2017-04-24 06:49:40 -07:00
HR Ordinal 2017-04-26 09:19:27 -07:00
ID Move tests to tests and exes to exe 2017-03-27 16:04:24 -07:00
IT Move tests to tests and exes to exe 2017-03-27 16:04:24 -07:00
JA Move tests to tests and exes to exe 2017-03-27 16:04:24 -07:00
KO Move tests to tests and exes to exe 2017-03-27 16:04:24 -07:00
NB Move tests to tests and exes to exe 2017-03-27 16:04:24 -07:00
NL Move tests to tests and exes to exe 2017-03-27 16:04:24 -07:00
PL Move tests to tests and exes to exe 2017-03-27 16:04:24 -07:00
PT Move tests to tests and exes to exe 2017-03-27 16:04:24 -07:00
RO Move tests to tests and exes to exe 2017-03-27 16:04:24 -07:00
RU Move tests to tests and exes to exe 2017-03-27 16:04:24 -07:00
SV Move tests to tests and exes to exe 2017-03-27 16:04:24 -07:00
TR Move tests to tests and exes to exe 2017-03-27 16:04:24 -07:00
UK Move tests to tests and exes to exe 2017-03-27 16:04:24 -07:00
VI VI: Ordinal 2017-04-28 08:04:21 -07:00
ZH Move tests to tests and exes to exe 2017-03-27 16:04:24 -07:00
Helpers.hs Initial commit 2017-03-08 10:33:56 -08:00
Types.hs Initial commit 2017-03-08 10:33:56 -08:00