Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
    • Contribute to GitLab
  • Sign in
P
purescript-gargantext
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 137
    • Issues 137
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 4
    • Merge Requests 4
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • gargantext
  • purescript-gargantext
  • Issues
  • #615

Closed
Open
Opened Nov 15, 2023 by Fabien Maniere@fmaniere
  • Report abuse
  • New issue
Report abuse New issue

[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]:

DEV instance: image

  • Here 2 types of "compound words": image

image

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):

image

Edited Nov 15, 2023 by Fabien Maniere
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
0
Labels
None
Assign labels
  • View project labels
Reference: gargantext/purescript-gargantext#615