class EnsLib.InteropTools.HL7.MessageAnalyzer.Lines.NGrams

Basic NGram determination, used by the CompressNGrams wrapper class

Method Inventory


classmethod FindNGrams(pItemList As %List, ByRef pNGrams)
Given a list of names note any ngrams as pNGrams(NGRAMLIST)="" where NGRAMLIST is a string of comma-separated names
classmethod ListFromStringWithRepeats(pString As %String) as %List
Like $ListFromString but takes account of {...} where the '...' includes commas
classmethod RemoveCompoundNGrams(ByRef pNGrams)
Remove (from pNGrams) any ngrams which are contained in larger ngrams