TrainingFileFilter Class
- java.
lang. Object - com.
azure. ai. formrecognizer. training. models. TrainingFileFilter
- com.
public final class TrainingFileFilter
The TrainingFileFilter model.
Constructor Summary
Constructor | Description |
---|---|
TrainingFileFilter() |
Create a Training |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
getPrefix()
Get the case-sensitive prefix string to filter documents in the source path for training. |
Boolean |
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. |
Training |
setPrefix(String prefix)
Set the case-sensitive prefix string to filter documents in the source path for training. |
Training |
setSubfoldersIncluded(boolean includeSubfolders)
Set the include |
Methods inherited from java.lang.Object
Constructor Details
TrainingFileFilter
public TrainingFileFilter()
Create a TrainingFileFilter instance.
Method Details
getPrefix
public String getPrefix()
Get the case-sensitive prefix string to filter documents in the source path for training.
Returns:
isSubfoldersIncluded
public Boolean 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:
setPrefix
public TrainingFileFilter setPrefix(String prefix)
Set the case-sensitive prefix string to filter documents in the source path for training.
Parameters:
Returns:
setSubfoldersIncluded
public TrainingFileFilter setSubfoldersIncluded(boolean includeSubfolders)
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:
Returns:
Applies to
Azure SDK for Java
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk