Interface TemplatingClassifier

  • All Superinterfaces:

    public interface TemplatingClassifier
    extends android.os.Parcelable
    Classifier that should return true if document belongs to given TemplatingClass.
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface android.os.Parcelable

        android.os.Parcelable.ClassLoaderCreator<T extends java.lang.Object>, android.os.Parcelable.Creator<T extends java.lang.Object>
    • Field Summary

      • Fields inherited from interface android.os.Parcelable

    • Method Detail

      • classify

        boolean classify​(@NonNull
                         TemplatingClass currentTemplatingClass)
        This method is invoked while evaluating specific TemplatingClass. First, all processors within classification processor groups are executed. Then this method is invoked to determine whether non-classification processor groups should also be executed. If this method returns false, then non-classification processor groups will not be executed and evaluation will continue to next TemplatingClass within TemplatingRecognizer.
        currentTemplatingClass - TemplatingClass that is currently being evaluated
        true if document belongs to this TemplatingClass, false otherwise