Class TrainingFileFilter
java.lang.Object
com.azure.ai.formrecognizer.training.models.TrainingFileFilter
The TrainingFileFilter model.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the case-sensitive prefix string to filter documents in the source path for training.Get the flag to indicate if sub folders within the set of prefix folders will also need to be included when searching for content to be preprocessed.Set the case-sensitive prefix string to filter documents in the source path for training.setSubfoldersIncluded
(boolean includeSubfolders) Set the includeSubfolders flag to indicate if sub folders are also to be included when searching for content to be preprocessed.
-
Constructor Details
-
TrainingFileFilter
public TrainingFileFilter()
-
-
Method Details
-
getPrefix
Get the case-sensitive prefix string to filter documents in the source path for training.- Returns:
- the case-sensitive prefix string to filter documents for training.
-
setPrefix
Set the case-sensitive prefix string to filter documents in the source path for training.- Parameters:
prefix
- the prefix value to set.- Returns:
- the TrainingFileFilter object itself.
-
isSubfoldersIncluded
Get the flag to indicate if sub folders within the set of prefix folders will also need to be included when searching for content to be preprocessed. Not supported if training with labels.- Returns:
- the includeSubfolders value.
-
setSubfoldersIncluded
Set the includeSubfolders flag to indicate if sub folders are also to be included when searching for content to be preprocessed. Not supported if training with labels.- Parameters:
includeSubfolders
- the includeSubfolders value to set.- Returns:
- the TrainingFileFilter object itself.
-