qwaider / heideltime

Automatically exported from code.google.com/p/heideltime
0 stars 0 forks source link

POS matching #22

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It should be possible to use a regex to specify a POS_CONSTRAINT.

The POS tagger I am using provides morphological information, hence to detect a 
plural (either Smp or Sfp), I need to use S.p

It is enough to change checkPosConstraint to use:

     if (pos_as_is.matches(pos))

Thanks.

Original issue reported on code.google.com by atta...@gmail.com on 20 Oct 2014 at 11:26

GoogleCodeExporter commented 9 years ago
Neat idea, added in rdc4d996e00e5.

Original comment by z...@informatik.uni-heidelberg.de on 20 Oct 2014 at 6:24

GoogleCodeExporter commented 9 years ago

Original comment by z...@informatik.uni-heidelberg.de on 8 Dec 2014 at 2:21