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: How to identify a sentence in UIMA ruta ?
Date Wed, 14 Jun 2017 09:00:40 GMT

you are welcome to ask such questions here.

I'd recommend using two rules here:

ChinesePunc #{-> MARK(MySentence)} ChinesePunc;

#{-> MARK(MySentence)} ChinesePunc;

The second rule simply matches from the beginning until the first
occurrence of ChinesePunc.

You can do that also with one single rule, but the runtime performance
overhead of these two rules should be minimal.



Am 14.06.2017 um 09:50 schrieb Anhua Xu:
> Hi, Everyone
> I'm not if such question should be asked in this mailing list. My question is like this:
> I learnt to identify a sentence in uima ruta like this:
> ChinesePunc #{-> MARK(MySentence)} ChinesePunc;
> But it seems that It cannot identify the first sentence in a paragraph.  how to do this
in uima ruta ?
> thanks 
> Anhua

View raw message