Generate known acronyms

I. Lvg Command:

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

II. Test Cases:

very low-density lipoprotein|VLD lipoprotein
very low-density lipoprotein|VLDL
very low-density lipoprotein|VLDLP
4-phenyl-2,3-dioxo-4-butenolide|PDOB
Academy of Physical Medicine|A.P.M.
Academy of Physical Medicine|APM
account|A/C
account|acct
achievement age|AA
action potential amplitude|A.P.A.
action potential amplitude|APA
acute mycardial infarction|AMI
adenosine deaminase|ADA
adenosine deaminase|ADase
adenosine deaminase|ADD
adrenocorticotropic hormone|ACTH
adrenocorticotropic hormone|ACTH
afferent loop syndrome|ALS
air conditioning|A.C.
air conditioning|AC
alkali-soluble nitrogen|ASN
alpha-atrial natriuretic peptide|alpha-anp
aluminum|Al
American Academy of Denture Prosthetics|A.A.D.P.
American Academy of Denture Prosthetics|AADP
American Academy of Physical Medicine and Rehabilitation|A.A.P.M.R.
American Association of Medical Colleges|A.A.M.C.
American College of Apothecaries|A.C.A.
American College of Apothecaries|ACA
American College of Pathologists|A.C.P.
American College of Pathologists|ACP
American Heart Association|A.H.A.
American Heart Association|AHA
American Medical Writers' Association|A.M.W.A.
American Orthotics and Prosthetics Association|A.O.P.A.
American Psychiatric Association|A.P.A.
American Psychiatric Association|APA
American School Health Association|A.S.H.A.
American Society of Clinical Pathologists|A.S.C.P.
American Society of Clinical Pathologists|ASCP
aminoacyl transfer ribonucleic acid|aa-tRNA
aminoacyl transfer ribonucleic acid|amino acyl t RNA
aminoacyl transfer ribonucleic acid|amino acyl T RNA
aminoacyl transfer ribonucleic acid|amino acyl tRNA
aminoacyl transfer ribonucleic acid|amino-acyl transfer RNA
aminoacyl transfer ribonucleic acid|amino-acyl tRNA
aminoacyl transfer ribonucleic acid|amino-acyl-tRNA
aminoacyl transfer ribonucleic acid|aminoacyl t-RNA
aminoacyl transfer ribonucleic acid|aminoacyl transfer RNA
aminoacyl transfer ribonucleic acid|aminoacyl tRNA
aminoacyl transfer ribonucleic acid|aminoacyl-t-RNA
aminoacyl transfer ribonucleic acid|aminoacyl-transfer RNA
aminoacyl transfer ribonucleic acid|aminoacyl-tRNA
ampicillin|A
ampicillin|AM
ampicillin|AMP
angina pectoris|AP
anodal opening clonus|AOCl
antibody-dependent cell-mediated cytotoxicity|ADCC
antihemophilic factor|AHF
antihemophilic factor|AHF
antinuclear antibody|ANA
antinuclear antibody|ANA
antinuclear antibody|AnuA
antinuclear antibody|ANuA
antinuclear antibody|AnuA
antinuclear antibody|ANuA
antitoxin-containing cell|A.C.C.
antitoxin-containing cell|ACC
apical impulse|A.I.
apical impulse|AI
aqueous|A
aqueous|AQ
aqueous|aq.
aqueous|Aq.
argon|A
argon|Ar
artificial endocrine pancreas|AEP
asphyxiating thoracic dystrophy|ATD
astigmatism|AS
astigmatism|Ast
astigmatism|AST
astigmatism|AST
audio frequency|af
autoimmune hemolytic anemia|A.H.A.
autoimmune hemolytic anemia|AHA
autoimmune hemolytic anemia|AIHA
B cell growth factor|BCGF
back|bk.
basilar impression|BI
benzoylarginine-2-naphthylamide|BANA
biologist|biol
blood sugar|B.S.
blood sugar|BLS
blood sugar|BS
boiling point|b.p.
boiling point|bp
boiling point|BP
bowel movement|BM
British Medical Association|B.M.A.
British Medical Association|BMA
Brooklyn Manhattan Transit|BMT
calculated date of confinement|CDC
capacitance|C
carbon monoxide|CO
cardiopulmonary bypass|CBP
cardiopulmonary bypass|CBP
cardiopulmonary bypass|CPB
cardiopulmonary bypass|CPB
cathodal opening clonus|COC
cathodal opening clonus|COCl
cathodal opening clonus|COCL
center hemodialysis|CHD
cerebral palsy|CP
Certified Registered Nurse Anesthetist|C.R.N.A.
Certified Registered Nurse Anesthetist|CRNA
chemistry|chem
chimpanzee coryza agent|CCA
cholecystokinin|CCK
cholecystokinin|CK
chromosomal ribonucleic acid|cRNA
chronic renal failure|CRF
Clinical Orthopaedic Society|C.O.S.
cod-liver oil|clo
cod-liver oil|CLO
cod-liver oil|clo
cod-liver oil|CLO
colloid goiter|CG
Commission on Professional and Hospital Activities|CPHA
complement 1 esterase|C 1 esterase
complement 1 esterase|C1 esterase
complement 1 esterase|C1-esterase
computed tomography|CT
conductance|G
consensual ophthalmotonic reaction|COR
continuous veno-venous hemofiltration|CVVH
continuous veno-venous hemofiltration|CVVH
continuous veno-venous hemofiltration|CVVHF
continuous veno-venous hemofiltration|CVVHF
coronary artery|CA
corrosion|COR
coulomb|C
coulomb|Q
creatine phosphokinase|CPK
creatine phosphokinase|CPK
Crown-Crisp Experiential Index|CCEI
cyanogen|CN
cyanogen|Cy
cyanogen|CY
cyclotron|cyc
cyclotron|CYC
cyclotron|cyc.
cytidine triphosphate|CrPPP
cytidine triphosphate|CTP
danger list|DL
deep compartment|DC
delayed action|DA
deoxyadenosine triphosphate|d-ATP
deoxyadenosine triphosphate|d-ATP
deoxyadenosine triphosphate|dATP
deoxyadenosine triphosphate|dATP
deoxycytidylate deaminase|DCMP deaminase
deoxythymidine|dT
dermal ulcer|DU
deuterium|D
deuterium|h 2
deuterium|H 2
deuterium|h2
deuterium|H2
Diagnostic Related Group|DRG
diastolic pressure|D.P.
diastolic pressure|DP
diastolic pressure|Pd
diastolic pressure|PD
dichlorodiphenyltrichloroethane|DDT
dichlorodiphenyltrichloroethane|DDT
dichlorodiphenyltrichloroethane|DDT
dichlorodiphenyltrichloroethane|DDT
dichlorodiphenyltrichloroethane|DDT
diethylpyrocarbonate|DEP
diethylpyrocarbonate|DEPC
diethylpyrocarbonate|DPC
difluoromethylornithine|DFMO
difluoromethylornithine|DFMO
difluoromethylornithine|DFMO
difluoromethylornithine|DFMO
dilative cardiomyopathy|DCM
diopter|D
Diploma in Psychological Medicine|D.P.M.
Diploma in Psychological Medicine|DPM
Diploma in Psychological Medicine|DPM
disabled|dis
dissociation constant|K
dissociation constant|K(d)
dissociation constant|K(D)
dissociation constant|Kd
dissociation constant|KD
dissociation constant|KD
doctor of chiropractic|D.C.
doctor of chiropractic|D.C.
doctor of chiropractic|DC
doctor of chiropractic|DC
Doctor of Veterinary Medicine|D.V.M
Doctor of Veterinary Medicine|D.V.M
Doctor of Veterinary Medicine|DVM
Doctor of Veterinary Medicine|DVM
Doctor of Veterinary Medicine|V.M.D.
Doctor of Veterinary Medicine|V.M.D.
double vision|DV
duck hepatitis B virus|DHBV
dysprosium|Dy
Eating Disorder Inventory|EDI
einsteinium|Es
electroencephalogram|EEG
electroencephalogram|EEG
electron volt|ev
electron volt|eV
electroshock therapy|EST
emergency room|E.R.
emergency room|ER
endoscopic retrograde cholangiopancreatography|ERCP
endoscopic retrograde cholangiopancreatography|ERCP
environmental resistance|E.R.
environmental resistance|ER
epidural morphine|EDM
equivalent|eq
equivalent|equiv
erythrocyte sedimentation rate|ESR
estrogen receptor|E.R.
estrogen receptor|ER
estrogen receptor|ERN
estrogen receptor|ESR
estrogen receptor|OR
estrogen receptor|Re
estrogen receptor|RE
evoked action potential|EAP
expiratory reserve|E.R.
expiratory reserve|ER
extracellular matrix|ECM
extracellular matrix|EM
extravascular thermal volume|ETV
Fellow of the American Medical Association|F.A.M.A.
Fellow of the Royal College of Veterinary Surgeons|F.R.C.V.S.
Fellow of the Royal College of Veterinary Surgeons|FRCVS
fertility|F
fibronectin|Fn
fibronectin|FN
fibronectin|Fnc
fibronectin|FNC
fibronectin|FNC
fine-needle aspiration cytology|FNA
fine-needle aspiration cytology|FNAC
flow cytometry|FCM
focal distance|FD
forearm mineral content|FMC
fourth sacral vertebra|S4
Friedreich's ataxia|FA
Friedreich's ataxia|FRDA
galactose|gal
galactose|gal
galactose|Gal
galactose|GAL
gastric emptying|GE
gastrointestinal|GI
gastrointestinal|GI
general paresis|GP
germinal center|GC
glandular epithelium|GE
glucose uptake|G-U
glucose uptake|GU
glucose uptake|M value
glucose uptake|M-value
glutamic pyruvic transaminase|GPT
glycoprotein|GP
glycoprotein|GP
golden Syrian hamster|GSH
grain|gr
grain|gr.
gravity|g
gravity|gr
gravity|gr.
growth hormone-releasing hormone|GH RH
growth hormone-releasing hormone|GH-RH
growth hormone-releasing hormone|GHRH
growth hormone-releasing hormone|GRH
guanyloribonuclease Streptomyces aureofaciens|guanyloribonuclease Sa
halothane anesthesia|HA
health resources and services administration|HRSA
heat shock protein|hsp
heat shock protein|Hsp
heat shock protein|HSP
hemagglutinating activity|HA
hematocrit|Hct
hematocrit|HCT
hematocrit|HCT
hematocrit|hct.
hematocrit|HMT
henry|H
hepatitis B|HB
heroin|H
hexuronyl hexosaminoglycan sulfate|HHAGS
hexuronyl hexosaminoglycan sulfate|HHS
histocompatibility antigen|HA
hospital corps|H.C.
hospital corps|HC
human growth hormone|HGH
human papilloma virus probe|HPV probe
human serum albumin|HSA
human serum albumin|HSAi
human serum albumin|HuSA
hydrazine-sensitive factor|HSF
hydroxyheptadecatrienoic acid|HHT
hydroxyheptadecatrienoic acid|HHT
hyperopic antagonism|ah
hypophysectomy|HE
hypophysectomy|HPX
hypophysectomy|hyp
hypophysectomy|hypox
hypophysectomy|Hypox
hypophysectomy|HYPOX
iminodiacetic acid|IDA
iminodiacetic acid|IDA
immunoelectroosmophoresis|IEOP
immunoelectroosmophoresis|IEOP
immunoelectroosmophoresis|IEOP
immunoelectroosmophoresis|IEOP
immunoradiometric assay|IRMA
immunoradiometric assay|IRMA
inactive renin activity|IRA
individual education plan|IEP
infectious hepatitis|I.H.
infectious hepatitis|IH
inferior olive|IO
inside-out|IO
insulin-dependent diabetes|IDD
interleukin|IL
International Association for Preventive Pediatrics|I.A.P.P.
International Association for Preventive Pediatrics|IAPP
International Council of Nurses|I.C.N.
International Council of Nurses|ICN
International Society of Urology|I.S.U.
International Society of Urology|ISU
intestinal obstruction|IO
intramuscularly|I.M.
intramuscularly|I.M.
intramuscularly|IM
intramuscularly|IM
inulin|In
ionium|Io
isoleucyl|ile
isoleucyl|Ile
isoleucyl|ILE
juvenile rheumatoid arthritis|JRA
juvenile rheumatoid arthritis|juvenile RA
kilocalorie|Kal
kilocalorie|kcal
laminar tomography|LT
late asthmatic response|LAR
lean body mass|LBM
left frontoanterior|LFA
left ventricular end-diastolic pressure|LV end diastolic pressure
left ventricular end-diastolic pressure|LV end diastolic pressure
left ventricular end-diastolic pressure|LV end-diastolic pressure
left ventricular end-diastolic pressure|LV end-diastolic pressure
left ventricular end-diastolic pressure|LV enddiastolic pressure
left ventricular end-diastolic pressure|LV enddiastolic pressure
left ventricular end-diastolic pressure|LVEDP
left ventricular end-diastolic pressure|LVEDP
leukocyte specific activity|L.S.A.
leukocyte specific activity|LSA
Licentiate in Medicine and Surgery of the Society of Apothecaries|L.M.S.S.A.
light|L
linear alkylbenzene sulfonate|LAS
liquid|L
liquid|liq
liquid|liq
liquid|liq.
liquid|liq.
local area network|LAN
long terminal repeat|LRT
long terminal repeat|LTR
low-molecular-weight glycan|lmwg
lymph node|LN
lymphocyte mitogenic factor|bf
lymphocyte mitogenic factor|LMF
lymphosarcoma|L.S.A.
lymphosarcoma|LS
lymphosarcoma|LSA
macronodular cirrhosis|MacCir
macronodular cirrhosis|MacCir
magnetic resonance imaging|MRI
manic-depressive psychosis|MDP
matrix|M
matrix|MX
mean abdominal diameter|MAD
median curative dose|CD50
Medical Practitioners Union|M.P.U.
megakaryocyte|MEG
megakaryocyte|meg.
megakaryocyte|MK
Member of Parliament|MP
membrane attack complex|MAC
mesencephalon|Mes
meter angle|M.A.
meter angle|MA
microimmunofluorescence|MIF
microimmunofluorescence|MIF
Military Police|MP
millivolt|mv
millivolt|mV
minimum|m
minimum|min
minimum|MIN
minimum|min.
mitral incompetence|MI
molecular weight|MW
mononuclear cell factor|MCF
mountain|Mt
multichannel analyzer|MCA
multiple personality disorder|MPD
myocardial contractile force|MCF
N-acetylneuraminic acid|N-ANA
N-acetylneuraminic acid|NAN
N-acetylneuraminic acid|NANA
N-acetylneuraminic acid|Neu-NAc
N-acetylneuraminic acid|Neu5Ac
N-acetylneuraminic acid|NeuAc
N-acetylneuraminic acid|NeuNAc
natal|NAT
National Committee for Mental Hygiene|N.C.M.H.
National Health Insurance|N.H.I.
National Health Insurance|N.H.I.
National Health Insurance|NHI
National Health Insurance|NHI
National Institute of Mental Health|NIMH
National Organization for Public Health Nursing|N.O.P.H.N.
National Organization for Public Health Nursing|NOPHN
native|N
native|Nat
native|nat.
neonatal|neo
neonatal|neo
neonatal|neo.
neonatal|neo.
neonatal|NN
neonatal|NN
neurocirculatory asthenia|NCA
New York|N.Y.
New York|NY
New York|NY
nitroblue tetrazolium|NBT
nitroblue tetrazolium|NBT
Nomina Anatomica|NA
non-small cell carcinoma of the bronchus|non-SCCB
norepinephrine|NE
norepinephrine|NE
norepinephrine|NEp
norepinephrine|NEP
norepinephrine|NEP
norepinephrine|NEp
norepinephrine|NEP
norepinephrine|NEP
norepinephrine|Nor
norepinephrine|NOR
norepinephrine|NOR
norepinephrine|Nor
norepinephrine|NOR
norepinephrine|NOR
Nuclear Regulatory Commission|N.R.C.
Nuclear Regulatory Commission|NRC
Nuclear Regulatory Commission|NRC
object classification test|OCT
occipitomental|OM
occipitomental|OM
occupational therapy|OT
old age pension|OAP
on hand|OH
ophthalmic artery pressure|OAP
optimal dose|OD
orogastrically|OG
osmotic pressure|OP
otorhinolaryngology|ORL
otorhinolaryngology|ORL
otorhinolaryngology|ORL
otorhinolaryngology|Oto
otorhinolaryngology|OTO
otorhinolaryngology|Oto
otorhinolaryngology|OTO
otorhinolaryngology|Oto
otorhinolaryngology|OTO
otorhinolaryngology|oto.
otorhinolaryngology|oto.
otorhinolaryngology|oto.
oxygen|O
oxygen|oxy
oxygen|OXY
palindromic unit|PU
parachlorophenol|p-chlorophenol
parachlorophenol|p-chlorophenol
parachlorophenol|p-CP
parachlorophenol|p-CP
parachlorophenol|PCP
parachlorophenol|PCP
parachlorophenol|PCP
parachlorophenol|PCP
parietal pleural tissue|PPT
pathology|Pa
pathology|PA
pepsin unit|PU
perfluorocarbon|PFC
periodic acid|PA
peritoneal exudate cell|PEC
phencyclidine|PCP
phosphate|p
phosphate|P
phosphate|phos
phosphate|PO(4)
phosphate|PO4
phosphorus|p
phosphorus|P
phosphorus|P
phthalic anhydride|PA
Planck's constant|h
plasma thromboplastin component|PTC
platelet-derived growth factor|PDGF
politician|pol
polymorphonuclear basophil|P.M.B.
polymorphonuclear basophil|PMB
pore-forming protein|PFP
posterior wall excursion|PWE
posttetanic potentiation|PTP
posttetanic potentiation|PTP
precipitation|ppt
precipitation|Ppt
precipitation|ppt.
premature ventricular complex|PVC
primary optic atrophy|POA
progressive myoclonus epilepsy|PME
prostaglandin E2|PG-E2
prostaglandin E2|PGE(2)
prostaglandin E2|PGE-2
prostaglandin E2|PGE2
proton relaxation rate|PRR
Public Health Laboratory Service|P.H.L.S.
purine|Pu
pyruvate kinase|PK
pyruvate kinase|pky
Queensland|Q
radial keratotomy|RK
radioenzymatic assay|REA
radon|Rn
red blood corpuscle|R.B.C.
red blood corpuscle|RBC
Registered General Nurse|R.G.N.
Registered General Nurse|RGN
renal artery|RA
resistance|r
resistance|R
resistance|res
restriction fragment length polymorphism analysis|RFLP analysis
revolution|rev
rhodium|Rh
right arm, sitting|RA-s
right arm, sitting|RAS
Rous sarcoma virus|RSV
rubber dam|RD
salt-free|SF
second|s
second|sec
sedimentation|sed
sedimentation|sed
sedimentation|Sed
sedimentation|Sed
sedimentation|sed.
separately|sep.
serum amyloid-A|SAA
severe disability|SD
sievert|Sv
sinus venosus|SV
slow|sl.
sodium bicarbonate|NaHCO(3)
sodium bicarbonate|NaHCO3
sodium bicarbonate|SB
sodium bicarbonate|SBC
somadendritic|SD
somadendritic|SD
speech-sound discrimination|SSD
spiritus vini|sv
sporadic depression|SD
Stensen's duct|SD
streptokinase|SK
streptokinase|ska
streptokinase|ska
streptokinase|Ska
streptokinase|STK
subretinal fluid|SRF
Surgeon-General's Office|S.G.O.
telurium|Te
tetanus|T
tetanus|Te
tetanus|tet
thiacetazone test|THZ test
thromboxane A2|TX-A2
thromboxane A2|TX-A2
thromboxane A2|TX-A2
thromboxane A2|TXA(2)
thromboxane A2|TXA(2)
thromboxane A2|TXA(2)
thromboxane A2|TXA2
thromboxane A2|TXA2
thromboxane A2|TXA2
thyroid-stimulating hormone|TSH
tibialis anterior|TA
tibialis anterior|TIB
toluene diisocyanate|TDI
toluene diisocyanate|TDI
total parenteral nutrition|T.P.N.
total parenteral nutrition|TPN
total parenteral nutrition|TPN
transcutaneous electrical nerve stimulator|TENS
transmission electron microscopy|TEM
triiodothyronine|T3
triiodothyronine|T3
triiodothyronine|T3
TSH-displacing antibody|TDA
tumor skin test|TST
tyrosine|TY
tyrosine|Tyr
tyrosine|TYR
tyrosine|Y
United Healthcare|UHC
uridine diphosphate|UD
uridine diphosphate|UDP
vaccine|vac.
vaccine|vax
vaccine|VAX
variable surface glycoprotein|VSG
vasodilator|VD
vasodilator|VD
venous gas embolus|VGE
ventricular rhythm|VR
visual acuity|VA
vitamin G|Vit G
vitamin G|vit. G
volume|V
volume|vol
volume|VOL
volume|vol.
waviness index|WI
western|W
western|W
wide|w
wide|W
work|W
yellow enzyme|YE
Emergency room|E.R.
Emergency room|ER