yohasebe / engtagger

English Part-of-Speech Tagger Library; a Ruby port of Lingua::EN::Tagger
GNU General Public License v2.0
263 stars 48 forks source link

Fixed bug with shifting semicolon from followed word or number #14

Closed StraDIVar closed 2 years ago

StraDIVar commented 6 years ago

This PR fixes the issue when semicolon didn't shifted from following word or number, e.g.: "12:34 pm" was converted to "<cd>12</cd> <cd>:34</cd> <nn>pm</nn>", now it's converted to "<cd>12</cd> <pps>:</pps> <cd>34</cd> <nn>pm</nn>"