Hi Alden,

You can start with the default implementation of the pipeline and
experiment as per your requirement. The AggregateBuilder adds components
like part of speech tagger and sentence detector etc. that you'll need.
There is a useful component diagram given here:

https://cwiki.apache.org/confluence/display/CTAKES/cTAKES+4.0+Component+Use+Guide

The following entry in Pipeline.java gives the location of the xml file
where you can change the username and password and provide the url of the
hsql database which contains the dictionary:


 builder.add( AnalysisEngineFactory.createEngineDescription(
DefaultJCasTermAnnotator.class,

              AbstractJCasTermAnnotator.PARAM_WINDOW_ANNOT_KEY,

              "org.apache.ctakes.typesystem.type.textspan.Sentence",

              JCasTermAnnotator.DICTIONARY_DESCRIPTOR_KEY,

      "org/apache/ctakes/dictionary/lookup/fast/snomedct_2016.xml")

      );


This should be present in the resources folder.

thanks
Nishant



On Wed, Aug 23, 2017 at 2:14 PM, Alden Gordon <[email protected]> wrote:

> Thanks a lot Liam and Nishant,
>
> For the healthnlp example, if I want to use the fast pipeline should I be
> commenting out all of the other builder.add statements? Additionally, how
> do I set -Dctakes.umlsuser and -Dctakes.umlspw for the server to use?
>
> I realize these are basic questions for most of you (apologies), which is
> why we're interested in hiring someone to walk through it with us.
>
> Thanks,
> Alden
>
> On Wed, Aug 23, 2017 at 1:54 PM, nishant kumar <[email protected]>
> wrote:
>
>> Hi Alden,
>>
>> You can look at the code from the ctakes-temporal-demo here:
>> https://github.com/healthnlp/examples
>>
>> This codebase is meant to be hosted on a web server but you can easily
>> switch off the features and also use it as a desktop application.
>>
>> Hope it helps.
>>
>> Thanks
>> Nishant
>>
>> On Wed, Aug 23, 2017 at 1:38 PM, Alden Gordon <[email protected]>
>> wrote:
>>
>>> Hi all,
>>>
>>> My company is looking to set up our own cTAKES server or local service.
>>> We've had a number of problems following the examples we have been able to
>>> find online.
>>>
>>> We're looking to hire someone as a consultant to help us set this up. If
>>> interested, please let me know.
>>>
>>> Additionally, if anyone has a detailed working example of how they set
>>> up their server or an example script, those would hugely appreciated. For
>>> the former we have not been able to get the server running using
>>> Dirk Weissenborn's instructions, and for the latter the hello world
>>> example here
>>> <http://grepcode.com/file/repo1.maven.org/maven2/org.apache.ctakes/ctakes-examples/3.2.0/org/apache/ctakes/examples/pipelines/ExampleAggregatePipeline.java>
>>>  does
>>> not seem to work (either with ExampleHelloWorldAnnotator or
>>> with getDefaultPipeline)
>>>
>>> Thanks,
>>> Alden
>>>
>>> --
>>> Alden Gordon
>>> Director of Analytics | 860.402.6572 <(860)%20402-6572> |
>>> [email protected] <[email protected]>
>>> Visit Care Without Constraints
>>> <https://www.linkedin.com/company/care-without-constraints> to learn
>>> how eConsults are removing barriers to care.
>>>
>>
>>
>
>
> --
> Alden Gordon
> Director of Analytics | 860.402.6572 <(860)%20402-6572> |
> [email protected] <[email protected]>
> Visit Care Without Constraints
> <https://www.linkedin.com/company/care-without-constraints> to learn how
> eConsults are removing barriers to care.
>

Reply via email to