[ 
https://issues.apache.org/jira/browse/CTAKES-519?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16800683#comment-16800683
 ] 

Sean Finan commented on CTAKES-519:
-----------------------------------

Hi Ahmad,

If you want temporal, coreference and relations, I suggest that you use the 
DefaultAdvancedPipeline.piper or SectionedAdvancedPipeline.piper , both of 
which are in ctakes-coreference-res.  The difference between them is that 
Sectioned* attempts to provide section, paragraph and list information.

There are a lot of ways to get output out of ctakes.  Some writers (often 
referred to as "cas consumers") create files while others write to databases, 
standard output or a log.  You can put one or more "add" commands in the piper 
file to do this, just specify a writer like you would an annotation engine.

A good number of the ctakes projects have class consumers in a source package 
named "cc", the most populated being ctakes-core.  If you want to quickly look 
at output on a file-by-file basis then I suggest that you put "add 
html.HtmlTextWriter" at the end of the piper.  There might be something in 
ctakes that writes all extracted information in a tabular format, but I don't 
know of one.  People frequently create custom classes that write output to 
whatever specifications they need.

Sean

> Polarity not working with Piper files
> -------------------------------------
>
>                 Key: CTAKES-519
>                 URL: https://issues.apache.org/jira/browse/CTAKES-519
>             Project: cTAKES
>          Issue Type: Bug
>          Components: ctakes-context-tokenizer
>    Affects Versions: 4.0.0
>         Environment: Windows 10
>            Reporter: Michael Judd
>            Priority: Major
>              Labels: newbie
>   Original Estimate: 0.1h
>  Remaining Estimate: 0.1h
>
> This isn't a bug report but wasn't sure what's the best method of contact. 
> I'm trying to get negation working in cTAKES and haven't had much luck. I 
> tried the default clinical pipeline and also added the ContextAnnotator and 
> they both end up with all polarity="0"
>  
> My current piper is just a modification of the default clinical with an added 
> add ContextAnnotator (and one commented out, I'm on the wrong computer so I 
> can't screenshot).
>  
> I'm probably just using the wrong piper files as a user error, so if you'd be 
> able to show me a correct piper with polarity enabled + CUI tagging, I'd 
> really appreciate it!
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to