Skip to content

Commit 25c4a4e

Browse files
authored
Merge pull request #196 from rosette-api/TEJ-1792-regex-currency-split-option
Add regexCurrencySplit option
2 parents 60e50aa + 6ec4565 commit 25c4a4e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

model/src/main/java/com/basistech/rosette/apimodel/EntitiesOptions.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,4 +100,11 @@ public class EntitiesOptions extends Options {
100100
* @return the structuredRegionProcessingType flag. Can be one of none, nerModel, nameClassifier
101101
*/
102102
String structuredRegionProcessingType;
103+
104+
/**
105+
* @return the regexCurrencySplit flag.
106+
* If enabled, will cause MONEY regular expression entity extractions to be split into two:
107+
* CURRENCY:AMT and CURRENCY:TYPE
108+
*/
109+
Boolean regexCurrencySplit;
103110
}

0 commit comments

Comments
 (0)