fn
trigramProfile
v0.0.1testedExtracts trigrams from a text and returns a map of trigram to count
Signature
ts
export function trigramProfile(text: string): Trigrams{ ... }Parameters
| Parameter | Type | Description |
|---|---|---|
text | string | The text to extract trigrams |
Returns
TrigramsA map of trigram to count