You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ctakes.apache.org by ga...@apache.org on 2018/10/31 11:04:01 UTC

svn commit: r1845321 [32/42] - in /ctakes/trunk/ctakes-web-rest: ./ src/ src/main/ src/main/java/ src/main/java/org/ src/main/java/org/apache/ src/main/java/org/apache/ctakes/ src/main/java/org/apache/ctakes/rest/ src/main/java/org/apache/ctakes/rest/f...

Added: ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lookup/radiology/ExamsForPAD.csv
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lookup/radiology/ExamsForPAD.csv?rev=1845321&view=auto
==============================================================================
--- ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lookup/radiology/ExamsForPAD.csv (added)
+++ ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lookup/radiology/ExamsForPAD.csv Wed Oct 31 11:03:43 2018
@@ -0,0 +1,192 @@
+ Feeder Key,Description,   
+05668-RRIMS,"ANGIOGRAPHY...ARY, UNILAT",
+05860-RRIMS,"ANGIOGRAPHY...ARY, BILATE",
+07075-RRIMS, Tibia Fibula 2vw AP/Lat,
+07075C-RRIMS,Tibia 2 vw AP/Lat cntr proximal,
+07076-RRIMS, Lower Extremity (Hip to ankle),
+07147-RRIMS,MRA LOWER EXTREMITY W OR W/O C,
+07166-RRIMS,"MRA ABDOMEN W OR W/O CONTRAST,",
+07234-RRIMS,"ANGIOGRAPHY, EXTREMITY, UNILAT",
+07318-RRIMS,"ANGIOGRAPHY, EXTREMITY, UNILAT",
+07319-RRIMS,"ANGIOGRAPHY, EXTREMITY, UNILAT",
+07323-RRIMS, MRI Abd wo&w Lmtd,
+07349-RRIMS,"CT ANGIOGRAPHY, ABDOMEN, INCLU",
+07351-RRIMS,"CT ANGIOGRAPHY, PELVIS, INCLUD",
+07410-RRIMS,"MRA PELVIS, W OR W/O CONTRAST",
+07552-RRIMS,US Lower Extrem Art-Graft Cmpl,
+07556-RRIMS, US Extremity Veins Complete
+07557-RRIMS, US Extremity Veins Limited
+07559-RRIMS, US Abd-Pel Vessels Limited
+07577-RRIMS, US Carotid Arteries Complete
+07578-RRIMS, US Intraoperative
+07593-RRIMS,AORTO-ILIAC SONOGRAPHY
+07603-RRIMS,POPLITEAL SONOGRAPHY
+14551-RRIMS,"ATHERECTOMY, PERCUTANEOUS, FAC"
+15063-RRIMS,"IR, ENDO REPAIR ILIAC ART"
+15110-RRIMS,"CL, AORTOGRAM; ABDOMINAL"
+15115-RRIMS,"CL, ABD AORTA-STENT GRAFT"
+15119-RRIMS,"CL, ANGIOGRAM, EXTREMITY,"
+15120-RRIMS,"CL, ANGIOGRAM, EXTREMITY,"
+15121-RRIMS,"CL, PTA ILIAC ARTERIES"
+15123-RRIMS,"CL, PTA TIBIOPERONEAL ART"
+15124-RRIMS,"CL, ANGIOGRAM, EXTREMITY,"
+70222-RRIMS,MR ANGIO ABDOMINAL AORTA
+70223-RRIMS,MR ANGIO CELIAC ARTERY
+70293-RRIMS,ULTRASOUND AORTA - ILIAC
+70300-RRIMS,"ULTRASOUND, POPLITEAL - LT"
+70301-RRIMS,"ULTRASOUND, POPLITEAL - RT"
+70340-RRIMS,"IR, PTA ILIAC ARTERIES"
+70471-RRIMS,"MRI, ANGIO LOWER EXTREM W/O &"
+70472-RRIMS,"MRI, ANGIO LOWER EXTREMITY, W"
+70597-RRIMS,"IR, PTA TIBIOPERONEAL ARTERY &"
+70816-RRIMS,CT ANGIO PELVIS W/WO CST INCL
+70938-RRIMS,CT ANGIO LOWER EXT W/WO CST +S
+70955-RRIMS,CT ANGIO ABD W/WO CST ADD SECT
+71039-RRIMS,AORTOGRAM ABD W SERIAL PROF
+71041-RRIMS,AORTOGRAM ABD+BILAT ILIOFEM LO
+71042-RRIMS,CT ANGIO ABD+BILAT LW EXT W/WO
+71053-RRIMS,ANGIO EXTREMITY UNILAT PROF
+71054-RRIMS,ANGIO EXTREMITY BILAT PROF
+71060-RRIMS,ANGIO PELVIC-SUPRA SELECT PROF
+71103-RRIMS,ENDOVASC RPR ILIAC ANEURSM PSE
+71106-RRIMS,PTA PERIPHERAL ARTERY PROF
+71107-RRIMS,PTA PERIPHERAL ARTERY ADDL PRO
+71117-RRIMS,TRANSLUMINAL ATHERECTOMY PERIP
+71118-RRIMS,TRANSLUMINAL ATHERECT ADDL PER
+71158-RRIMS,CT ANGIO AORTA PREOP/EVAL
+71171-RRIMS,U/S RETROPERITONEAL B SCAN PRO
+71172-RRIMS,U/S RETROPERITONEAL B SCAN LTD
+71275-RRIMS, CTA Chest w or wo 3D
+71555-RRIMS, MRA/v Chest
+71626-RRIMS,CT ANGIO PELVIS W/WO CST
+71712-RRIMS,CT ANGIO LOWER EXT W/WO C
+71736-RRIMS,CT ANGIO ABD W/WO CST
+71794-RRIMS,ABD AORTAGRAM W/ RUNOFF
+71795-RRIMS,CT ANGIO AORTA/RUNOFF
+71806-RRIMS,ANGIO EXTREMITY UNILAT
+71807-RRIMS,ANGIO EXTREMITY BILAT
+71813-RRIMS,ANGIO PELVIC SELECT
+71853-RRIMS,ENDOVASC RPR ILIAC ANEURYSM
+71856-RRIMS,PTA PERIPHERAL ART
+71857-RRIMS,PTA PERIPHERAL ARTERY EA ADDL
+71866-RRIMS,ATHERECTOMY PERIPHERAL
+71867-RRIMS,ATHERECTOMY PERIPHERAL EA ADDL
+71924-RRIMS,RETROPERITONEAL SONOGRAM CMP
+71925-RRIMS,RETROPERITONEAL SONOGRAM LTD
+72191-RRIMS,"CT ANGIOGRAPHY, PELVIS, INCLUD"
+72199-RRIMS,"MRI,ANGIO ILIAC-FEML ARTERIES"
+72208-RRIMS,MRA PELVIS W/WO CST PROF
+72209-RRIMS,MRA PELVIS W/CST CMP
+72211-RRIMS,MRA PELVIS WO/CST CMP
+72212-RRIMS,MRA PELVIS WO/CST PROF
+72214-RRIMS,MRA LOW EXT WO/CST
+73246-RRIMS,"MRI, ANGIO, LOWER ARM, LT"
+73247-RRIMS,"MRI, ANGIO; LOWER ARM, RT"
+73706-RRIMS,"CT ANGIOGRAPHY, LOWER EXTREMIT"
+73706-RRIMS, CTA Lower Ext w or wo 3D
+73709-RRIMS,CT ANGIO LOWER EXTREM W/O
+73725-RRIMS,MRA LOWER EXTREMITY W OR W/O C
+73725-RRIMS, MRA/v Ext Lwr
+73731-RRIMS,MRA LOW EXT WO CST PROF
+73732-RRIMS,MRA LOW EXT WO CST CMP
+73734-RRIMS,MRA LOWER EXT W OR WO CST PROF
+74175-RRIMS,"CT ANGIOGRAPHY, ABDOMEN, INCLU"
+74181-RRIMS, MRI Abd wo
+74183-RRIMS, MRI Abd wo&w
+74185-RRIMS,MRA ABDOMEN W OR W/O CONTRAST
+74189-RRIMS,MRA ABD W/WO CST PROF
+74190-RRIMS,MRA ABD W CST PROF
+74191-RRIMS,MRA ABDOMEN W/CONTRAST
+74192-RRIMS,MRA ABD WO CST CMP
+74193-RRIMS,MRA ABD WO CST PROF
+75625-RRIMS,"AORTOGRAM, ABDOMINAL"
+75626-RRIMS,"IR, AORTOGRAM; ABDOMINAL"
+75630-RRIMS,"AORTOGRAPHY, ABDOMINAL PLUS BI"
+75635-RRIMS,"CT ANGIOGRAPHY, ABDOMINAL AORT"
+75716-RRIMS,"ANGIOGRAPHY, EXTREMITY, BILATE"
+75736-RRIMS,"ANGIOGRAPHY, PELVIC, SELECTIVE"
+75904-RRIMS,"IR, ARTERIOGRAM THRU CATH"
+75951-RRIMS,"IR, ENDO REPAIR ILIAC ART"
+75954-RRIMS,ENDOVASCULAR REPAIR OF ILIAC A
+75992-RRIMS,"TRANSLUMINAL ATHERECTOMY, PERI"
+76770-RRIMS,RETROPERITONEAL SONOGRAPHY - C
+76770-RRIMS, US Retroperitoneal Complete
+76775-RRIMS, US Retroperitoneal Limited
+76880-RRIMS, US Extremity Nonvascular
+76936-RRIMS, US Pseudoaneurysm Complete
+94521-RRIMS,"MR ANGIO FOOT/ANKLE, RIGHT"
+95052-RRIMS,"MR ANGIO LOWER LEG, LT"
+95053-RRIMS,"MR ANGIO LOWER LEG, RT"
+95058-RRIMS,"MR ANGIO FOOT/ANKLE, LT"
+95779-RRIMS,"IR, ENDO REPAIR ILIAC ARTERY"
+CT0026-RRIMS, CT Development (CIC)
+CT424D-RRIMS, CT Colonography
+CT811-RRIMS, CT NECK wo&w & CHEST w
+CTA005-RRIMS, CTA Chest/Abd w or wo 3D
+CTA006-RRIMS, CTA CH/Abd/Aorta runoff w wo3D
+CTA008-RRIMS, CTA Chest/Abd/Pelv w or wo 3D
+CTA027-RRIMS, CTA Pelvis w/runoff w or wo3D
+CTUR02-RRIMS, CT Urogram w 3D
+DG092-RRIMS, Major Jnt Asp and/or Inj
+MR460A-RRIMS, MRI Abd w & MRA/v Abd
+MR460B-RRIMS, MRI ABD wo&w & MRA/v Abd
+MR465-RRIMS, MRA/v Abd & MRA/v Ext Lwr
+NR016-RRIMS, NRAD Temp. Balloon Occlu.
+NR021-RRIMS, NRAD Stent Great Vessel
+OSF011-RRIMS, OS CT Abd and or Pelvis
+OSF012-RRIMS, OS CT Chest
+OSF013-RRIMS, OS CT Extremity
+OSF021-RRIMS, OS MR Abd and or Pelvis
+OSF023-RRIMS, OS MR Chest
+OSF024-RRIMS, OS MR Extremity
+OSF032-RRIMS, OS US Vascular
+OSF033-RRIMS, OS US Other
+OSF051-RRIMS, OS VI Angio or Interv.
+OSF-RRIMS, OUTSIDE X-RAY
+US431-RRIMS, US Abd Cmpl with Doppler Lmtd
+VI002-RRIMS, V&IRAD ART. ABD AORTA
+VI003-RRIMS, V&IRAD ART. AORTA BRANCH
+VI004-RRIMS, V&IRAD ART. ARCH&GRT VES.
+VI007-RRIMS, V&IRAD ART LOWER EXT.
+VI008-RRIMS, V&IRAD ART. PELVIC ANGIO
+VI010-RRIMS, V&IRAD ART. RENAL
+VI011-RRIMS, V&IRAD ART. THORACIC AO.
+VI012-RRIMS, V&IRAD ART.UPPER EXT.
+VI013-RRIMS, V&IRAD ART. VISCERAL
+VI028-RRIMS, V&IRAD EMBOL EXTREMITY
+VI030-RRIMS, V&IRAD EMBOL PELVIC
+VI032-RRIMS, V&IRAD EMBOL OTHER
+VI036-RRIMS, V&IRAD EMBOL VISCERAL
+VI043-RRIMS, V&IRAD INFUSION NON LYTIC
+VI044-RRIMS, V&IRAD INTRA-OP NONVASC
+VI045-RRIMS, V&IRAD INTRA-OP VASC
+VI050-RRIMS, V&IRAD LYTIC RX ARTERIAL
+VI051-RRIMS, V&IRAD LYTIC RX VENOUS
+VI060-RRIMS, V&IRAD PRESSURE READING
+VI061-RRIMS, V&IRAD PTA AORTA
+VI065-RRIMS, V&IRAD PTA FEM-POP
+VI066-RRIMS, V&IRAD PTA ILIAC ART.
+VI067-RRIMS, V&IRAD PTA RENAL
+VI068-RRIMS, V&IRAD PTA TIBIA
+VI069-RRIMS, V&IRAD PTA VENOUS
+VI076-RRIMS, V&IRAD STENT AORTA
+VI077-RRIMS, V&IRAD STENT ARCH VESSELS
+VI079-RRIMS, V&IRAD PTA VISCERAL
+VI080-RRIMS, V&IRAD STENT FEM-POP
+VI081-RRIMS, V&IRAD STENT ILIAC
+VI082-RRIMS, V&IRAD STENT RENAL/VISCERAL
+VI088-RRIMS, V&IRAD VENO IVC
+VI091-RRIMS, V&IRAD VENO LOWER EXT
+VI099-RRIMS, V&IRAD ABD AORTA/LOWER EXT
+VI101-RRIMS, V&IRAD ART. RENAL RENIN
+VI107-RRIMS, V&IRAD IV DSA
+VI115-RRIMS, V&IRAD VENOUS ACCESS - CXR
+VI124-RRIMS, V&IRAD Declot - Other
+VI135-RRIMS, V&IRAD ENDOGRAFT/AORTA
+VI150-RRIMS, V&IRAD Vascular
+VI165-RRIMS, V&IRAD Vascular & Intervention
+VI166-RRIMS, V&IRAD IVUS
+VI170-RRIMS, V&IRAD Ultrasound Guidance
+US438-RRIMS ,US Retro Lmtd w Doppler Lmtd
+CT421-RRIMS,OUTSIDE X-RAY
+07583-RRIMS,US Abdomen Complete

