Lexical Tools

Strip NEC and NOS

I. Lvg Command:

shell> lvg -f:0 -F:1:2

II. Test Cases:

ACCIDENTS NEC AND NOS|ACCIDENTS
17-Hydroxycorticoids, NOS|17-Hydroxycorticoids
CHLOROADENOSINE 02|CHLOROADENOSINE 02
BROMO CYCLIC ADENOSINE MONOPHOSPHATE 08|BROMO CYCLIC ADENOSINE MONOPHOSPHATE 08
Abdomen, NOS|Abdomen
[D]Abdominal pain NOS|[D]Abdominal pain
Abdomen NOS pain|Abdomen pain
[D]Abdominal pain NOS (situation)|[D]Abdominal pain (situation)
X-ray NOS abnormal|X-ray abnormal
ANOMALY CONGENITAL MULTIPLE (NOS)|ANOMALY CONGENITAL MULTIPLE
Congenital anomaly NOS (disorder)|Congenital anomaly (disorder)
Spontaneous abortion: [incomplete NOS] or [retained products]|Spontaneous abortion: [incomplete NOS] or [retained products]
Acquired coag.factor defic.NOS|Acquired coag.factor defic.NOS
Acquired immune def.syndr.NOS|Acquired immune def.syndr.NOS
DISORDER ADRENAL (NOS)|DISORDER ADRENAL
Hemolysis Hb-uria,extern,NOS|Hemolysis Hb-uria,extern
ANES ART F/ARM WRST&HAND NOS|ANES ART F/ARM WRST&HAND
Other joint derangement NEC, NOS|Other joint derangement
Other joint derange.NEC NOS|Other joint derange.NEC
Other joint derangement NEC, NOS (disorder)|Other joint derangement NEC, (disorder)
Other lung disease NEC NOS|Other lung disease
Anomaly of renal artery NEC NOS (disorder)|Anomaly of renal artery (disorder)
Replantation: [upper limb NOS] or [arm NEC]|Replantation: [upper limb NOS] or [arm NEC]
Congenital deformity NOS of ear, NEC|Congenital deformity of ear
Fibreoptic bronchoscopy: [diagnostic NOS] or [NEC]|Fibreoptic bronchoscopy: [diagnostic NOS] or [NEC]
Oesophagostomy: [NOS] or [NEC]|Oesophagostomy: [NOS] or [NEC]
Pleurectomy: [open NOS] or [NEC]|Pleurectomy: [open NOS] or [NEC]
Appendicectomy: [Other NOS] or [NEC]|Appendicectomy: [Other NOS] or [NEC]
Reflexes abnormal NEC|Reflexes abnormal
Other joint derangement NEC, of unspecified site|Other joint derangement NEC, of unspecified site
Oth spcf zoontc bact ds,NEC|Oth spcf zoontc bact ds
Hypothalamic dysfunct, NEC|Hypothalamic dysfunct
BLADDER NECK OBSTRUCTION|BLADDER NECK OBSTRUCTION
NEC 1|1
Other labor/deliv.complic.NEC|Other labor/deliv.complic.NEC
Hypercalcemia NEC|Hypercalcemia
ABORTO CRIMINOSO|ABORTO CRIMINOSO
ALLERG ALVEOL/PNEUM NEC|ALLERG ALVEOL/PNEUM
ANECDOTAS|ANECDOTAS
BOLEVAIA NECHUVSTVITEL'NOST' VROZHDENNAIA|BOLEVAIA NECHUVSTVITEL'NOST' VROZHDENNAIA
CA IN SITU NEC|CA IN SITU
Deaf mutism, NEC|Deaf mutism
Deaf mutism,NEC|Deaf mutism
ECHINOCOCCOSIS NEC/NOS|ECHINOCOCCOSIS
HEAD AND NECK CANCER, UNKNOWN SITE|HEAD AND NECK CANCER, UNKNOWN SITE
HEPATIC NECROSIS, MASSIVE|HEPATIC NECROSIS, MASSIVE
Illegal abortion unspecif.NOS|Illegal abortion unspecif.NOS
Incomplete legal abortion NOS|Incomplete legal abortion
Incomplete legal abortion with complication NOS|Incomplete legal abortion with complication
KONECHNOST' VERKHNIAIA|KONECHNOST' VERKHNIAIA
Legal ab.incom.+complicat.NOS|Legal ab.incom.+complicat.NOS
Legally induced abortion NOS|Legally induced abortion
Megaloblastic anaemia NEC NOS|Megaloblastic anaemia
Megaloblastic anemia NEC NOS|Megaloblastic anemia
Meningitis, aseptic NEC|Meningitis, aseptic
NECATOR AMERICANUS|NECATOR AMERICANUS
NECK|NECK
NECK PAIN|NECK PAIN
OS, NECROSE ASEPTIQUE|OS, NECROSE ASEPTIQUE
PAIN NECK|PAIN NECK
SQUAMOUS CELL CANCER, HEAD AND NECK|SQUAMOUS CELL CANCER, HEAD AND NECK
[X]Deaf mutism,NEC|[X]Deaf mutism
BRAIN DISORDER (NOS)|BRAIN DISORDER
CANCER (NOS)|CANCER
DISORDER CARDIAC (NOS)|DISORDER CARDIAC
CEREBROVASCULAR DISORDER (NOS)|CEREBROVASCULAR DISORDER