Skip to main content

%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()
property MinSentenceCount as %Integer;
Property methods: MinSentenceCountDisplayToLogical(), MinSentenceCountGet(), MinSentenceCountIsValid(), MinSentenceCountLogicalToDisplay(), MinSentenceCountNormalize()

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

FeedbackOpens in a new tab