Added: ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lookup/radiology/LookupDesc_PAD.xml
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lookup/radiology/LookupDesc_PAD.xml?rev=1845321&view=auto
==============================================================================
--- ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lookup/radiology/LookupDesc_PAD.xml (added)
+++ ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lookup/radiology/LookupDesc_PAD.xml Wed Oct 31 11:03:43 2018
@@ -0,0 +1,81 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+<lookupSpecification>
+	<!--  Defines what dictionaries will be used in terms of implementation specifics and metaField configuration. -->
+	<dictionaries>
+		<dictionary id="GAZ_CSV_PAD_TERM" externalResourceKey="PAD_Terms_File" caseSensitive="false">
+			<implementation>
+				<csvImpl delimiter="|" indexedFieldNames="0,1"/>
+			</implementation>
+			<lookupField fieldName="0"/>
+			<metaFields>
+				<metaField fieldName="1"/>
+			</metaFields>
+		</dictionary>
+		<dictionary id="GAZ_CSV_PAD_LOC" externalResourceKey="PAD_Location_File" caseSensitive="false">
+			<implementation>
+				<csvImpl delimiter="|" indexedFieldNames="0"/>
+			</implementation>
+			<lookupField fieldName="0"/>
+			<!-- metaField represents the "cols" in the result of the dictionary lookup-->
+			<metaFields>
+				<metaField fieldName="1"/>
+				<metaField fieldName="2"/>
+			</metaFields>
+		</dictionary>
+	</dictionaries>
+	<!-- Binds together the components necessary to perform the complete lookup logic start to end. -->
+	<lookupBindings>
+		<lookupBinding>
+			<dictionaryRef idRef="GAZ_CSV_PAD_TERM"/>
+			<!-- NOTE: Only use if windowAnnotations have small # of tokens, sentences are not a good idea! -->
+			<lookupInitializer className="org.apache.ctakes.dictionary.lookup.ae.FirstTokenPermLookupInitializerImpl">
+				<properties>
+					<property key="textMetaFields" value="1"/>
+					<property key="maxPermutationLevel" value="7"/>
+					<property key="windowAnnotations" value="org.apache.ctakes.typesystem.type.textspan.Sentence"/>
+				</properties>
+			</lookupInitializer>
+			<lookupConsumer className="org.apache.ctakes.padtermspotter.impl.PADTermConsumerImpl">
+				<properties>
+					<!-- property key="stopWordsExtFileResrcKey" value="StopWordsFile"/ -->
+				</properties>
+			</lookupConsumer>
+		</lookupBinding>
+		<lookupBinding>
+			<dictionaryRef idRef="GAZ_CSV_PAD_LOC"/>
+			<!-- NOTE: Only use if windowAnnotations have small # of tokens, sentences are not a good idea! -->
+			<lookupInitializer className="org.apache.ctakes.dictionary.lookup.ae.FirstTokenPermLookupInitializerImpl">
+				<properties>
+					<property key="textMetaFields" value="1"/>
+					<property key="maxPermutationLevel" value="7"/>
+					<property key="windowAnnotations" value="org.apache.ctakes.typesystem.type.textspan.Sentence"/>
+				</properties>
+			</lookupInitializer>
+			<lookupConsumer className="org.apache.ctakes.padtermspotter.impl.PADLocationConsumerImpl">
+				<properties>
+					<!-- property key="stopWordsExtFileResrcKey" value="StopWordsFile"/ -->
+				</properties>
+			</lookupConsumer>
+		</lookupBinding>
+	</lookupBindings>
+</lookupSpecification>

Added: ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lookup/radiology/StopWords.txt
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lookup/radiology/StopWords.txt?rev=1845321&view=auto
==============================================================================
--- ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lookup/radiology/StopWords.txt (added)
+++ ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lookup/radiology/StopWords.txt Wed Oct 31 11:03:43 2018
@@ -0,0 +1,370 @@
+a
+about
+above
+across
+after
+afterwards
+again
+against
+all
+almost
+alone
+along
+already
+also
+although
+always
+am
+among
+amongst
+amoungst
+amount
+an
+and
+another
+any
+anyhow
+anyone
+anything
+anyway
+anywhere
+are
+around
+as
+at
+back
+be
+became
+because
+become
+becomes
+becoming
+been
+before
+beforehand
+behind
+being
+below
+beside
+besides
+between
+beyond
+bill
+both
+bottom
+but
+by
+call
+can
+cannot
+cant
+co
+computer
+con
+could
+couldnt
+cry
+de
+describe
+detail
+do
+done
+down
+due
+during
+each
+eg
+eight
+either
+eleven
+else
+elsewhere
+empty
+enough
+etc
+even
+ever
+every
+everyone
+everything
+everywhere
+except
+few
+fifteen
+fify
+fill
+find
+fire
+first
+five
+for
+former
+formerly
+forty
+found
+four
+from
+front
+full
+further
+get
+give
+go
+had
+has
+hasnt
+have
+he
+hence
+her
+here
+hereafter
+hereby
+herein
+hereupon
+hers
+herself
+him
+himself
+his
+how
+however
+hundred
+i
+ie
+if
+in
+inc
+indeed
+interest
+into
+is
+it
+its
+itself
+keep
+last
+latter
+latterly
+least
+less
+ltd
+made
+many
+may
+me
+meanwhile
+might
+mill
+mine
+more
+moreover
+most
+mostly
+move
+much
+must
+my
+myself
+name
+namely
+neither
+never
+nevertheless
+next
+nine
+no
+nobody
+none
+noone
+nor
+not
+nothing
+now
+nowhere
+of
+off
+often
+on
+once
+one
+only
+onto
+or
+other
+others
+otherwise
+our
+ours
+ourselves
+out
+over
+own
+part
+per
+perhaps
+please
+put
+rather
+re
+same
+see
+seem
+seemed
+seeming
+seems
+serious
+several
+she
+should
+show
+side
+since
+sincere
+six
+sixty
+so
+some
+somehow
+someone
+something
+sometime
+sometimes
+somewhere
+still
+such
+system
+take
+ten
+than
+that
+the
+their
+them
+themselves
+then
+thence
+there
+thereafter
+thereby
+therefore
+therein
+thereupon
+these
+they
+thick
+thin
+third
+this
+those
+though
+three
+through
+throughout
+thru
+thus
+to
+together
+too
+top
+toward
+towards
+twelve
+twenty
+two
+un
+under
+until
+up
+upon
+us
+very
+via
+was
+we
+well
+were
+what
+whatever
+when
+whence
+whenever
+where
+whereafter
+whereas
+whereby
+wherein
+whereupon
+wherever
+whether
+which
+while
+whither
+who
+whoever
+whole
+whom
+whose
+why
+will
+with
+within
+without
+would
+yet
+you
+your
+yours
+yourself
+yourselves
+i'm 
+you're 
+he's 
+she's 
+it's 
+we're 
+they're 
+i've 
+you've 
+we've 
+they've 
+i'd 
+you'd 
+he'd 
+she'd 
+we'd 
+they'd 
+i'll 
+you'll 
+he'll 
+she'll 
+we'll 
+they'll 
+isn't 
+aren't 
+wasn't 
+weren't 
+hasn't 
+haven't 
+hadn't 
+doesn't 
+don't 
+didn't 
+won't 
+wouldn't 
+shan't 
+shouldn't 
+can't 
+cannot 
+couldn't 
+mustn't 
+let's 
+that's 
+who's 
+what's 
+here's 
+there's 
+when's 
+where's 
+why's 
+how's 
\ No newline at end of file

Added: ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lookup/radiology/pad_anatomical_sites.csv
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lookup/radiology/pad_anatomical_sites.csv?rev=1845321&view=auto
==============================================================================
--- ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lookup/radiology/pad_anatomical_sites.csv (added)
+++ ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lookup/radiology/pad_anatomical_sites.csv Wed Oct 31 11:03:43 2018
@@ -0,0 +1,76 @@
+//not interested in the vein in the lower extremities. Interested in the arteries in the lower extremities.
+aortabi-iliac|aortabi-iliac artery|6
+aortabi-iliac|aortabi-iliac arteries|6
+aortobiiliac|aortobiiliac artery|6
+aortobiiliac|aortobiiliac arteries|6
+aortobifemoral|aortobifemoral artery|6
+aortobifemoral|aortobifemoral arteries|6
+axillobifemoral|axillobifemoral arteries|6
+axillobifemoral|axillobifemoral artery|6
+cardiod|cardiod|6
+femoral|femoral artery|6
+femoral|femoral arteries|6
+femoropopliteal|femoropopliteal artery|6
+femoropopliteal|femoropopliteal arteries|6
+peroneal|peroneal artery|6
+peroneal|peroneal arteries|6
+popliteal|popliteal artery|6
+popliteal|popliteal arteries|6
+femoral-femoral|femoral-femoral arteries|STAND_ALONE
+femoral-femoral|femoral-femoral|6
+femoral|femoral-to-peroneal artery|STAND_ALONE
+femoral-popliteal|femoral-popliteal|6
+fem-pop|fem-pop|STAND_ALONE
+fem-fem|fem-fem|STAND_ALONE
+aortabi-iliac|aortabi-iliac|6
+aortobiiliac|aortobiiliac|6
+aortobifemoral|aortobifemoral|6
+axillobifemoral|axillobifemoral|6
+femoral|femoral|6
+femoropopliteal|femoropopliteal|6
+peroneal|peroneal|6
+popliteal|popliteal|6
+femoral-femoral|femoral-femoral arteries|STAND_ALONE
+femoral-femoral|femoral-femoral|6
+femoral|femoral-to-peroneal artery|STAND_ALONE
+calf|calf artery|6
+tibial|tibial arteries|6
+tibial|tibial artery|6
+calf|calf arteries|6
+common|common femoral|6
+external|external illiac|6
+left|left femoral|6
+rigth|right femoral|6
+right|right leg|6
+left|left leg|6
+left|left lower extremity|6
+rigth|right lower extremity|6
+lower|lower extremity|6
+common|common iliac|6
+common|common iliac artery|6
+peroneal|peroneal trunk|6
+tibioperoneal|tibioperoneal trunk|6
+internal|internal iliac arteries|6
+iliac|iliac artery|6
+iliac|iliac systems|6
+iliac|iliac system|6
+iliac|iliac origin|6
+origin|origin of iliac|6
+anterior|anterior tibial artery|6
+peroneal|peroneal artery|6
+SFA|SFA|6
+CFA|CFA|6
+IFA|IFA|6
+anterior|anterior tibial artery|6
+anterior|anterior tibial arteries|6
+posterior|posterior tibial|6
+anterior|anterior tibial|6
+posterior|posterior tibial artery|6
+femoropopliteal|femoropopliteal artery|6
+femoropopliteal|femoropopliteal arteries|6
+posterior|posterior tibial arteries|6
+PT|PT|6
+AT|AT|6
+anastomosis|anastomosis|6
+vein|vein|9
+veins|veins|9

