Email Extractor¶
-
class
etk.extractors.email_extractor.
EmailExtractor
(nlp, tokenizer, extractor_name: str)[source]¶ Bases:
etk.extractor.Extractor
- Description
- This class uses spaCy Matcher and takes spaCy predefined ‘LIKE_EMAIL’ pattern to extract email address. More information: https://spacy.io/api/matcher#add
Examples
email_extractor = EmailExtractor(...) email_extractor.extract(text=input_doc,...)