baleen icon indicating copy to clipboard operation
baleen copied to clipboard

ExpandLocationToDescription is too greedy

Open chrisflatley opened this issue 7 years ago • 0 comments

The ExpandLocationToDescription annotator seems to eat a lot of text up. It can produce annotations which are basically the size of the document (if the location is the last word)

The regex has spaces it in I wonder if it's looking for 'of' on its own rather than 'part of'.

chrisflatley avatar Feb 16 '18 11:02 chrisflatley