Added: ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lookup/radiology/pad_disorders.csv
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lookup/radiology/pad_disorders.csv?rev=1845321&view=auto
==============================================================================
--- ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lookup/radiology/pad_disorders.csv (added)
+++ ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lookup/radiology/pad_disorders.csv Wed Oct 31 11:03:43 2018
@@ -0,0 +1,84 @@
+balloon|balloon angioplasty|STAND_ALONE
+angioplasty|angioplasty|2
+aortobifemoral|aortobifemoral graft|7
+aortobifemoral|aortobifemoral bypass|7
+aortobiiliac|aortobiiliac graft|7
+aortobi-iliac|aortobi-iliac graft|7
+aortofemoral|aortofemoral bypass graft|7
+artery|artery bypass graft|7
+artery|artery bypass|7
+axillobifemoral|axillobifemoral graft|7
+atherosclerotic|atherosclerotic calcification|7
+aso|aso|2
+complete|complete occlusion|2
+crossover|crossover graft|7
+cross-over|cross-over graft|7
+distal|distal occlusion|2
+endarterectomy|endarterectomy|2
+extensive|extensive atheromatous plaque|2
+extensive|extensive collatoral formation|2
+fem-pop|fem-pop graft|7
+focal|focal stenosis|8
+high|high grade stenosis|8
+high-grade|high-grade stenosis|8
+focal|focal stenoses|8
+high|high grade stenoses|8
+high-grade|high-grade stenoses|8
+large|large atherosclerotic plaque|2
+atherosclerosis|atherosclerosis|2
+moderate|moderate arthromatous|2
+moderate|moderate atheromatous changes|2
+moderate|moderate atheromatous plaque|STAND_ALONE
+moderate|moderate atheromatous|2
+moderate|moderate atherosclerosis|2
+moderate|moderate atherosclerotic disease|2
+moderate|moderate focal stenosis|2
+moderate|moderate focal stenosis|2
+moderate|moderate iliac stenosis|2
+moderate|moderate focal stenoses|2
+moderate|moderate focal stenoses|2
+moderate|moderate iliac stenoses|2
+moderate|moderate narrowing|2
+moderate|moderate stenoses|2
+moderate|moderate stenosis|2
+stenosis|stenosis|2
+multi|multi-focus stenosis|8
+multi-focus|multi-focus stenosis|8
+multi|multi-focus stenoses|8
+multi-focus|multi-focus stenoses|8
+near|near occlusion|2
+occluded|occluded|2
+occludes|occludes|2
+occlusion|occlusion|2
+one-vessel|one-vessel run-off|STAND_ALONE
+patent|patent graft|STAND_ALONE
+peroneal|peroneal graft|7
+popliteal|popliteal graft|7
+proximal|proximal occlusion|2
+PTA|PTA|2
+recanalization|recanalization|2
+severe|severe arthromatous|2
+severe|severe atheromatous plaque|2
+severe|severe atherosclerosis|2
+severe|severe atherosclerotic disease|STAND_ALONE
+severe|severe atherosclerotic stenosis|STAND_ALONE
+severe|severe iliac stenosis|8
+severe|severe narrowing|2
+severe|severe plaque|2
+severe|severe stenoses|8
+severe|severe stenosis|8
+severe|severe tibial disease|STAND_ALONE
+tibial|tibial disease|2
+SFA|SFA occlusion|STAND_ALONE
+significant|significant atheromatous plaque|STAND_ALONE
+significant|significant atheromatous plaque|STAND_ALONE
+significant|significant stenosis|8
+single|single vessel runoff|STAND_ALONE
+single|single vessel run-off|STAND_ALONE
+diffusely|diffusely diseased|2
+stent|stent|7
+atheromatous|atheromatous stenosis|8
+stented|stented arteries|7
+no|no flow|8
+ulcerated|ulcerated plaque|7
+extensive|extensive collaterals|2

Added: ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/2005_lemma.voc
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/2005_lemma.voc?rev=1845321&view=auto
==============================================================================
--- ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/2005_lemma.voc (added)
+++ ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/2005_lemma.voc Wed Oct 31 11:03:43 2018
@@ -0,0 +1 @@
+Unexpected error.  File contents could not be restored from local history during undo/redo.
\ No newline at end of file

Added: ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/2005_norm.voc
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/2005_norm.voc?rev=1845321&view=auto
==============================================================================
--- ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/2005_norm.voc (added)
+++ ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/2005_norm.voc Wed Oct 31 11:03:43 2018
@@ -0,0 +1 @@
+Unexpected error.  File contents could not be restored from local history during undo/redo.
\ No newline at end of file

Added: ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/IDB/sample.prp
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/IDB/sample.prp?rev=1845321&view=auto
==============================================================================
--- ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/IDB/sample.prp (added)
+++ ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/IDB/sample.prp Wed Oct 31 11:03:43 2018
@@ -0,0 +1,365 @@
+!---------------------------------------------------------------------
+!
+! BASIC PROPERTIES
+!
+!---------------------------------------------------------------------
+
+!
+! Path where index tables are held. Can be absolute or relative
+! to the properties file. Defaults to tablePath.
+!
+indexPath=./indexes
+!
+! Path where system tables are held. Can be absolute or relative to
+! the properties file. Defaults to tablePath.
+!
+systemPath=./system
+!
+! Path where database tables are held. Can be absolute or relative
+! to the properties file. Defaults to "current" directory.
+!
+tablePath=./tables
+!
+! Path where results set tables are held. Can be absolute or relative
+! to the properties file. Defaults to tablePath.
+!
+tmpPath=./tmp
+!
+! Non-zero means paths are relative to the properties file.
+! Default is absolute paths for files.
+!
+relativeToProperties=1
+!
+! Alternative partitions can be defined so that tables can be placed
+! in multiple locations. Each partition is numbered: 1, 2, 3,... Tables
+! can be created on partitions using the syntax
+!
+!   CREATE TABLE <name> ON PARTITION <number>...
+!
+! The partition count has to be supplied.
+!
+!partitionCount=2
+!
+! The locations of each partition must be supplied. These are always
+! absolute path names.
+!
+!partition1=d:/petes
+!partition2=c:/temp
+
+
+!---------------------------------------------------------------------
+!
+! TUNING PROPERTIES
+!
+!---------------------------------------------------------------------
+
+!
+! The amount of each column to cache, expressed either as an absolute
+! number of rows or as a percentage figure. Defaults to 256 or 10 respectively.
+!
+! This value applies only when tables are first created. It has no effect
+! when a table is being re-opened.
+!
+cacheAmount=512
+!
+! CACHE_ROWS Must be one of CACHE_ROWS or CACHE_PERCENT. Determines whether
+! to cache columns in tables based on an absolute number of rows, or the
+! percentage number of rows in the table.
+!
+! This value applies only when tables are first created. It has no effect
+! when a table is being re-opened.
+!
+cacheCondition=CACHE_ROWS
+!
+! The amount of the system tables to be cached. Defaults to 100.
+!
+! This value applies only when tables are first created. It has no effect
+! when a table is being re-opened.
+!
+!systemCacheSize=10
+!
+! Similar to cacheCondition, but applies only to the system tables.
+!
+! This value applies only when tables are first created. It has no effect
+! when a table is being re-opened.
+!
+!systemCacheCondition=CACHE_ROWS
+!
+! The percentage cache hit improvement required in order to move the
+! cache to a new location in a column.
+!
+! (Currently not implemented).
+!
+cacheResetPercent=10
+!
+! Non-zero means that database changes do not get written to the
+! database immediately. See tuning.html.
+!
+fastUpdate=0
+!
+! Percentage of free space in an index that must be present before
+! the index reorganises itself. High values means frequent index
+! reorganisation. Low values means slow index inserts.
+!
+indexLoad=5
+!
+! The number of cache misses to include in calculations of the next
+! base for the cache.
+!
+! (Currently not implemented).
+!
+missesInCacheStats=100
+!
+! Non-zero means that results sets get instantiated on disk. By default
+! InstantDB holds results sets emtirely in memory (apart from Binary
+! columns). For large results sets this can be a problem. This property
+! forces all results sets to be held on disk.
+!
+resultsOnDisk=0
+!
+! Similar to cacheCondition but applies only to disk based
+! results sets. Default is CACHE_ROWS.
+!
+resultsSetCache=CACHE_ROWS
+!
+! Similar to cacheAmount but applies only to disk based
+! results sets. Default is 100.
+!
+resultsSetCacheAmount=100
+!
+! Number of rows to read into the disk read ahead buffer.
+! Recommended to be set somewhere around 128 to 256.
+! Default is 20.
+!
+rowCacheSize=128
+!
+! The read ahead buffer is effective at speeding up full
+! table scans. However for indexed lookups or multiple
+! simultaneous scans it is better to read a single row at
+! a time. Each table holds a small number of single row
+! buffers to improve such operations. Default is 8.
+!
+!singleRowCount=4
+!
+! Sometimes the look ahead buffer can be held by a single
+! thread even though it is not retrieveing many values from it.
+! If too many lookups retrieve data from the single row
+! buffers then it is better to flush the look ahead buffer and
+! make it available for re-use. Default is 128.
+!
+!flushAfterCacheMisses=64
+!
+! Number of rows to read ahead for system tables. By default
+! system tables cache everything, so it is wasteful to have large
+! read ahead buffers since they will very rarely be used. This
+! allows the size of the system read ahead buffers to be reduced
+! if necessary. Defaults to rowCacheSize.
+!
+!systemRows=20
+!
+! The control column in all tables normally has a large cache
+! since this speeds up all operation on that table. This can be
+! varied to either improve performance or to reduce space.
+! default is 8192.
+!
+! This value applies only when tables are first created. It has no effect
+! when a table is being re-opened.
+!
+!controlColCacheSize=512
+!
+! By default, InstantDB only does a cursory search for deleted rows during
+! UPDATE statements. Setting searchDeletes=1 causes more detailed searches
+! for deleted rows. This slows down UPDATE executions, but reults in more
+! compact tables.  Default is 0.
+!
+searchDeletes=0
+!
+! The interval, in milliseconds, between checks for statement execution
+! timeouts. Default is 5000.
+!
+!timerCheck=5000
+!
+! The number of statements between checks on available memory. If set
+! to 100 (say), then every 100 statements, InstantDB will check to
+! see how much memory is still free. If too little is avilable (see
+! below) then java.lang.System.gc() is called.
+!
+! If set to zero (the default) then no memory checking takes place.
+!
+!garbageCollectStatements=100
+!
+! If InstantDB is performing period memory checks (see above) then
+! this is the value in percent of available memory that must be
+! used before System.gc() gets called.
+!
+!garbageCollectPercent=70
+
+!---------------------------------------------------------------------
+!
+! LOGGING AND DEBUGGING PROPERTIES
+!
+!---------------------------------------------------------------------
+
+!
+! Non-zero means include SQL statements in the export file.
+!
+exportSQL=0
+!
+! Non-zero means trace output also directed to console.
+! Defaults to 0.
+!
+traceConsole=0
+!
+! Relative or absolute path where exporting and tracing goes.
+!
+! NOTE - A relative path is relative to the current Java
+! runtime directory. It is *not* relative to this properties
+! file. This is regardless of the relativeToProperties
+! setting above.
+!
+!traceFile=../../database/Idb/trace.log
+!
+! Bitmap of various items that can be traced. See debug.html.
+! Defaults to 0.
+!
+traceLevel=0
+
+!---------------------------------------------------------------------
+!
+! TRANSACTION AND RECOVERY PROPERTIES
+!
+!---------------------------------------------------------------------
+
+!
+! 0 means do not perform recovery on startup.
+! 1 means perform automatic recovery
+! 2 (default) means prompt the user using standard in
+!
+recoveryPolicy=2
+!
+! Sets the level of transaction journalling. See trans.html.
+! Defaults to 1.
+!
+! 0 - No journalling takes place.
+! 1 - Normal journalling (default).
+! 2 - Full journalling.
+!
+transLevel=0
+!
+! When doing an import, defines the number of rows imported
+! before the transaction is committed. Recommended value 8192.
+! defaults to 100.
+!
+transImports=100
+!
+! Sets the default transaction isolation level. This is a complex
+! topic, but basically, the higher the level, the more locking
+! goes on. The allowed values are:
+!
+!   TRANSACTION_READ_UNCOMMITTED = 1
+!   TRANSACTION_READ_COMMITTED   = 2
+!   TRANSACTION_REPEATABLE_READ  = 4
+!   TRANSACTION_SERIALIZABLE     = 8 (default)
+!
+! SERIALIZABLE means that InstantDB takes exclusive access to all
+! tables in a transaction until the transaction completes. Even if
+! the transaction only performs reads.
+!
+! REPEATABLE_READ transactions takes read locks for SELECTs and
+! write locks for everything else. All locks released on transaction
+! completion.
+!
+! READ_COMMITTED transactions are the same as REPEATABLE_READ
+! except that read locks get freed on statement completion.
+!
+! READ_UNCOMMITTED transactions do not take read locks. A result
+! set can include data being modified by another transaction.
+!
+!defaultIsolationLevel=2
+
+!---------------------------------------------------------------------
+!
+! DATE, TIME AND CURRENCY PROPERTIES
+!
+!---------------------------------------------------------------------
+
+!
+! Number of digits after decimal point in currency outputs. Defaults to 2.
+!
+currencyDecimal=2
+!
+! Currency symbol used in currency outputs. Defaults to $.
+!
+currencySymbol=$
+!
+! Default format for date columns. Defaults to "yyyy-mm-dd".
+!
+!dateFormat=yyyy-mm-dd
+!
+! Default format for timestamp columns. Defaults to "yyyy-mm-dd hh:nn:ss.lll".
+!
+!dateTimeFormat=yyyy-mm-dd hh:nn:ss.lll
+!
+! Default format for time columns. Defaults to "hh:nn:ss.lll".
+!
+!timeFormat=hh:nn:ss.lll
+!
+! If set, then all two digit dates less than its value are interpreted
+! as 21st century dates.
+!
+!milleniumBoundary=50
+!
+! Set to 1 causes the date string "now" to store a full timestamp.
+! Default is to store only the date for fields with now hour in the
+! format string.
+!
+nowMeansTime=0
+
+!---------------------------------------------------------------------
+!
+! STRING HANDLING PROPERTIES
+!
+!---------------------------------------------------------------------
+
+!
+! If set to 1 then String hashes use the JDK Object.hashCode() function.
+! By default, uses InstantDB's String hashing.
+!
+altStringHashing=0
+!
+! Set to 1 to cause LIKE clauses to always perform case insensitive
+! comparisons.
+!
+likeIgnoreCase=0
+!
+! Same as SET LITERAL STRICT_ON. Prevents string literals being interpreted
+! as column names or numbers. Default is 0.
+!
+strictLiterals=0
+!
+! Set this value to 1 (one) if you would like PreparedStatement.setString()
+! to ignore "\" (backslash) characters when proceesing string constants.
+! When set, InstantDB will not attempt to interpret \ as the start of an
+! escape sequence. Default is 0.
+!
+!prepareIgnoresEscapes=1
+
+!---------------------------------------------------------------------
+!
+! MISCELLANEOUS PROPERTIES
+!
+!---------------------------------------------------------------------
+
+!
+! Allows selected InstantDB keywords to be un-reserved.
+! e.g. ignoreKeywords=url,quote would allow the keywords
+! url and quote to be used as table or column names.
+!
+! This faciliy is provided for compatatbility reasons only.
+! It's use is not recommended AND IS NOT SUPPORTED.
+!
+!ignoreKeywords
+!
+! Non-zero means database is opened in read only mode.
+!
+readOnly=1

