This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.

For information on migrating to InterSystems IRIS, see Why Migrate to InterSystems IRIS?

%iKnow.Filters.SentenceCountFilter

class %iKnow.Filters.SentenceCountFilter extends %iKnow.Filters.Filter

Sample filter implementation restricting sources on their sentence count.

Filter parameters:

  1. domainId As %Integer
  2. minSentenceCount As %Integer - minimum sentence count (use -1 for no lower limit)
  3. maxSentenceCount As %Integer - maximum sentence count (use -1 for no upper limit)

Property Inventory

Method Inventory

Properties

property MaxSentenceCount as %Integer;
Property methods: MaxSentenceCountDisplayToLogical(), MaxSentenceCountGet(), MaxSentenceCountIsValid(), MaxSentenceCountLogicalToDisplay(), MaxSentenceCountNormalize(), MaxSentenceCountSet()
property MinSentenceCount as %Integer;
Property methods: MinSentenceCountDisplayToLogical(), MinSentenceCountGet(), MinSentenceCountIsValid(), MinSentenceCountLogicalToDisplay(), MinSentenceCountNormalize(), MinSentenceCountSet()

Methods

method ToString() as %String
Inherited description:

Subclasses should implement this method to build a string representation of the filter instance. It should start with the filter class name, followed by a pipe (|) character and then a string representation that can be interpreted by its RestoreFilterFromStringInternal() implementation.

Inherited Members

Inherited Properties

Inherited Methods

Feedback