Recognizing email fields without using regular expressions
We have a tokenizer which tokenizes a text file .The logic followed is
quite weird but necessary in our context.
An email such as xyz.zyx@gmail.com
will result in the following tokens : xyz . zyx @ gmail
I would like to know how can we recognize the field as email if we are
allowed to use only these tokens. No regex is allowed. We are allowed only
to use the tokens and their surrounding tokens to figure out if the field
is an email field
No comments:
Post a Comment