[Node Documents] Frontend enhancement - highlight terms side-by-side with other terms
in Document nodes: word highlighting works almost everywhere, except on compound words or words 'stuck' to other words or characters.
Typical cases [preparing the Gitlab issue]:
Characters:
- quotation mark:
- ' --> l' or d' or n' or m' or qu' and so on.
- "
- «
- »
- hyphen, underscore:
- -
- _
- —
- pipe, slashes:
- |
- /
- \
- brackets, suare brackets:
- (
- )
- [
- ]
- dots:
- .
- ...
- and others:
- @
- #
- ∼
- =
- +
- *
- ,
Sample for easier reproduction (case describe above):
- JSON Documents: GarganText_DocsList-nodeId-187318__1_.json
- JSON Terms: GarganText_NgramsList-187319.json
Screenshot
In this manually created document, the yellow terms should be highlighted (I manually highlighted some of them, but there are more numerous):