Richard,

Thank you a lot. I was using:

    org.uimafit.factory.AnalysisEngineFactory

referenced by:

<dependency>
            <groupId>org.apache.ctakes</groupId>
            <artifactId>ctakes-ne-contexts</artifactId>
            <version>3.2.0</version>
        </dependency>





On Wed, Nov 5, 2014 at 2:46 PM, Richard Eckart de Castilho
<[email protected]> wrote:
> Hi,
>
> that would be
>
> import static org.apache.uima.fit.factory.AnalysisEngineFactory.createEngine;
> import static org.apache.uima.fit.pipeline.SimplePipeline.runPipeline;
>
> Cheers,
>
> -- Richard
>
> On 05.11.2014, at 17:25, Mansour Al Akeel <[email protected]> wrote:
>
>> I am trying to follow the documentation to understand how to use
>> uimafit to initialize ctakes component.
>>
>> From the docs: 
>> http://uima.apache.org/d/uimafit-2.1.0/tools.uimafit.book.html#d5e65
>>
>>
>> AnalysisEngine tokenizer = createEngine(MyTokenizer.class);
>>
>> AnalysisEngine tagger = createEngine(MyTagger.class);
>>
>> runPipeline(jCas, tokenizer, tagger);
>>
>> for(Token token : iterate(jCas, Token.class)){
>>    System.out.println(token.getTag());
>> }
>>
>>
>> What classes has the methods "createEngine" and "runPipeline"  in this 
>> context ?
>>
>> I am trying to integrate Named Entity Recognition using UMLS and use
>> it in java code.
>>
>> Any pointer is highly appreciated.
>>
>> Thank you.
>

Reply via email to