MCPcopy Index your code
hub / github.com/clips/pattern / trigrams

Function trigrams

pattern/vector/__init__.py:291–292  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

289chngrams = character_ngrams
290
291def trigrams(*args, **kwargs):
292 kwargs["n"]=3; return character_ngrams(*args, **kwargs)
293
294#--- DOCUMENT --------------------------------------------------------------------------------------
295# A Document is a bag of words in which each word is a feature.

Callers

nothing calls this directly

Calls 1

character_ngramsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…