Hi Tharindu,

Probably you would need to use a custom type for Currencies' Text Annotations. I think that a good ideas is to check the code of another engine, for example OpenNLP NER Extraction Engine (https://stanbol.apache.org/docs/trunk/components/enhancer/engines/opennlpcustomner) and check how that engine creates TextAnnotations and how they assign named entities' types. Following this example, the type mappings could be also configurable for the engine.

Hope that helps Thar,

Cheers,
Rafa

El 13/02/14 13:42, Tharindu Rusira escribió:
Hi Antonio, thanks for your reply.

I have been studying the enhancement architecture for a while now. So in
summary, what we will be doing is adding more data to the ContentItem's
MGraph indicating where we found currency related information in the
content. Am I right?




On Thu, Feb 13, 2014 at 1:34 PM, Antonio David Perez Morales <
ape...@zaizi.com> wrote:

Hi Tharindu.

What do you mean?
The idea is that you can extract the currencies contained in the text and
they are added to the Enhancements graph as text annotations.
This way, the client sending a text can obtain the currencies in the text
and the their positions inside the text.

If you need some info about how to write a new enhancement engine I can
give you some hints.

Regards


On Thu, Feb 13, 2014 at 3:47 AM, Tharindu Rusira
<tharindurus...@gmail.com>wrote:

Hi everyone,
I'm quite new to Stanbol and interested in Stanbol enhancement engines.
In
a previous mail[1] in the mailing list, I saw there is a requirement for
a
currency related data extraction engine. I am planning to proceed with an
implementation of this idea.
Can anybody please give me a simple example how this enhancement engine
would run on a sample text ?

[1]


http://mail-archives.apache.org/mod_mbox/stanbol-dev/201311.mbox/%3CCAA7LAO0ekW8bvBVd-=r879g-upcgqhbzny9j5uvvglocj94...@mail.gmail.com%3E
Thanks,
-Tharindu
--
M.P. Tharindu Rusira Kumara

Department of Computer Science and Engineering,
University of Moratuwa,
Sri Lanka.
+94757033733
www.tharindu-rusira.blogspot.com

--

------------------------------
This message should be regarded as confidential. If you have received this
email in error please notify the sender and destroy it immediately.
Statements of intent shall only become binding when confirmed in hard copy
by an authorised signatory.

Zaizi Ltd is registered in England and Wales with the registration number
6440931. The Registered Office is Brook House, 229 Shepherds Bush Road,
London W6 7AN.




Reply via email to