Home > Class Reference > ENSLIB namespace > %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


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


method ToString() as %String [ Language = objectscript ]
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

FeedbackOpens in a new window