nt but might be a quick way to test
whatever you want to do.
From: Thomas W Loehfelm
Sent: Wednesday, February 3, 2021 6:01 PM
To: dev@ctakes.apache.org
Subject: Re: Passing SectionsBsv to piper containing BsvRegexSectionizer
[EXTERNAL] [SUSPICIOUS]
*
specifies a BSV file to use, the B_PipelineRunner uses the
same BSV file regardless of what the B_piper file says.
From: Finan, Sean
Sent: Saturday, January 30, 2021 2:32 PM
To: dev@ctakes.apache.org
Subject: Re: Passing SectionsBsv to piper containing BsvRegexSectionizer
quot; );
> }
> void adjustSectionInfo( String noteType, Segment section ) {
> if ( noteType.equals( "A" ) ) {
>String newName = X_TO_A_SECTIONS.get( segment.getPreferredText() );
>if ( newName != null ) {
> section.setPreferredText( newName );
True, true.
From: Peter Abramowitsch
Sent: Saturday, January 30, 2021 5:21 PM
To: dev@ctakes.apache.org
Subject: Re: Passing SectionsBsv to piper containing BsvRegexSectionizer
[EXTERNAL] [SUSPICIOUS]
* External Email - Caution *
Hi Tom, I think there
X_TO_A_SECTIONS = new HashMap<>()
> Map X_TO_B_SECTIONS = new HashMap<>()
> initRenameMaps() {
>X_TO_A_SECTIONS.put( "Stern", "Sternum" );
> X_TO_B_SECTIONS.put( "Stern", "Tough Guy" );
> }
> void adjustSectionInfo( String
ionizer SectionsBsv=/my/custom/file.bsv
// Change or remove Sections
add my.java.package.SectionAdjuster
Sean
From: Finan, Sean
Sent: Saturday, January 30, 2021 10:00 AM
To: dev@ctakes.apache.org
Subject: Re: Passing SectionsBsv to piper contain
ment.getPreferredText() );
if ( newName != null ) {
section.setPreferredText( newName );
}
} else if ( noteType.equals( "B" ) {
etc.
}
}
Sean
____
From: Thomas W Loehfelm
Sent: Friday, January 29, 2021 7:25 PM
To: dev@ctakes.apache.org
Subject: Re
Date: Friday, January 29, 2021 at 4:11 PM
To: dev@ctakes.apache.org
Subject: Passing SectionsBsv to piper containing BsvRegexSectionizer
I have a CTakes API endpoint based on the REST API and I am trying to specifiy
a different BSV file depending on the type of text.
My idea is to instantiate two
I have a CTakes API endpoint based on the REST API and I am trying to specifiy
a different BSV file depending on the type of text.
My idea is to instantiate two different analysis engine pools, and direct text
one or the other depending on which type of report it is. This seems simpler to
me th