-
Grégoire Locqueville authored
`occurrencesWith` takes a function parameter to map over the input collection before counting occurrences. Every time it's called, though, it's with `identity`, so I replaced the function with a basic occurence counting function. Note that if one needs to apply a function to a collection before counting occurrences, they can simply `fmap` over the collection first.
a36d62b5
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
Corpus | ||
List | ||
Metrics | ||
Samples | ||
Terms | ||
Context.hs | ||
Corpus.hs | ||
Learn.hs | ||
List.hs | ||
Metrics.hs | ||
Ngrams.hs | ||
Prepare.hs | ||
Terms.hs |