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 175
    • Issues 175
    • 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
  • #168

Closed
Open
Opened Jan 18, 2023 by delanoe@anoe
  • Report abuse
  • New issue
Report abuse New issue

Ngrams List Learning

To develop the Learning of Ngrams Lists, I used the history of changes of ngrams list but it seems it has been changed, since my function got empty results:

runCmdReplEasy $ getHistory History_User NgramsTerms [73920]

src/Gargantext/Core/Text/List/Social/History.hs

history' :: [NgramsType] -> [ListId] -> NodeStory s NgramsStatePatch' -> Map ListId (Map NgramsType [HashMap NgramsTerm NgramsPatch]) history' types lists = (Map.map (Map.unionsWith (<>))) . (Map.map (map (Map.filterWithKey (\k _ -> List.elem k types)))) . (Map.map (map toMap)) . (Map.map (view a_history)) . (Map.filterWithKey (\k _ -> List.elem k lists)) . (view unNodeStory)

view a_history result is empty always now where is such history now ?

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#168