Added: ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/IDB/system/$db$types.tbl
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/IDB/system/%24db%24types.tbl?rev=1845321&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/IDB/system/$db$types.tbl
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/IDB/system/sample$db$Cols.tbl
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/IDB/system/sample%24db%24Cols.tbl?rev=1845321&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/IDB/system/sample$db$Cols.tbl
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/IDB/system/sample$db$Indexes.tbl
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/IDB/system/sample%24db%24Indexes.tbl?rev=1845321&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/IDB/system/sample$db$Indexes.tbl
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/IDB/system/sample$db$Tables.tbl
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/IDB/system/sample%24db%24Tables.tbl?rev=1845321&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/IDB/system/sample$db$Tables.tbl
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/ReadMe.txt
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/ReadMe.txt?rev=1845321&view=auto
==============================================================================
--- ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/ReadMe.txt (added)
+++ ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/ReadMe.txt Wed Oct 31 11:03:43 2018
@@ -0,0 +1,9 @@
+#
+# This directory contains all data files that Lvg use.
+#
+- IDB:    contains IDB property file.
+- ReadMe: this is it.
+- config: contains Lvg configuration files.
+- misc:   contains files for flat file system.
+- rules:  contains rule file for persistent trie to use.
+- tables: contains files for Lvg database.

Added: ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/config/lvg.properties
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/config/lvg.properties?rev=1845321&view=auto
==============================================================================
--- ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/config/lvg.properties (added)
+++ ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/config/lvg.properties Wed Oct 31 11:03:43 2018
@@ -0,0 +1,87 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
+#-------------------------------------------------------------------
+# Directory and files
+#
+# LVG_DIR: the absolute path of the lexical tool directory
+# LVG_STOP_WORD_FILE: the relative path (to LVG_DIR) of stop word file.
+# LVG_DIACRITICS_FILE: the relative path (to LVG_DIR) of diacritics file.
+# LVG_LIGATURES_FILE: the relative path (to LVG_DIR) of ligature file.
+# LVG_SYMBOL_SYNONYM_FILE: the relative path (to LVG_DIR) of symbol synonym file
+# LVG_NONINFO_WORD_FILE: the relative path (to LVG_DIR) of non-info word file.
+# LVG_CONJ_WORD_FILE: the relative path (to LVG_DIR) of conjuction file.
+#-------------------------------------------------------------------
+LVG_DIR=/people/medinf1/packages/lvg2004/
+LVG_STOP_WORD_FILE=data/misc/stopWords.data
+LVG_DIACRITICS_FILE=data/misc/diacritics.data
+LVG_LIGATURES_FILE=data/misc/ligatures.data
+LVG_SYMBOL_SYNONYM_FILE=data/misc/symbolSynonyms.data
+LVG_NONINFO_WORD_FILE=data/misc/nonInfoWords.data
+LVG_CONJ_WORD_FILE=data/misc/conjunctionWord.data
+#-------------------------------------------------------------------
+# Database and JDBC driver
+#
+# DATABASE: IDB, MYSQL, or OTHER
+# DB_DRIVER: the JDBC driver
+#-------------------------------------------------------------------
+DATABASE=MYSQL
+DB_DRIVER=org.gjt.mm.mysql.Driver
+
+#-------------------------------------------------------------------
+# IDB related properties
+#
+# IDB_PROPERTY_FILE: the relative path of IDB property file
+#-------------------------------------------------------------------
+IDB_PROPERTY_FILE=data/IDB/sample.prp
+#-------------------------------------------------------------------
+# MY_SQL related properties
+#
+# MY_SQL_HOST: Hostname of MySql database
+# MY_SQL_NAME: database name for Lvg (default is lvg2004)
+# MY_SQL_USERNAME: user name for using Lvg database (default is lvg)
+# MY_SQL_PASSWORD: password for lvg user (default is lvg)
+#-------------------------------------------------------------------
+MY_SQL_HOST=genotddev2.mayo.edu
+MY_SQL_NAME=lvg2004
+MY_SQL_USERNAME=lvg
+MY_SQL_PASSWORD=lvg
+#-------------------------------------------------------------------
+# Variables:
+#
+# MIN_TERM_LENGTH: min term length in trie.
+# MAX_RULE_UNINFLECTED_TERMS: The max. number of rules based uninflections.
+# MAX_METAPHONE: The max. number of characters in metaphone format.
+# CGI_EOP: the string of the mark of the end of the set.
+# NO_OUTPUT: the string for no output
+# TRUNCATED_RESULTS: the maximum number of output LexiItems.
+# DER_TRIE_STEM_LENGTH: minmum number of legal stem length in derivation trie
+# START_TAG: start tag for the unicode symbol name.
+# END_TAG: end tag for the unicode symbol name.
+#-------------------------------------------------------------------
+MIN_TERM_LENGTH=3
+MAX_RULE_UNINFLECTED_TERMS=10
+MAX_METAPHONE=6
+CGI_EOP=__THE_END__
+NO_OUTPUT=-No Output-
+TRUNCATED_RESULTS=80
+LVG_PROMPT=DEFAULT
+DIR_TRIE_STEM_LENGTH=0
+START_TAG=![
+END_TAG=]!

Added: ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/config/lvg.properties.windows
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/config/lvg.properties.windows?rev=1845321&view=auto
==============================================================================
--- ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/config/lvg.properties.windows (added)
+++ ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/config/lvg.properties.windows Wed Oct 31 11:03:43 2018
@@ -0,0 +1,68 @@
+#-------------------------------------------------------------------
+# Directory and files
+#
+# LVG_DIR: the absolute path of the lexical tool directory
+# LVG_STOP_WORD_FILE: the relative path (to LVG_DIR) of stop word file.
+# LVG_DIACRITICS_FILE: the relative path (to LVG_DIR) of diacritics file.
+# LVG_LIGATURES_FILE: the relative path (to LVG_DIR) of ligature file.
+# LVG_SYMBOL_SYNONYM_FILE: the relative path (to LVG_DIR) of symbol synonym file
+# LVG_NONINFO_WORD_FILE: the relative path (to LVG_DIR) of non-info word file.
+# LVG_CONJ_WORD_FILE: the relative path (to LVG_DIR) of conjuction file.
+#-------------------------------------------------------------------
+LVG_DIR=C:/external_workspace/TermSpotter/build/stagingArea/TermSpotter/resources/ctakes-lvg/
+LVG_STOP_WORD_FILE=data/misc/stopWords.data
+LVG_DIACRITICS_FILE=data/misc/diacritics.data
+LVG_LIGATURES_FILE=data/misc/ligatures.data
+LVG_SYMBOL_SYNONYM_FILE=data/misc/symbolSynonyms.data
+LVG_NONINFO_WORD_FILE=data/misc/nonInfoWords.data
+LVG_CONJ_WORD_FILE=data/misc/conjunctionWord.data
+#-------------------------------------------------------------------
+# Database and JDBC driver
+#
+# DATABASE: IDB, MYSQL, or OTHER
+# DB_DRIVER: the JDBC driver
+#-------------------------------------------------------------------
+DATABASE=MYSQL
+DB_DRIVER=org.gjt.mm.mysql.Driver
+
+#-------------------------------------------------------------------
+# IDB related properties
+#
+# IDB_PROPERTY_FILE: the relative path of IDB property file
+#-------------------------------------------------------------------
+IDB_PROPERTY_FILE=data/IDB/sample.prp
+#-------------------------------------------------------------------
+# MY_SQL related properties
+#
+# MY_SQL_HOST: Hostname of MySql database
+# MY_SQL_NAME: database name for Lvg (default is lvg2004)
+# MY_SQL_USERNAME: user name for using Lvg database (default is lvg)
+# MY_SQL_PASSWORD: password for lvg user (default is lvg)
+#-------------------------------------------------------------------
+MY_SQL_HOST=genotddev2.mayo.edu
+MY_SQL_NAME=lvg2004
+MY_SQL_USERNAME=lvg
+MY_SQL_PASSWORD=lvg
+#-------------------------------------------------------------------
+# Variables:
+#
+# MIN_TERM_LENGTH: min term length in trie.
+# MAX_RULE_UNINFLECTED_TERMS: The max. number of rules based uninflections.
+# MAX_METAPHONE: The max. number of characters in metaphone format.
+# CGI_EOP: the string of the mark of the end of the set.
+# NO_OUTPUT: the string for no output
+# TRUNCATED_RESULTS: the maximum number of output LexiItems.
+# DER_TRIE_STEM_LENGTH: minmum number of legal stem length in derivation trie
+# START_TAG: start tag for the unicode symbol name.
+# END_TAG: end tag for the unicode symbol name.
+#-------------------------------------------------------------------
+MIN_TERM_LENGTH=3
+MAX_RULE_UNINFLECTED_TERMS=10
+MAX_METAPHONE=6
+CGI_EOP=__THE_END__
+NO_OUTPUT=-No Output-
+TRUNCATED_RESULTS=80
+LVG_PROMPT=DEFAULT
+DIR_TRIE_STEM_LENGTH=0
+START_TAG=![
+END_TAG=]!

Added: ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/misc/conjunctionWord.data
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/misc/conjunctionWord.data?rev=1845321&view=auto
==============================================================================
--- ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/misc/conjunctionWord.data (added)
+++ ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/misc/conjunctionWord.data Wed Oct 31 11:03:43 2018
@@ -0,0 +1,107 @@
+#
+# This file contains all conjuction words
+#
+aboard
+about
+across
+after
+against
+aka
+albeit
+along
+alongside
+although
+amid
+amidst
+among
+amongst
+and
+around
+as
+astride
+at
+atop
+bar
+because
+before
+beneath
+beside
+besides
+between
+but
+by
+circa
+despite
+down
+during
+except
+excluding
+failing
+following
+for
+from
+given
+if
+in
+inside
+into
+less
+lest
+like
+mid
+minus
+near
+nearby
+nor
+notwithstanding
+of
+off
+on
+once
+only
+onto
+or
+out
+past
+pending
+per
+plus
+provided
+providing
+regarding
+respecting
+round
+since
+so
+suppose
+supposing
+than
+though
+throughout
+to
+toward
+towards
+under
+underneath
+unless
+unlike
+until
+unto
+upon
+versus
+vs
+wanting
+when
+whenever
+where
+whereas
+wherein
+wherever
+whether
+while
+whilst
+with
+within
+without
+worth
+yet

