Class ArabicNumbersListLabelsDetectionAlgorithm
java.lang.Object
org.verapdf.wcag.algorithms.semanticalgorithms.utils.listLabelsDetection.ListLabelsDetectionAlgorithm
org.verapdf.wcag.algorithms.semanticalgorithms.utils.listLabelsDetection.ArabicNumbersListLabelsDetectionAlgorithm
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic IntegergetIntegerFromString(String string) getItemsIntervals(List<ListItemTextInfo> itemsInfo) protected IntegergetNumberFromString(String string) protected StringgetRegex()protected StringgetStringFromNumber(Integer number) booleanisListLabels(List<String> labels, int commonStartLength, int commonEndLength) Methods inherited from class org.verapdf.wcag.algorithms.semanticalgorithms.utils.listLabelsDetection.ListLabelsDetectionAlgorithm
checkPrefixAndSuffix, getCommonStartLength, getNotRegexEndLength, getNotRegexStartLength, getRegexStartLength, getRegexStartLength
-
Field Details
-
ARABIC_NUMBER_REGEX
- See Also:
-
DOUBLE_REGEX
- See Also:
-
-
Constructor Details
-
ArabicNumbersListLabelsDetectionAlgorithm
public ArabicNumbersListLabelsDetectionAlgorithm()
-
-
Method Details
-
isListLabels
- Specified by:
isListLabelsin classListLabelsDetectionAlgorithm
-
getItemsIntervals
- Specified by:
getItemsIntervalsin classListLabelsDetectionAlgorithm
-
getRegex
- Specified by:
getRegexin classListLabelsDetectionAlgorithm
-
getStringFromNumber
- Specified by:
getStringFromNumberin classListLabelsDetectionAlgorithm
-
getNumberFromString
- Specified by:
getNumberFromStringin classListLabelsDetectionAlgorithm
-
getIntegerFromString
-