Detect full mail addresses with core ml in texts

Hi, I have an application which has to use core ml for text recognition. It works well for words but I also want to get full mail addresses from a text like: "My mail address is tom.riddle(AT)eval.com". The problem is that with NL Tagger I get every word like (is, tom, riddle, eval, com) as single words tagged with "mail". But I want to get the whole mailaddress as one word. How can I do this?

Thanks. If this is a duplicate question, I apologise me but I couldn't have found an answer.

May be CoreML is not what you need ? refer are more suitable for this.

What do you mean with refer? I can use regex search but this is not I (and perhaps my professor) want.

Detect full mail addresses with core ml in texts
 
 
Q