Hi Alden,
I didn't use the fast pipeline, so I can't comment on that.
A very basic cTAKES pipeline example is here:
https://github.com/healthnlp/examples/blob/master/ctakes-web-client/src/main/java/org/apache/ctakes/web/client/servlet/Pipeline.java
Regardless of which cTAKE pipeline you follow, you probably always see a
code portion that uses UMLS below:
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/sno_rx_16ab.xml*")
);
*org/apache/ctakes/dictionary/lookup/fast/sno_rx_16ab.xml* is the file that
contains umls username and password that you should change:
<property key="umlsUser" value="CHANGE_ME"/>
<property key="umlsPass" value="CHANGE_ME"/>
If I am not wrong, this file is located in cTAKES resource folder that you
downloaded.
On Wed, Aug 23, 2017 at 11:14 AM, 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.
>
--
Regards,
Liam Bui
☎ (604) 352-1568 | ✉ [email protected]