Commit 5a9dfb1f authored by Alexandre Delanoë's avatar Alexandre Delanoë

[FIX] Import List if label is in forms already

parent 38e7b0b4
...@@ -266,7 +266,7 @@ parseCsvData lst = Map.fromList $ conv <$> lst ...@@ -266,7 +266,7 @@ parseCsvData lst = Map.fromList $ conv <$> lst
, _nre_children = MSet , _nre_children = MSet
$ Map.fromList $ Map.fromList
$ map (\form -> (NgramsTerm form, ())) $ map (\form -> (NgramsTerm form, ()))
$ filter (/= "") $ filter (\w -> w /= "" && w /= label)
$ splitOn "|&|" forms $ splitOn "|&|" forms
} }
) )
......
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