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
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