Added: ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/misc/diacritics.data
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/misc/diacritics.data?rev=1845321&view=auto
==============================================================================
--- ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/misc/diacritics.data (added)
+++ ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/misc/diacritics.data Wed Oct 31 11:03:43 2018
@@ -0,0 +1,5 @@
+#----------------------------------------------------------
+# Numeric Entity | Stripped Numeric Entity | Stripped Char (Notes)
+#----------------------------------------------------------
+216|79|O
+248|111|o

Added: ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/misc/ligatures.data
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/misc/ligatures.data?rev=1845321&view=auto
==============================================================================
--- ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/misc/ligatures.data (added)
+++ ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/misc/ligatures.data Wed Oct 31 11:03:43 2018
@@ -0,0 +1,7 @@
+#----------------------------------------------------------
+# Numeric Entity | Splitted String
+#----------------------------------------------------------
+198|AE
+230|ae
+338|OE
+339|oe

Added: ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/misc/nonInfoWords.data
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/misc/nonInfoWords.data?rev=1845321&view=auto
==============================================================================
--- ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/misc/nonInfoWords.data (added)
+++ ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/misc/nonInfoWords.data Wed Oct 31 11:03:43 2018
@@ -0,0 +1,9 @@
+#
+# This file contains all non-information wrods
+#
+NOT OTHERWISE SPECIFIED
+NEC AND NOS
+NOS
+(NOS)
+/NOS
+NEC

Added: ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/misc/stopWords.data
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/misc/stopWords.data?rev=1845321&view=auto
==============================================================================
--- ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/misc/stopWords.data (added)
+++ ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/misc/stopWords.data Wed Oct 31 11:03:43 2018
@@ -0,0 +1,14 @@
+#
+#	This file contain all the stop words
+#
+of
+and
+with
+for
+nos
+to
+in
+by
+on
+the
+(non mesh)

Added: ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/misc/symbolSynonyms.data
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/misc/symbolSynonyms.data?rev=1845321&view=auto
==============================================================================
--- ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/misc/symbolSynonyms.data (added)
+++ ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/misc/symbolSynonyms.data Wed Oct 31 11:03:43 2018
@@ -0,0 +1,4 @@
+#----------------------------------------------------------
+# Numeric Entity | Synonym Numeric Entity
+#----------------------------------------------------------
+956|181

