uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Klügl <peter.klu...@averbis.com>
Subject Re: Help - Text Extraction
Date Tue, 17 Jul 2018 07:47:29 GMT
Hi,


reasonable rules largely depend on the greater use case and on the
complexity of the context. You could start with something trivial like


DECLARE Keyword, Value;
"Name|DOB|Ref\\.Num" -> Keyword;
RETAINTYPE(BREAK);
Keyword COLON #{-> Value} BREAK;


Best,

Peter



Am 13.07.2018 um 17:12 schrieb Vijay Kumar Reddy:
> Hi,
>
> I am using Apache Ruta to extract the data from the email body. I have to
> apply the Ruta script on the email content to match the keyword and extract
> the values from that. Below is the sample email content,
>
> Name: TestName
> DOB: 20/10/1986
> Ref.Num: 123456
>
> I am looking for sample script which extracts the Name, DOB and Ref.Num
> values from the email content. Can someone help in this pls.

-- 
Peter Klügl
R&D Text Mining/Machine Learning

Averbis GmbH
Tennenbacher Str. 11
79106 Freiburg
Germany

Fon: +49 761 708 394 0
Fax: +49 761 708 394 10
Email: peter.kluegl@averbis.com
Web: https://averbis.com

Headquarters: Freiburg im Breisgau
Register Court: Amtsgericht Freiburg im Breisgau, HRB 701080
Managing Directors: Dr. med. Philipp Daumke, Dr. Kornél Markó


Mime
View raw message