LR-POR / cl-conllu

tool for working with conllu files in CL
Apache License 2.0
13 stars 5 forks source link

Adding option to sentence->text to ignore mtokens. #37

Closed GPPassos closed 7 years ago

GPPassos commented 7 years ago

Small utility modification in order to help finding names in sentences.

arademaker commented 7 years ago

@GPPassos note that can be easier to split the names into tokens than compare the names as strings with sentences as strings. In particular

(position "ab"  "xxxxabyyy")
(position (list #\a #\b)  (list #\x #\x #\a #\b #\x #\x)

both works.