Commit 74ee77a3 authored by Alexandre Delanoë's avatar Alexandre Delanoë

[GRAPH][COOC] Database mainly.

parent 71378e8e
......@@ -121,6 +121,7 @@ coocOn' fun ts = DMS.fromListWith (+) xs
, x >= y
]
------------------------------------------------------------------------
coocOnContexts :: (a -> [Text]) -> [[a]] -> Map ([Text], [Text]) Int
......
......@@ -59,8 +59,8 @@ $(deriveJSON (unPrefix "") ''Attributes)
instance ToSchema Attributes
data Node = Node { node_size :: Int
, node_type :: TypeNode
, node_id :: Text
, node_type :: TypeNode -- TODO NgramsType | Person
, node_id :: Text -- TODO NgramId
, node_label :: Text
, node_attributes :: Attributes
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment