Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
    • Contribute to GitLab
  • Sign in
haskell-gargantext
haskell-gargantext
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 163
    • Issues 163
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 9
    • Merge Requests 9
  • 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
  • haskell-gargantexthaskell-gargantext
  • Issues
  • #471

Closed
Open
Opened May 20, 2025 by Fabien Maniere@fmaniere
  • Report abuse
  • New issue
Report abuse New issue

[Node Terms] On multiple Map terms, if the first term is already a map term, the count of the multiple map term is to zero

Summary

On multi-word map terms, if the first term is already a map term, the count of the multi-word map term is at zero.

Steps to reproduce

  • Have any corpus regardless of size
  • Have at least one map term
  • Already have an occurrence count on the map term
  • In docs node, select a multi-word term with the first word being an already present map term
  • Reload docs node then term node

What is the current bug behavior?

The multi-word term has an occurrence set to 0.

There is a way to work around this bug by following the steps described below :

  • Search the first word of the multi-word map term
  • Change the category of this word (it can be either stop or candidate category)
  • Reload docs and terms (at this point, the occurrences of both the word and multi-word term are set correctly)
  • Put the word back to map
  • Reload docs and terms

If the terms file is exported and then imported elsewhere before doing these steps, the occurrence of the multi-word term is 0, but if it is done after all these steps, the occurrence is correctly set.

What is the expected correct behavior?

The multi-word term should have an occurrence different from 0.

Relevant logs and/or screenshots

GarganText_NgramsList-188929.json

GarganText_DocsList-nodeId-188928.json.zip

Possible fixes

Edited May 28, 2025 by Marie FU
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
0
Labels
None
Assign labels
  • View project labels
Reference: gargantext/haskell-gargantext#471