Added: ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/rules/dm.rul
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/rules/dm.rul?rev=1845321&view=auto
==============================================================================
--- ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/rules/dm.rul (added)
+++ ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/rules/dm.rul Wed Oct 31 11:03:43 2018
@@ -0,0 +1,1036 @@
+# File: dm.rul
+#
+# @(#)dm.rul     1.1	24 Feb 1995
+#
+# This file contains the suffix rules for generating derivational
+# variants.
+#
+# All lines starting with a '#' are comment lines.
+# Whitespace is ignored.
+#
+# Format of non-comment lines is:
+#
+#   in_suffix|in_cat_|in_infl|out_suffix|out_cat|out_infl
+#
+# where,
+#
+#   in_suffix: is the matching suffix of input term
+#   in_cat: is the part of speech of the input term
+#   in_infl: is the inflection of the input term
+#   out_suffix: is the generated output suffix
+#   out_cat: is the part of speech of the output term
+#   out_infl: is the inflection of the output term
+#
+# Part of speech can be one of:
+#
+#   adj: adjective
+#   adv: adverb
+#   noun: noun
+#   verb: verb
+#
+# For example, ability|noun|able|adj
+#
+# Says that a noun ending in "ability" generates an adjective form with "able"
+# replacing "ability", e.g., readability -> readable
+#
+#
+# e.g. readability|readable
+RULE: ability$|noun|base|able$|adj|base
+#
+# e.g. washable|wash
+RULE: able$|adj|base|$|noun|base
+EXCEPTION: available|avail;
+EXCEPTION: ballotable|ballot;
+EXCEPTION: capable|cap;
+EXCEPTION: finable|fin;
+EXCEPTION: habitable|habit;
+EXCEPTION: potable|pot;
+EXCEPTION: sable|s;
+EXCEPTION: suitable|suit;
+EXCEPTION: tractable|tract;
+EXCEPTION: trainable|train;
+EXCEPTION: treatable|treat;
+EXCEPTION: able|;
+EXCEPTION: amenable|Amen;
+EXCEPTION: amenable|amen;
+EXCEPTION: bearable|bear;
+EXCEPTION: datable|DAT;
+EXCEPTION: reusable|reus;
+#
+# e.g. washable|wash
+RULE: able$|adj|base|$|verb|base
+EXCEPTION: ballotable|ballot;
+EXCEPTION: capable|cap;
+EXCEPTION: disagreeable|disagree;
+EXCEPTION: incurable|incur;
+EXCEPTION: able|;
+EXCEPTION: bearable|bear;
+EXCEPTION: potable|pot;
+#
+# e.g. irritable|irritate
+RULE: able$|adj|base|ate$|verb|base
+EXCEPTION: probable|probate;
+EXCEPTION: sable|sate;
+EXCEPTION: stable|state;
+EXCEPTION: tractable|tractate;
+#
+# e.g. improvable|improve
+RULE: able$|adj|base|e$|verb|base
+EXCEPTION: educable|educe;
+EXCEPTION: liable|lie;
+EXCEPTION: viable|vie;
+#
+# e.g. passably|pass
+RULE: ably$|adv|base|$|verb|base
+#
+# e.g. adequacy|adequate, celibacy|celibate
+RULE: acy$|noun|base|ate$|adj|base
+#
+# e.g. assemblage|assemble
+RULE: age$|noun|base|e$|verb|base
+EXCEPTION: borage|bore;
+EXCEPTION: salvage|salve;
+EXCEPTION: savage|save;
+EXCEPTION: mirage|mire;
+#
+# e.g. functional|function
+RULE: al$|adj|base|$|noun|base
+EXCEPTION: ammoniacal|ammoniac;
+EXCEPTION: banal|ban;
+EXCEPTION: carpal|carp;
+EXCEPTION: choreal|chore;
+EXCEPTION: costal|cost;
+EXCEPTION: dental|dent;
+EXCEPTION: fatal|fat;
+EXCEPTION: final|fin;
+EXCEPTION: fundal|fund;
+EXCEPTION: genal|gen;
+EXCEPTION: genual|genu;
+EXCEPTION: hemal|hem;
+EXCEPTION: humoral|humor;
+EXCEPTION: incidental|incident;
+EXCEPTION: jugal|jug;
+EXCEPTION: legal|leg;
+EXCEPTION: limbal|limb;
+EXCEPTION: literal|liter;
+EXCEPTION: meatal|meat;
+EXCEPTION: nodal|nod;
+EXCEPTION: papal|pap;
+EXCEPTION: partal|part;
+EXCEPTION: penal|pen;
+EXCEPTION: proal|pro;
+EXCEPTION: pupal|pup;
+EXCEPTION: ramal|ram;
+EXCEPTION: rational|ration;
+EXCEPTION: rimal|rim;
+EXCEPTION: sinal|sin;
+EXCEPTION: spinal|spin;
+EXCEPTION: sternal|stern;
+EXCEPTION: total|tot;
+EXCEPTION: tubal|tub;
+EXCEPTION: internal|intern;
+EXCEPTION: lateral|later;
+EXCEPTION: mineral|miner;
+EXCEPTION: oral|or;
+EXCEPTION: mal|m;
+EXCEPTION: al|;
+EXCEPTION: amoral|amor;
+EXCEPTION: basal|bas;
+EXCEPTION: bursal|burs;
+EXCEPTION: cemental|cement;
+EXCEPTION: cereal|cere;
+EXCEPTION: dorsal|dors;
+EXCEPTION: modal|mod;
+EXCEPTION: mortal|mort;
+EXCEPTION: renal|ren;
+EXCEPTION: lienal|lien;
+EXCEPTION: royal|roy;
+#
+# e.g. universal|universe
+RULE: al$|adj|base|e$|noun|base
+EXCEPTION: acral|acre;
+EXCEPTION: banal|bane;
+EXCEPTION: caval|cave;
+EXCEPTION: conjunctival|conjunctive;
+EXCEPTION: coral|core;
+EXCEPTION: dual|due;
+EXCEPTION: fetal|fete;
+EXCEPTION: final|fine;
+EXCEPTION: formal|forme;
+EXCEPTION: genal|gene;
+EXCEPTION: hemal|heme;
+EXCEPTION: internal|interne;
+EXCEPTION: moral|more;
+EXCEPTION: oral|ore;
+EXCEPTION: pial|pie;
+EXCEPTION: primal|prime;
+EXCEPTION: prodromal|prodrome;
+EXCEPTION: special|specie;
+EXCEPTION: vasal|vase;
+EXCEPTION: morsal|morse;
+EXCEPTION: callosal|callose;
+EXCEPTION: teal|tee;
+EXCEPTION: rimal|rime;
+EXCEPTION: sinal|sine;
+#
+# e.g.  protozoal|protozoa, vaginal|vagina, visceral|viscera
+RULE: al$|adj|base|a$|noun|base
+EXCEPTION: aural|aura;
+EXCEPTION: ideal|idea;
+EXCEPTION: material|materia;
+EXCEPTION: medial|media;
+EXCEPTION: oral|ora;
+EXCEPTION: prodromal|prodroma;
+EXCEPTION: spinal|spina;
+EXCEPTION: venal|vena;
+EXCEPTION: plasmal|plasma;
+EXCEPTION: anorectal|anorecta;
+EXCEPTION: antebrachial|antebrachia;
+EXCEPTION: antral|antra;
+EXCEPTION: astral|astra;
+EXCEPTION: atlantal|atlanta;
+EXCEPTION: atrial|atria;
+EXCEPTION: bigeminal|bigemina;
+EXCEPTION: brachial|brachia;
+EXCEPTION: bronchial|bronchia;
+EXCEPTION: cacuminal|cacumina;
+EXCEPTION: calcaneal|calcanea;
+EXCEPTION: callosal|callosa;
+EXCEPTION: capital|capita;
+EXCEPTION: cecal|ceca;
+EXCEPTION: central|centra;
+EXCEPTION: cerebral|cerebra;
+EXCEPTION: corporal|corpora;
+EXCEPTION: dorsal|dorsa;
+EXCEPTION: ilial|ilia;
+EXCEPTION: jugal|juga;
+EXCEPTION: marsupial|marsupia;
+EXCEPTION: menstrual|menstrua;
+EXCEPTION: pectoral|pectora;
+EXCEPTION: primordial|primordia;
+EXCEPTION: ramal|rama;
+EXCEPTION: tergal|terga;
+EXCEPTION: vaccinal|vaccina;
+EXCEPTION: angelical|angelica;
+EXCEPTION: tubal|tuba;
+EXCEPTION: vital|vita;
+EXCEPTION: zonal|zona;
+EXCEPTION: moral|mora;
+EXCEPTION: real|rea;
+EXCEPTION: mesal|mesa;
+EXCEPTION: molal|mola;
+EXCEPTION: papal|papa;
+EXCEPTION: teal|tea;
+# 
+# e.g. bacterial|bacterium
+RULE: al$|adj|base|um$|noun|base
+EXCEPTION: oval|ovum;
+EXCEPTION: radial|radium;
+EXCEPTION: seral|serum;
+EXCEPTION: caval|cavum;
+EXCEPTION: aural|aurum;
+EXCEPTION: central|centrum;
+EXCEPTION: jugal|jugum;
+EXCEPTION: cordial|cordium;
+#
+# e.g. governance|govern
+RULE: ance$|noun|base|$|verb|base
+EXCEPTION: importance|import;
+EXCEPTION: penance|pen;
+EXCEPTION: balance|BAL;
+EXCEPTION: balance|bal;
+EXCEPTION: Formance|form;
+#
+# e.g. defiance|defiant, conformance|conformant
+RULE: ance$|noun|base|ant$|adj|base
+EXCEPTION: ambulance|ambulant;
+#
+# e.g. insurance|insure
+RULE: ance$|noun|base|e$|verb|base
+EXCEPTION: balance|bale;
+EXCEPTION: finance|fine;
+#
+# e.g. relaxant|relax
+RULE: ant$|adj|base|$|verb|base
+EXCEPTION: errant|err;
+EXCEPTION: gallant|gall;
+EXCEPTION: important|import;
+EXCEPTION: rampant|ramp;
+EXCEPTION: trenchant|trench;
+EXCEPTION: Protestant|protest;
+EXCEPTION: idant|id;
+EXCEPTION: ant|;
+#
+# e.g. triumphant|triumph
+RULE: ant$|noun|base|$|verb|base
+EXCEPTION: formant|form;
+EXCEPTION: gallant|gall;
+EXCEPTION: spinant|spin;
+EXCEPTION: ant|;
+EXCEPTION: Protestant|protest;
+EXCEPTION: idant|id;
+#
+# e.g. radiant|radiate
+RULE: ant$|adj|base|ate$|verb|base
+EXCEPTION: arrogant|arrogate;
+EXCEPTION: pellant|pellate;
+#
+# e.g. stimulant|stimulate
+RULE: ant$|noun|base|ate$|verb|base
+EXCEPTION: grant|grate;
+EXCEPTION: plant|plate;
+EXCEPTION: rant|rate;
+EXCEPTION: slant|slate;
+#
+# e.g. fumigant|fumigation
+RULE: ant$|adj|base|ation$|noun|base
+EXCEPTION: conversant|conversation;
+EXCEPTION: dilatant|dilatation;
+EXCEPTION: important|importation;
+EXCEPTION: pellant|pellation;
+EXCEPTION: vacant|vacation;
+EXCEPTION: Protestant|protestation;
+#
+# e.g. servant|serve
+RULE: ant$|noun|base|e$|verb|base
+EXCEPTION: fusant|fuse;
+EXCEPTION: maturant|mature;
+EXCEPTION: mutant|mute;
+EXCEPTION: truant|true;
+EXCEPTION: savant|save;
+#
+# e.g. Cambodian|Cambodia
+RULE: an$|adj|base|a$|noun|base
+EXCEPTION: median|media;
+EXCEPTION: span|spa;
+EXCEPTION: Dirian|diria;
+EXCEPTION: Dominican|dominica;
+EXCEPTION: Raman|rama;
+EXCEPTION: lean|lea;
+EXCEPTION: nonan|nona;
+#
+# e.g. amphibian|amphibia
+RULE: an$|noun|base|a$|noun|base
+EXCEPTION: loan|loa;
+EXCEPTION: median|media;
+EXCEPTION: span|spa;
+EXCEPTION: Dirian|diria;
+EXCEPTION: Dominican|dominica;
+EXCEPTION: Duran|dura;
+EXCEPTION: Milian|milia;
+EXCEPTION: ban|ba;
+EXCEPTION: bran|bra;
+EXCEPTION: lean|lea;
+EXCEPTION: pean|pea;
+EXCEPTION: aran|ara;
+EXCEPTION: evan|eva;
+EXCEPTION: ratan|rata;
+EXCEPTION: nonan|nona;
+EXCEPTION: nyhan|nyha;
+EXCEPTION: saran|sara;
+#
+# e.g. inflationary|inflation, cautionary|caution
+RULE: ary$|adj|base|$|noun|base
+EXCEPTION: binary|bin;
+EXCEPTION: literary|liter;
+EXCEPTION: rotary|rot;
+EXCEPTION: cavitary|cavit;
+#
+# e.g. insular|insulate, modular|modulate
+RULE: ar$|adj|base|ate$|verb|base
+EXCEPTION: far|fate;
+EXCEPTION: insular|insulate;
+#
+# e.g. fibular|fibula
+RULE: ar$|adj|base|a$|noun|base
+EXCEPTION: amygdalar|amygdala;
+EXCEPTION: columnar|columna;
+EXCEPTION: pilar|pila;
+EXCEPTION: velar|vela;
+EXCEPTION: sear|sea;
+EXCEPTION: lunar|luna;
+EXCEPTION: molar|mola;
+EXCEPTION: pylar|pyla;
+#
+# e.g. modular|module
+RULE: ar$|adj|base|e$|noun|base
+EXCEPTION: alar|ale;
+EXCEPTION: hoar|hoe;
+EXCEPTION: pilar|pile;
+EXCEPTION: solar|sole;
+EXCEPTION: volar|vole;
+EXCEPTION: lunar|lune;
+EXCEPTION: malar|male;
+EXCEPTION: talar|tale;
+EXCEPTION: lazar|laze;
+EXCEPTION: mular|mule;
+#
+# e.g. alveolar|alveolus
+RULE: ar$|adj|base|us$|noun|base
+EXCEPTION: popular|populus;
+# 
+# e.g. fantasia|fantastic
+RULE: asia$|noun|base|astic$|adj|base
+#
+# e.g. flirtation|flirt
+RULE: ation$|noun|base|$|verb|base
+EXCEPTION: designation|design;
+EXCEPTION: donation|don;
+EXCEPTION: revelation|revel;
+EXCEPTION: rotation|rot;
+EXCEPTION: situation|situ;
+EXCEPTION: oration|or;
+EXCEPTION: conation|con;
+EXCEPTION: fellation|fell;
+#
+# e.g. alienation|alienate
+RULE: ation$|noun|base|ate$|verb|base
+EXCEPTION: ration|rate;
+EXCEPTION: station|state;
+EXCEPTION: creation|create;
+EXCEPTION: aspiration|aspirate;
+EXCEPTION: predation|predate;
+EXCEPTION: recreation|recreate;
+EXCEPTION: vacation|vacate;
+#
+# e.g. admiration|admire
+RULE: ation$|noun|base|e$|verb|base
+EXCEPTION: education|educe;
+EXCEPTION: machination|machine;
+EXCEPTION: probation|probe;
+EXCEPTION: salvation|salve;
+EXCEPTION: aspiration|aspire;
+EXCEPTION: conation|cone;
+EXCEPTION: mutation|mute;
+#
+# e.g. narrative|narrate
+RULE: ative$|noun|base|ate$|verb|base
+#
+# e.g. pigmented|pigment
+RULE: ed$|adj|base|$|noun|base
+EXCEPTION: abed|ab;
+EXCEPTION: armed|arm;
+EXCEPTION: bated|bat;
+EXCEPTION: collected|collect;
+EXCEPTION: fated|fat;
+EXCEPTION: lobed|lob;
+EXCEPTION: striped|strip;
+EXCEPTION: united|unit;
+EXCEPTION: wicked|wick;
+EXCEPTION: cared|car;
+EXCEPTION: rated|rat;
+EXCEPTION: ed|;
+EXCEPTION: armoured|Armour;
+EXCEPTION: spined|spin;
+EXCEPTION: tubed|tub;
+EXCEPTION: wooded|Wood;
+EXCEPTION: naked|nak;
+#
+# e.g. glued|glue
+RULE: ed$|adj|base|e$|noun|base
+EXCEPTION: closed|close;
+EXCEPTION: jaded|jade;
+EXCEPTION: incensed|incense;
+EXCEPTION: tired|tire;
+EXCEPTION: pied|pie;
+#
+# e.g. fluency|fluent cogency|cogent
+RULE: ency$|noun|base|ent$|adj|base
+EXCEPTION: emergency|emergent;
+#
+# e.g. absorbency|absorbent
+RULE: ency$|noun|base|ent$|noun|base
+#
+# e.g. deferential|deference
+RULE: ential$|adj|base|ence$|noun|base
+#
+# e.g. corpulent|corpulence
+RULE: ent$|adj|base|ence$|noun|base
+EXCEPTION: influent|influence;
+EXCEPTION: eminent|eminence;
+EXCEPTION: bent|bence;
+#
+# e.g. machinery|machine
+RULE: ery$|noun|base|e$|noun|base
+EXCEPTION: forgery|forge;
+EXCEPTION: surgery|surge;
+EXCEPTION: misery|mise;
+#
+# e.g. employer|employ
+RULE: er$|noun|base|$|verb|base
+EXCEPTION: buffer|buff;
+EXCEPTION: bunker|bunk;
+EXCEPTION: butter|butt;
+EXCEPTION: canter|cant;
+EXCEPTION: caper|cap;
+EXCEPTION: career|care;
+EXCEPTION: charter|chart;
+EXCEPTION: corner|corn;
+EXCEPTION: dresser|dress;
+EXCEPTION: flicker|flick;
+EXCEPTION: flower|flow;
+EXCEPTION: rider|rid;
+EXCEPTION: sewer|sew;
+EXCEPTION: shower|show;
+EXCEPTION: skewer|skew;
+EXCEPTION: sweater|sweat;
+EXCEPTION: taper|tap;
+EXCEPTION: tender|tend;
+EXCEPTION: tower|tow;
+EXCEPTION: trimer|trim;
+EXCEPTION: wager|wag;
+EXCEPTION: whisker|whisk;
+EXCEPTION: fiber|fib;
+EXCEPTION: venter|vent;
+EXCEPTION: wither|with;
+EXCEPTION: er|;
+EXCEPTION: Bender|bend;
+EXCEPTION: Cooper|coop;
+EXCEPTION: Crocker|crock;
+EXCEPTION: Fisher|fish;
+EXCEPTION: Fowler|fowl;
+EXCEPTION: Gruber|grub;
+EXCEPTION: Horner|horn;
+EXCEPTION: Hunter|hunt;
+EXCEPTION: Hurler|hurl;
+EXCEPTION: Letterer|letter;
+EXCEPTION: Lister|list;
+EXCEPTION: Palmer|palm;
+EXCEPTION: Parker|park;
+EXCEPTION: Ringer|ring;
+EXCEPTION: Senter|sent;
+EXCEPTION: Turner|turn;
+EXCEPTION: Walker|walk;
+EXCEPTION: Wheeler|wheel;
+EXCEPTION: adder|add;
+EXCEPTION: banter|bant;
+EXCEPTION: dimer|dim;
+EXCEPTION: former|form;
+EXCEPTION: gruber|grub;
+EXCEPTION: hunger|hung;
+EXCEPTION: liter|lit;
+EXCEPTION: meter|met;
+EXCEPTION: number|numb;
+EXCEPTION: plumber|plumb;
+EXCEPTION: porter|port;
+EXCEPTION: rooster|roost;
+EXCEPTION: roter|rot;
+EXCEPTION: scraper|scrap;
+EXCEPTION: snicker|snick;
+EXCEPTION: solder|sold;
+EXCEPTION: splinter|splint;
+EXCEPTION: luster|lust;
+EXCEPTION: liner|lin;
+EXCEPTION: muller|mull;
+#
+# e.g. pursuer|pursue
+RULE: er$|noun|base|e$|verb|base
+EXCEPTION: crater|crate;
+EXCEPTION: liver|live;
+EXCEPTION: river|rive;
+EXCEPTION: singer|singe;
+EXCEPTION: baker|bake;
+EXCEPTION: piper|pipe;
+EXCEPTION: shaker|shake;
+EXCEPTION: analyser|analyse;
+EXCEPTION: meter|mete;
+EXCEPTION: wager|wage;
+#
+# e.g. hypothetic|hypothesis
+RULE: etic$|adj|base|esis$|noun|base
+EXCEPTION: genetic|genesis;
+#
+# e.g. maniac|mania
+RULE: iac$|noun|base|ia$|noun|base
+EXCEPTION: ammoniac|ammonia;
+#
+# e.g. colonial|colony
+RULE: ial$|adj|base|y$|noun|base
+EXCEPTION: partial|party;
+#
+# e.g. reliance|reliant
+RULE: iance$|noun|base|iant$|adj|base
+#
+# e.g. Algerian|Algeria
+RULE: ian$|adj|base|ia$|noun|base
+EXCEPTION: median|media;
+EXCEPTION: Dirian|diria;
+#
+# e.g. Syrian|Syria
+RULE: ian$|noun|base|ia$|noun|base
+EXCEPTION: median|media;
+EXCEPTION: Dirian|diria;
+EXCEPTION: Milian|milia;
+#
+# e.g. trombiculiasis|trombicula
+RULE: iasis$|noun|base|a$|noun|base
+EXCEPTION: auriasis|aura;
+EXCEPTION: loiasis|loa;
+# 
+# e.g. critical|critic
+RULE: ical$|adj|base|ic$|noun|base
+#
+# e.g. anatomical|anatomy
+RULE: ical$|adj|base|y$|noun|base
+#
+# e.g. elasticity|elastic
+RULE: icity$|noun|base|ic$|adj|base
+#
+# e.g. alcoholic|alcohol
+RULE: ic$|adj|base|$|noun|base
+EXCEPTION: actinic|actin;
+EXCEPTION: classic|class;
+EXCEPTION: conic|con;
+EXCEPTION: formic|form;
+EXCEPTION: genic|gen;
+EXCEPTION: pediatric|pediatr;
+EXCEPTION: rustic|rust;
+EXCEPTION: sonic|son;
+EXCEPTION: tonic|ton;
+EXCEPTION: manic|man;
+EXCEPTION: genetic|genet;
+EXCEPTION: genetic|Genet;
+EXCEPTION: limbic|limb;
+EXCEPTION: ic|;
+EXCEPTION: Gallic|gall;
+EXCEPTION: Homeric|homer;
+EXCEPTION: Masonic|mason;
+EXCEPTION: abasic|abas;
+EXCEPTION: adenic|aden;
+EXCEPTION: allelic|allel;
+EXCEPTION: anisic|anis;
+EXCEPTION: arsonic|arson;
+EXCEPTION: ataraxic|Atarax;
+EXCEPTION: balanic|balan;
+EXCEPTION: basic|bas;
+EXCEPTION: basilic|basil;
+EXCEPTION: biotic|Biot;
+EXCEPTION: caloric|calor;
+EXCEPTION: choreic|chore;
+EXCEPTION: crotonic|Croton;
+EXCEPTION: cryptic|crypt;
+EXCEPTION: cubic|cub;
+EXCEPTION: enzymic|enzym;
+EXCEPTION: folic|fol;
+EXCEPTION: fundic|fund;
+EXCEPTION: funic|fun;
+EXCEPTION: gallic|gall;
+EXCEPTION: genesic|genes;
+EXCEPTION: hemic|hem;
+EXCEPTION: ironic|iron;
+EXCEPTION: lipasic|lipas;
+EXCEPTION: lyssic|lyss;
+EXCEPTION: maleic|male;
+EXCEPTION: phasic|phas;
+EXCEPTION: plumbic|plumb;
+EXCEPTION: tabic|tab;
+EXCEPTION: tactic|tact;
+EXCEPTION: toric|tor;
+EXCEPTION: biotic|biot;
+EXCEPTION: malic|mal;
+EXCEPTION: rabic|rab;
+#
+# e.g. amnesic|amnesia; and  academic|academia
+RULE: ia$|noun|base|ic$|adj|base
+EXCEPTION: acidophilia|acidophilic;
+EXCEPTION: media|medic;
+EXCEPTION: olympia|Olympic;
+EXCEPTION: Eugenia|eugenic;
+#
+# e.g. barbaric|barbarism
+RULE: ic$|adj|base|ism$|noun|base
+EXCEPTION: bimetallic|bimetallism;
+EXCEPTION: boric|borism;
+EXCEPTION: bromic|bromism;
+EXCEPTION: camphoric|camphorism;
+EXCEPTION: telluric|tellurism;
+EXCEPTION: cubic|Cubism;
+#
+# e.g. demagogic|demagogy
+RULE: ic$|adj|base|y$|noun|base
+EXCEPTION: autonomic|autonomy;
+EXCEPTION: colonic|colony;
+EXCEPTION: ferric|ferry;
+EXCEPTION: Germanic|germany;
+EXCEPTION: caffeic|caffey;
+EXCEPTION: italic|Italy;
+EXCEPTION: academic|academy;
+EXCEPTION: sympathic|sympathy;
+#
+# e.g. deficient|deficiency
+RULE: ient$|adj|base|iency$|noun|base
+#
+# e.g. easily|easy
+RULE: ily$|adv|base|y$|adj|base
+#
+# e.g. ambition|ambitious religion|religious
+RULE: ion$|noun|base|ious$|adj|base
+EXCEPTION: fraction|fractious;
+EXCEPTION: pion|pious;
+#
+# e.g. glorious|glory
+RULE: ious$|adj|base|y$|noun|base
+EXCEPTION: copious|copy;
+#
+# e.g. capitalism|capital
+RULE: ism$|noun|base|$|noun|base
+EXCEPTION: actinism|actin;
+EXCEPTION: humanism|human;
+EXCEPTION: ism|;
+EXCEPTION: Catholicism|catholic;
+EXCEPTION: Expressionism|expression;
+EXCEPTION: Impressionism|impression;
+EXCEPTION: cubism|cub;
+#
+# e.g. anachronism|anachronistic atavism|atavistic
+RULE: ism$|noun|base|istic$|adj|base
+EXCEPTION: ballism|ballistic;
+#
+# e.g. artist|art
+RULE: ist$|noun|base|$|noun|base
+EXCEPTION: dentist|dent;
+EXCEPTION: grist|gr;
+EXCEPTION: list|l;
+EXCEPTION: methodist|method;
+EXCEPTION: humanist|human;
+EXCEPTION: mist|m;
+#
+# e.g. fatalist|fatalism; and atheist|atheism
+RULE: ist$|noun|base|ism$|noun|base
+EXCEPTION: agonist|agonism;
+EXCEPTION: Baptist|baptism;
+#
+# e.g. abnormality|abnormal
+RULE: ity$|noun|base|$|adj|base
+EXCEPTION: dimity|dim;
+EXCEPTION: dexterity|dexter;
+EXCEPTION: hilarity|hilar;
+EXCEPTION: majority|major;
+EXCEPTION: density|dens;
+EXCEPTION: severity|sever;
+#
+# e.g. adversity|adverse
+RULE: ity$|noun|base|e$|adj|base
+EXCEPTION: relativity|relative;
+EXCEPTION: cooperativity|Cooperative;
+EXCEPTION: gentility|Gentile;
+EXCEPTION: adversity|adverse;
+#
+# e.g. frivolity|frivolous
+RULE: ity$|noun|base|ous$|adj|base
+EXCEPTION: ingenuity|ingenuous;
+#
+# e.g. explosive|explosion
+RULE: ive$|noun|base|ion$|noun|base
+EXCEPTION: accusative|accusation;
+EXCEPTION: defective|defection;
+EXCEPTION: determinative|determination;
+EXCEPTION: native|nation;
+EXCEPTION: objective|objection;
+EXCEPTION: passive|passion;
+EXCEPTION: positive|position;
+EXCEPTION: subjunctive|subjunction;
+EXCEPTION: reflexive|reflexion;
+EXCEPTION: conservative|conservation;
+EXCEPTION: cooperative|cooperation;
+#
+# e.g. civilization|civilize
+RULE: ization$|noun|base|ize$|verb|base
+#
+# e.g. actively|active
+RULE: ly$|adv|base|$|adj|base
+EXCEPTION: hardly|hard;
+EXCEPTION: lately|late;
+EXCEPTION: early|ear;
+EXCEPTION: singly|sing;
+EXCEPTION: ly|;
+EXCEPTION: awfully|awful;
+EXCEPTION: badly|bad;
+EXCEPTION: barely|bare;
+EXCEPTION: deeply|deep;
+EXCEPTION: openly|open;
+EXCEPTION: poorly|poor;
+EXCEPTION: really|real;
+EXCEPTION: sharply|sharp;
+EXCEPTION: shortly|short;
+EXCEPTION: wildly|wild;
+#
+# e.g. invariably|invariable
+RULE: ly$|adv|base|le$|adj|base
+EXCEPTION: supply|supple;
+EXCEPTION: apply|apple;
+#
+# e.g. editor|edit
+RULE: or$|noun|base|$|verb|base
+EXCEPTION: armor|arm;
+EXCEPTION: demeanor|demean;
+EXCEPTION: donor|don;
+EXCEPTION: door|do;
+EXCEPTION: or|;
+EXCEPTION: humor|hum;
+EXCEPTION: meteor|mete;
+EXCEPTION: rigor|rig;
+EXCEPTION: tailor|tail;
+EXCEPTION: Castor|cast;
+EXCEPTION: Tendor|tend;
+EXCEPTION: cantor|cant;
+EXCEPTION: castor|cast;
+EXCEPTION: clamor|clam;
+EXCEPTION: furor|fur;
+EXCEPTION: rotor|rot;
+EXCEPTION: tumor|tum;
+EXCEPTION: rubor|rub;
+#
+# e.g. conductor|conduct
+RULE: or$|noun|base|e$|verb|base
+EXCEPTION: dolor|dole;
+EXCEPTION: equator|equate;
+EXCEPTION: honor|hone;
+EXCEPTION: livor|live;
+EXCEPTION: minor|mine;
+EXCEPTION: razor|raze;
+EXCEPTION: stridor|stride;
+EXCEPTION: primor|prime;
+EXCEPTION: timor|time;
+EXCEPTION: dicor|dice;
+EXCEPTION: donor|done;
+EXCEPTION: fetor|fete;
+EXCEPTION: pavor|pave;
+EXCEPTION: savor|save;
+EXCEPTION: tensor|tense;
+# 
+# e.g. diagnosis|diagnose
+RULE: osis$|noun|base|ose$|verb|base
+#
+# e.g. porosity|porous
+RULE: osity$|noun|base|ous$|adj|base
+#
+# e.g. ichthyotic|ichthyosis
+RULE: otic$|adj|base|osis$|noun|base
+#
+# e.g. cancerous|cancer
+RULE: ous$|adj|base|$|noun|base
+EXCEPTION: bullous|bull;
+EXCEPTION: hideous|hide;
+EXCEPTION: parous|par;
+EXCEPTION: ous|;
+EXCEPTION: amorous|amor;
+EXCEPTION: androgenous|androgen;
+EXCEPTION: caseous|case;
+EXCEPTION: circuitous|circuit;
+EXCEPTION: genetous|Genet;
+EXCEPTION: momentous|moment;
+EXCEPTION: spinous|spin;
+EXCEPTION: sanous|san;
+EXCEPTION: torous|tor;
+#
+# e.g. analogous|analogy
+RULE: ous$|adj|base|y$|noun|base
+EXCEPTION: bullous|bully;
+EXCEPTION: ferrous|ferry;
+#
+# e.g. diffusion|diffuse
+RULE: sion$|noun|base|se$|verb|base
+EXCEPTION: basion|base;
+EXCEPTION: conversion|converse;
+#
+# e.g. diversion|divert
+RULE: sion$|noun|base|t$|verb|base
+EXCEPTION: basion|bat;
+EXCEPTION: lesion|let;
+EXCEPTION: mission|mist;
+EXCEPTION: scansion|scant;
+EXCEPTION: version|vert;
+#
+# e.g. obsession|obsess
+RULE: ssion$|noun|base|ss$|verb|base
+EXCEPTION: compassion|compass;
+EXCEPTION: mission|miss;
+EXCEPTION: passion|pass;
+#
+# e.g. aseptic|asepsis
+RULE: tic$|adj|base|sis$|noun|base
+EXCEPTION: genetic|genesis;
+#
+# e.g. tabular|table
+RULE: ular$|adj|base|le$|noun|base
+EXCEPTION: articular|article;
+EXCEPTION: particular|particle;
+#
+# e.g. nebular|nebula
+RULE: ular$|adj|base|ula$|noun|base
+#     
+# e.g. bushy|bush
+RULE: y$|adj|base|$|noun|base
+EXCEPTION: army|arm;
+EXCEPTION: bandy|band;
+EXCEPTION: bully|bull;
+EXCEPTION: busy|bus;
+EXCEPTION: dilatory|dilator;
+EXCEPTION: dumpy|dump;
+EXCEPTION: handy|hand;
+EXCEPTION: husky|husk;
+EXCEPTION: jaunty|jaunt;
+EXCEPTION: lacy|lac;
+EXCEPTION: naughty|naught;
+EXCEPTION: pasty|past;
+EXCEPTION: perky|perk;
+EXCEPTION: ready|read;
+EXCEPTION: ruby|rub;
+EXCEPTION: scary|scar;
+EXCEPTION: seedy|seed;
+EXCEPTION: shiny|shin;
+EXCEPTION: silly|sill;
+EXCEPTION: steady|stead;
+EXCEPTION: sticky|stick;
+EXCEPTION: slippery|slipper;
+EXCEPTION: stingy|sting;
+EXCEPTION: stuffy|stuff;
+EXCEPTION: testy|test;
+EXCEPTION: tiny|tin;
+EXCEPTION: wary|war;
+EXCEPTION: weary|wear;
+EXCEPTION: early|earl;
+EXCEPTION: hearty|heart;
+EXCEPTION: study|stud;
+EXCEPTION: mousey|mouse;
+EXCEPTION: y|;
+EXCEPTION: astray|astra;
+EXCEPTION: bally|ball;
+EXCEPTION: butoxy|Butox;
+EXCEPTION: downy|Down;
+EXCEPTION: earthy|Earth;
+EXCEPTION: hilly|Hill;
+EXCEPTION: lazy|Laz;
+EXCEPTION: malay|mala;
+EXCEPTION: okay|Oka;
+EXCEPTION: okay|oka;
+EXCEPTION: potty|Pott;
+EXCEPTION: potty|pott;
+EXCEPTION: silvery|Silver;
+EXCEPTION: thorny|Thorn;
+EXCEPTION: bay|ba;
+EXCEPTION: flaky|flak;
+EXCEPTION: shady|shad;
+EXCEPTION: lazy|laz;
+EXCEPTION: massy|mass;
+EXCEPTION: spiny|spin;
+#
+# e.g. bristly|bristle
+RULE: y$|adj|base|e$|noun|base
+EXCEPTION: fey|fee;
+EXCEPTION: heavy|heave;
+EXCEPTION: holy|hole;
+EXCEPTION: nosy|nose;
+EXCEPTION: poky|poke;
+EXCEPTION: racy|race;
+EXCEPTION: tidy|tide;
+EXCEPTION: wary|ware;
+EXCEPTION: mousy|mouse;
+EXCEPTION: steely|steele;
+EXCEPTION: airy|aire;
+EXCEPTION: foy|foe;
+EXCEPTION: ley|lee;
+EXCEPTION: may|mae;
+EXCEPTION: roy|roe;
+EXCEPTION: tiny|tine;
+#
+# e.g. abundancy|abundance
+RULE: y$|noun|base|e$|noun|base
+EXCEPTION: copy|cope;
+EXCEPTION: gravy|grave;
+EXCEPTION: heavy|heave;
+EXCEPTION: policy|police;
+EXCEPTION: poly|pole;
+EXCEPTION: story|store;
+EXCEPTION: tidy|tide;
+EXCEPTION: toy|toe;
+EXCEPTION: mousy|mouse;
+EXCEPTION: steely|steele;
+EXCEPTION: foy|foe;
+EXCEPTION: ley|lee;
+EXCEPTION: may|mae;
+EXCEPTION: roy|roe;
+#
+# some neo-classical terminal rules added: 24-Sep-92
+#
+#e.g. thermograph|thermogram
+RULE: graph$|noun|base|gram$|noun|base
+EXCEPTION: diagraph|diagram;
+EXCEPTION: graph|gram;
+EXCEPTION: hysterograph|hysterogram;
+EXCEPTION: micrograph|microgram;
+#
+#e.g. thermogram|thermography
+RULE: gram$|noun|base|graphy$|noun|base
+EXCEPTION: histogram|histography;
+EXCEPTION: microgram|micrography;
+EXCEPTION: osteogram|osteography;
+#
+#e.g. photograph|photography
+RULE: graph$|noun|base|graphy$|noun|base
+EXCEPTION: urethrograph|urethrography;
+#
+#e.g. thermogram|thermographic
+RULE: gram$|noun|base|graphic$|adj|base
+EXCEPTION: gram|graphic;
+#
+#e.g.
+RULE: meter$|noun|base|metry$|noun|base
+EXCEPTION: auxometer|auxometry;
+EXCEPTION: biometer|biometry;
+EXCEPTION: oscillometer|oscillometry;
+EXCEPTION: pathometer|pathometry;
+EXCEPTION: skiameter|skiametry;
+EXCEPTION: urometer|urometry;
+#
+#e.g.
+RULE: physis$|noun|base|physeal$|adj|base
+#
+#NOMINALIZATION Rules:
+#
+# This is an extreemly productive nominalization formation rule!
+# reflected in the "nominalization=" and "nominalization_of=" slots
+# in the lexicon. Aronoff (1976) discusses the productivity of "ness"
+# versus "ity".
+# e.g. aptness|apt
+RULE: ness$|noun|base|$|adj|base
+EXCEPTION: chilliness|chilli;
+EXCEPTION: likeness|like;
+EXCEPTION: witness|wit;
+EXCEPTION: wilderness|wilder;
+#
+# e.g. retire|retirement
+RULE: ment$|noun|base|$|verb|base
+EXCEPTION: Enlightenment|enlighten;
+EXCEPTION: Government|govern;
+EXCEPTION: abutment|abut;
+EXCEPTION: ailment|ail;
+EXCEPTION: apartment|apart;
+EXCEPTION: basement|base;
+EXCEPTION: catchment|catch;
+EXCEPTION: department|depart;
+EXCEPTION: deportment|deport;
+EXCEPTION: environment|environ;
+EXCEPTION: filament|fila;
+EXCEPTION: foment|fo;
+EXCEPTION: lament|la;
+EXCEPTION: moment|mo;
+EXCEPTION: parchment|parch;
+EXCEPTION: pavement|pave;
+EXCEPTION: pigment|pig;
+EXCEPTION: supplement|supple;
+EXCEPTION: temperament|tempera;
+EXCEPTION: wonderment|wonder;
+#
+#e.g. 
+RULE: y$|verb|base|ication$|noun|base
+EXCEPTION: comply|complication;
+EXCEPTION: fry|frication;
+EXCEPTION: reply|replication;
+EXCEPTION: rusty|rustication;
+EXCEPTION: supply|supplication;
+#
+# e.g. provide|provision
+RULE: de$|verb|base|sion$|noun|base
+EXCEPTION: bade|basion;

