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
Sorry for the second email.
The a_engine and b_engine lines contain typos in that they do not specify the
specific a_ or b_pipeline – I inadvertently introduced this typo just while
reproducing the generic example into the email – the original code is correct
so that is not the source of the pr