compass.extraction.ngrams#
Ordinance ngram text validation
This check helps validate that the LLM extracted text from the original document and did not make it up itself.
Functions
|
Convert input text to a list of ngrams |
|
Fraction of sentence ngrams from the text found in the original |