operators.candidates.extractor.USCurrencySpanFeaturizer
- class operators.candidates.extractor.USCurrencySpanFeaturizer(field, col_suffix=None)
Extracts spans (slices of documents) that contain US currency (using regex)
- Parameters:
field (
str
) – The dataframe column to extract currency amount spans fromcol_suffix (
Optional
[str
], default:None
) – An optional suffix for the column containing the extracted spans