Interface TemplatingClassifier

  • All Superinterfaces:
    android.os.Parcelable

    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

        CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
    • Method Detail

      • classify

        @WorkerThread
        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.
        Parameters:
        currentTemplatingClass - TemplatingClass that is currently being evaluated
        Returns:
        true if document belongs to this TemplatingClass, false otherwise