Added: ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/rules/exceptionD.data
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/rules/exceptionD.data?rev=1845321&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/rules/exceptionD.data
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/rules/exceptionI.data
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/rules/exceptionI.data?rev=1845321&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/rules/exceptionI.data
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/rules/im.rul
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/rules/im.rul?rev=1845321&view=auto
==============================================================================
--- ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/rules/im.rul (added)
+++ ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/rules/im.rul Wed Oct 31 11:03:43 2018
@@ -0,0 +1,151 @@
+# All comments start with a '#' character in col 1.
+# Empty lines and lines with only whitespace are ignored.
+#
+# @(#)im.rul	1.1	24 Feb 1995
+#
+# This file describes the rules used to generate inflections.
+#
+# The format is as follows:
+#
+#   <in pattern>|<in cat>|<in infl>|<out pattern>|<out cat>|<out infl>
+#
+# where:
+#
+#   <in pattern> is an input pattern to match as a suffix.
+#     Lowercase characters are matched as literals.  Uppercase letters
+#     have the following meaning: D=digit [0-9], L=any letter, ^=start
+#     $=end, [AEIOU]=any vowel, [BCFGHJKMNPQRSTVWXYZ]=any consonant.
+#     The same uppercase letter used in the output pattern unifies with
+#     the actual character that matched the input.
+#   <in cat> is the input category and must be one of: adj, adv, noun or verb.
+#   <in infl> is the input inflection and must be one of: base, singular,
+#     positive, infinitive, plural, comparative, superlative, present,
+#     ing or past.
+#   <out cat> refers to output category.
+#   <out infl> refers to output inflection.
+#
+# The rules are stated to mean that if the input matches the pattern and is
+# of the appropriate category and inflection, then the stated rule generates
+# the output inflection.  Note that rules only need be stated in one direction.
+# The reverse rules are automatically generated.  Duplicate identical rules
+# are unique'ed out.
+#
+# Identity rules
+RULE: $|verb|base|$|verb|base
+RULE: $|noun|base|$|noun|base
+RULE: $|adj|base|$|adj|base
+RULE: $|adv|base|$|adv|base
+#
+# Adjective rules
+RULE: Cy$|adj|positive|Cier$|adj|comparative
+RULE: Cy$|adj|positive|Ciest$|adj|superlative
+#
+RULE: CVC$|adj|positive|CVSCer$|adj|comparative
+RULE: CVC$|adj|positive|CVSCest$|adj|superlative
+#
+RULE: e$|adj|positive|er$|adj|comparative
+EXCEPTION: inhale|inhaler;
+RULE: e$|adj|positive|est$|adj|superlative
+EXCEPTION: e|est;
+#
+RULE: $|adj|positive|er$|adj|comparative
+EXCEPTION: |er;
+EXCEPTION: inhal|inhaler;
+#
+RULE: $|adj|positive|est$|adj|superlative
+EXCEPTION: |est;
+#
+# Adverb rules
+RULE: Cy$|adv|positive|Cier$|adv|comparative
+RULE: Cy$|adv|positive|Ciest$|adv|superlative
+#
+RULE: CVC$|adv|positive|CVSCer$|adv|comparative
+RULE: CVC$|adv|positive|CVSCest$|adv|superlative
+#
+RULE: e$|adv|positive|er$|adv|comparative
+EXCEPTION: inhale|inhaler;
+#
+RULE: e$|adv|positive|est$|adv|superlative
+EXCEPTION: e|est;
+#
+RULE: $|adv|positive|er$|adv|comparative
+EXCEPTION: |er;
+EXCEPTION: inhal|inhaler;
+#
+RULE: $|adv|positive|est$|adv|superlative
+EXCEPTION: |est;
+#
+# Noun rules (reg)
+RULE: ^L$|noun|singular|^L's$|noun|plural
+RULE: D$|noun|singular|D's$|noun|plural
+RULE: Cy$|noun|singular|Cies$|noun|plural
+RULE: Co$|noun|singular|Cos$|noun|plural
+RULE: Co$|noun|singular|Coes$|noun|plural
+RULE: ch$|noun|singular|ches$|noun|plural
+RULE: sh$|noun|singular|shes$|noun|plural
+RULE: s$|noun|singular|ses$|noun|plural
+RULE: x$|noun|singular|xes$|noun|plural
+RULE: z$|noun|singular|zes$|noun|plural
+RULE: $|noun|singular|s$|noun|plural
+EXCEPTION: |s;
+#
+# Noun rules (glreg)
+RULE: us$|noun|singular|i$|noun|plural
+EXCEPTION: antus|anti;
+#
+RULE: ma$|noun|singular|mata$|noun|plural
+RULE: a$|noun|singular|ae$|noun|plural
+RULE: um$|noun|singular|a$|noun|plural
+RULE: on$|noun|singular|a$|noun|plural
+RULE: sis$|noun|singular|ses$|noun|plural
+RULE: is$|noun|singular|ides$|noun|plural
+RULE: men$|noun|singular|mina$|noun|plural
+RULE: ex$|noun|singular|ices$|noun|plural
+RULE: x$|noun|singular|ces$|noun|plural
+#
+### plural rules include irregular
+#   noun inflection rules. (ACB) (1-Oct-92)
+FILE: plural.rul
+#
+# Verb rules (present)
+RULE: Cy$|verb|infinitive|Cies$|verb|pres
+RULE: s$|verb|infinitive|ses$|verb|pres
+RULE: x$|verb|infinitive|xes$|verb|pres
+RULE: z$|verb|infinitive|zes$|verb|pres
+RULE: ch$|verb|infinitive|ches$|verb|pres
+RULE: sh$|verb|infinitive|shes$|verb|pres
+RULE: Co$|verb|infinitive|Cos$|verb|pres
+EXCEPTION: do|dos;
+RULE: Co$|verb|infinitive|Coes$|verb|pres
+RULE: CVC$|verb|infinitive|CVCs$|verb|pres
+RULE: $|verb|infinitive|s$|verb|pres
+EXCEPTION: |s;
+EXCEPTION: do|dos;
+#
+# Verb rules (past)
+RULE: Cy$|verb|infinitive|Cied$|verb|past
+RULE: CVC$|verb|infinitive|CVSCed$|verb|past
+RULE: e$|verb|infinitive|ed$|verb|past
+EXCEPTION: e|ed;
+EXCEPTION: fre|fred;
+EXCEPTION: free|freed;
+#
+RULE: $|verb|infinitive|ed$|verb|past
+EXCEPTION: |ed;
+EXCEPTION: do|doed;
+EXCEPTION: fr|fred;
+EXCEPTION: free|freed;
+#
+# Verb rules (ing)
+RULE: ie$|verb|infinitive|ying$|verb|presPart
+RULE: ee$|verb|infinitive|eeing$|verb|presPart
+RULE: oe$|verb|infinitive|oeing$|verb|presPart
+RULE: ye$|verb|infinitive|yeing$|verb|presPart
+RULE: CVC$|verb|infinitive|CVSCing$|verb|presPart
+RULE: e$|verb|infinitive|ing$|verb|presPart
+EXCEPTION: e|ing;
+RULE: $|verb|infinitive|ing$|verb|presPart
+EXCEPTION: |ing;
+#
+### Irregular VERB inflection rules (2-Oct-92)
+FILE: verbinfl.rul

