phrase
phrase copied to clipboard
Add start and end indexes for detected phrases
Many times its difficult to highlight in the text where a phrase has occurred, for multiple reasons:
- A phrase can occur multiple times
- A returned phrase can be the normalized version
The /analyze API should return a list of spans that match each phrase.