Re: Passing SectionsBsv to piper containing BsvRegexSectionizer [EXTERNAL] [SUSPICIOUS]

2021-02-03 Thread Finan, Sean
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] *

Re: Passing SectionsBsv to piper containing BsvRegexSectionizer [EXTERNAL] [SUSPICIOUS]

2021-02-03 Thread Thomas W Loehfelm
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

Re: Passing SectionsBsv to piper containing BsvRegexSectionizer [EXTERNAL]

2021-02-02 Thread Kean Kaufmann
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 );

Re: Passing SectionsBsv to piper containing BsvRegexSectionizer [EXTERNAL] [SUSPICIOUS]

2021-01-30 Thread Finan, Sean
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

Re: Passing SectionsBsv to piper containing BsvRegexSectionizer [EXTERNAL] [SUSPICIOUS]

2021-01-30 Thread Peter Abramowitsch
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

Re: Passing SectionsBsv to piper containing BsvRegexSectionizer [EXTERNAL] [SUSPICIOUS]

2021-01-30 Thread Finan, Sean
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

Re: Passing SectionsBsv to piper containing BsvRegexSectionizer [EXTERNAL]

2021-01-30 Thread Finan, Sean
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

Re: Passing SectionsBsv to piper containing BsvRegexSectionizer

2021-01-29 Thread Thomas W Loehfelm
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

Passing SectionsBsv to piper containing BsvRegexSectionizer

2021-01-29 Thread Thomas W Loehfelm
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