MCPcopy Create free account
hub / github.com/carrot2/carrot2 / flatten

Method flatten

core/src/main/java/org/carrot2/util/IntMapUtils.java:73–83  ·  view source on GitHub ↗

Converts an IntIntHashMap into a flat int [] array. Even indexes in the flat array represent keys and the corresponding odd indexes -- values. Note: the order of keys in the flat array is arbitrary.

(IntIntHashMap map)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

extractPhrasesMethod · 0.95
HtFunction · 0.80
GeFunction · 0.80

Calls 1

sizeMethod · 0.65

Tested by

no test coverage detected