Added: ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/rules/plural.rul
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/rules/plural.rul?rev=1845321&view=auto
==============================================================================
--- ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/rules/plural.rul (added)
+++ ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/rules/plural.rul Wed Oct 31 11:03:43 2018
@@ -0,0 +1,36 @@
+# Inflection Rules For Irregular Nouns:
+#
+# OF MICE AND MEN (and TEETH and WIVES): (1-Oct-92)
+#
+RULE: man$|noun|singular|men$|noun|plural
+#
+# It is not clear from the dictionaries what the plurals of the non-rodential
+# terms:  "peritoneal mouse", "pleural mouse" and "joint mouse" is.  I assume
+# that analogy is strong enough to support "mice" plurals for these.
+#
+RULE: mouse$|noun|singular|mice$|noun|plural
+#
+# tooth teeth
+#
+RULE: tooth$|noun|singular|teeth$|noun|plural
+#
+# f(e) -> ves  (1-Oct-92) (ACB)
+#
+RULE: fe$|noun|singular|ves$|noun|plural
+EXCEPTION: rife|rives;
+EXCEPTION: safe|saves;
+EXCEPTION: strife|strives;
+#
+# "belief" and "believes" are of course morphologically related  by an
+# "f|noun|ve|verb" derivational rule too unproductive  to make it into
+# dm.rul.
+#
+RULE: f$|noun|singular|ves$|noun|plural
+EXCEPTION: belief|believes;
+EXCEPTION: dif|dives;
+EXCEPTION: disbelief|disbelieves;
+EXCEPTION: grief|grieves;
+EXCEPTION: motif|motives;
+EXCEPTION: pelf|pelves;
+EXCEPTION: relief|relieves;
+EXCEPTION: serf|serves;

Added: ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/rules/ruleD.data
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/rules/ruleD.data?rev=1845321&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/rules/ruleD.data
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/rules/ruleI.data
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/rules/ruleI.data?rev=1845321&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/rules/ruleI.data
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/rules/trieD.data
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/rules/trieD.data?rev=1845321&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ctakes/trunk/ctakes-web-rest/src/main/resources/org/apache/ctakes/padtermspotter/lvg/data/rules/trieD.data
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream