public class StandardsText extends Object
This class helps to find the standard references from text by performing the following steps:
StandardOrganizations
);Constructor and Description |
---|
StandardsText() |
Modifier and Type | Method and Description |
---|---|
static ArrayList<StandardReference> |
extractStandardReferences(String text,
double threshold)
Extracts the standard references found within the given text.
|
public static ArrayList<StandardReference> extractStandardReferences(String text, double threshold)
text
- the text from which the standard references are extracted.threshold
- the lower bound limit to be used in order to select only the
standard references with score greater than or equal to the
threshold. For instance, using a threshold of 0.75 means that
only the patterns with score greater than or equal to 0.75
will be returned.Copyright © 2007–2023 The Apache Software Foundation. All rights reserved.