Canonicalize

I. Lvg Command:

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

II. Test Cases:

being|i
color|color
colour|color
colored|color
coloured|color
3beta|3beta
3beton|3beta
3betum|3beta
analyse|analyse
analyze|analyse
resumé|resumé
Déjà Vu|déjà vu
14|14
17beta|17beta
17beton|17beta
17betum|17beta
24r|24r
2h|2h
3|3
3beta|3beta
3beton|3beta
3betum|3beta
450|450
6h|6h
7093|7093
7s|7s
8a|8a
8on|8a
8um|8a
9|9
9a|9a
9on|9on
9um|9um
a|a
abce|abce
abdomen|abdomen
abdominal|abdominal
abdominale|abdominale
abdominales|abdominales
abducens|abducens
abducent|abducent
abelson|abelson
abetalipoproteinemie|abetalipoproteinemie
abh|abh
abkuerzungen|abkuerzungen
abnormal|abnormal
abnormality|abnormality
abo|abo
abort|abort
aborticide|aborticide
abortifacient|abortifacient
abortion|abortion
aborto|aborto
abreaktion|abreaktion
abrin|abrin
abscissic|abscissic
absenteizm|absenteizm
absorptiometrie|absorptiometrie
absorption|absorption
abuse|abuse
abx|abx
academic|academic
academie|academie
acanthamoeba|acanthameba
acanthocephale|acanthocephale
acantholysis|acantholysis
acanthrocyte|acanthocyte
acarien|acarien
accelerate|accelerate
acceptor|acceptor
accident|accident
accidental|accidental
accidente|accidente
accidentes|accidentes
accommodation|accommodation
accounting|account
accretion|accretion
acculturation|acculturation
acebutolol|acebutolol
aceclidin|aceclidin
acedapsona|acedapsona
acedapsonon|acedapsonon
acedapsonum|acedapsonum
acelografia|acelografia
acelografion|acelografion
acelografium|acelografium
acenafteno|acenafteno
acenaftenos|acenaftenos
acepromazine|acepromazine
acetabulum|acetabulum
acetal|acetal
acetaldehyde|acetaldehyde
acetamida|acetamida
acetamidas|acetamidas
acetamido|acetamido
acetanilide|acetanilid
acetate|acetate
acetato|acetato
acetazina|acetazina
acetazinon|acetazinon
acetazinum|acetazinum
acetazolamid|acetazolamid
acetazolamide|acetazolamide
acetic|acetic
acetico|acetico
aceticos|aceticos
acetil|acetil
acetilacao|acetilacao
acetilasa|acetilasa
acetilason|acetilason
acetilasum|acetilasum
acetilcoenzima|acetilcoenzima
acetilcoenzimon|acetilcoenzimon
acetilcoenzimum|acetilcoenzimum
acetildigoxina|acetildigoxina
acetildigoxinas|acetildigoxinas
acetilmuramil|acetilmuramil
acetiltransferasa|acetiltransferasa
acetiltransferason|acetiltransferason
acetiltransferasum|acetiltransferasum
acetoacetato|acetoacetato
acetoacetatos|acetoacetatos
acetohexamide|acetohexamide
acetohidroxi|acetohidroxi
acetohidroxus|acetohidroxus
acetohydroxy|acetohydroxy
acetohydroxyacid|acetohydroxyacid
acetoidroxi|acetoidroxi
acetoidroxus|acetoidroxus
acetoina|acetoina
acetoinon|acetoinon
acetoinum|acetoinum
acetokinase|acetokinase
acetolactate|acetolactate
acetone|acetone
acetothiokinase|acetothiokinase
acetoxiacetamidofluoreno|acetoxiacetamidofluoreno
acetoxyfluorenylacetamide|acetoxyfluorenylacetamide
acetrizoic|acetrizoic
acetyl|acetyl
acetylaminofluoren|acetylaminofluoren
acetylate|acetylate
acetylcoenzyme|acetylcoenzyme
acetylcystein|acetylcystein
acetylcysteine|acetylcysteine
acetyldigitoxine|acetyldigitoxine
acetylgalactosamine|acetylgalactosamine
acetylglucosaminidase|acetylglucosaminidase
acetylprocainamide|acetylprocainamide
acetylserotonin|acetylserotonin
acetyltransferase|acetyltransferase
acholeplasma|acholeplasma
achylia|achylia
acid|acid
acide|acide
acidente|acidente
acidentes|acidentes
acido|acido
acidos|acido
acloridria|acloridria
acloridrion|acloridrion
acloridrium|acloridrium
acute|acute
acyl|acyl
adaptation|adaptation
agenesis|agenesis
agent|agent
agudo|agudo
alanil|alanil
alanine|alanine
alcohol|alcohol
alfa|alfa
alfadipiridil|alfadipiridil
alkoxycoumarin|alkoxycoumarin
alpha|alfa
altitude|altitude
amino|amino
aminoadipic|aminoadipic
aminobenzoesaeure|aminobenzoesaeure
aminobenzoic|aminobenzoic
aminocaproic|aminocaproic
aminocaproico|aminocaproico
aminopiridina|aminopiridina
aminopiridinon|aminopiridinon
aminopiridinum|aminopiridinum
aminopurine|aminopurine
aminopyridine|aminopyridine
amp|amp
analogue|analog
analyse|analyse
androstan|androstan
androstane|androstane
androstene|androstene
angiotensin|angiotensin
animal|animal
anomalii|anomalii
anomalius|anomalius
anomalous|anomalous
anomaly|anomaly
anormalidade|anormalidade
anormalidades|anormalidades
antigen|antigen
asta|asta
aston|aston
astum|astum
at|at
atsetanilidy|atsetanilidy
atsetilen|atsetilen
atsetilkarnitin|atsetilkarnitin
atsetilkholin|atsetilkholin
atsetilkoferment|atsetilkoferment
au|au
aviatsionnye|aviatsionnye
avort|avort
avorte|avorte
avorter|avorter
b|b
bassen|bassen
benzo|benzo
benzopyran|benzopyran
benzotetronique|benzotetronique
beta|beta
biphenyl|biphenyl
biphotonique|biphotonique
blood|blood
body|body
branch|branch
briushnye|briushnye
brom|brom
bromo|bromo
bromoergocryptine|bromoergocryptine
bromolysergic|bromolysergic
butirolactona|butirolactona
butirolactonon|butirolactonon
butirolactonum|butirolactonum
butyrolactone|butyrolactone
by|by
c|c
calcaneal|calcaneal
calcidiol|calcidiol
calcimicina|calcimicina
calcimicinon|calcimicinon
calcimicinum|calcimicinum
carboxyglutamic|carboxyglutamic
carboxylase|carboxylase
carboxylate|carboxylate
carrier|carrier
casein|casein
cause|cause
cefotiam|cefotiam
center|center
cetacido|cetacido
cetoacil|cetoacil
cetoprostaglandina|cetoprostaglandina
cetoprostaglandinon|cetoprostaglandinon
cetoprostaglandinum|cetoprostaglandinum
characteristic|characteristic
chest|chest
chimique|chimique
chloradenosin|chloradenosin
choline|choline
chryseno|chryseno
cianida|cianida
cianidas|cianidas
ciclico|ciclico
clawfoot|clawfoot
clubfoot|clubfoot
cluster|cluster
coa|coa
coenzyme|coenzyme
collagen|collagen
common|common
complication|complication
condition|condition
congenital|congenital
congenito|congenito
congenitos|congenitos
conta|conta
contas|contas
cramp|cramp
cranial|cranial
criminal|criminal
cut|cut
cyanide|cyanide
cyclic|cyclic
cycloamp|cycloamp
cysteine|cysteine
cytochrome|cytochrom
d|d
d2|d2
d3|d3
de|de
deacylase|deacylase
dealkylase|dealkylase
defect|defect
defeito|defeito
defeitos|defeitos
deformity|deformity
degidrogenazy|degidrogenazy
dehydrogenase|dehydrogenase
del|del
demandant|demandant
dentaire|dentaire
deoxyglucose|deoxyglucose
deoxyuridine|deoxyuridine
dependent|dependant
dephosphorylate|dephosphorylate
deshidrogenasa|deshidrogenasa
deshidrogenasas|deshidrogenasas
desidrogenas|desidrogenas
desidrogenase|desidrogenase
desidrogenases|desidrogenases
desidrogenasis|desidrogenasis
detachment|detachment
developmental|developmental
diacetyl|diacetyl
dichlorobenzidine|dichlorobenzidine
dichlorophenolindophenol|dichlorophenolindophenol
dichlorophenoxyacetic|dichlorophenoxyacetic
dichlorphenoxyessigsaeure|dichlorphenoxyessigsaeure
diclorofenol|diclorofenol
diethylamide|diethylamide
differentiation|differentiation
dihidroxifenilacetico|dihidroxifenilacetico
dihidroxivitamen|dihidroxivitamen
dihidroxivitamina|dihidroxivitamina
dihidroxivitaminon|dihidroxivitaminon
dihidroxivitaminum|dihidroxivitaminum
dihomogammalinolenic|dihomogammalinolenic
dihydro|dihydro
dihydroxytryptamine|dihydroxytryptamine
dihydroxyvitamin|dihydroxyvitamin
dimethylbenzanthracene|dimethylbenzanthracene
dimethylprostaglandin|dimethylprostaglandin
diol|diol
dioxygenase|dioxygenase
dipalmitoil|dipalmitoil
dipalmitoyllecithin|dipalmitoyllecithin
dipyridyl|dipyridil
documentaire|documentaire
domicile|domicile
dop|dop
dops|dop
drug|drug
due|due
e|e
e2|e2
echelle|echelle
eicosapentaenoic|eicosapentaenoic
eicosatetrainsaeure|eicosatetrainsaeure
eikozapentaenovaia|eikozapentaenovaia
eikozapentaenovaion|eikozapentaenovaion
eikozapentaenovaium|eikozapentaenovaium
eikozatrienovaia|eikozatrienovaia
eikozatrienovaion|eikozatrienovaion
eikozatrienovaium|eikozatrienovaium
electrocardiogram|electrocardiogram
eleventh|eleventh
enzyme|enzyme
epoxypalmitic|epoxypalmitic
epsamon|epsamon
essigsaeureanhydride|essigsaeureanhydride
ester|ester
esterase|esterase
et|et
ethanesulfonate|ethanesulfonate
ethoxycoumarin|ethoxycoumarin
ethoxycoumarine|ethoxycoumarine
ethylase|ethylase
evgenicheskii|evgenicheskii
evgenicheskius|evgenicheskius
excessive|excessive
externe|extern
f1|f1
factor|factor
fall|fall
fenil|fenil
fetus|fetus
fish|fish
flatfoot|flatfoot
fluoren|fluoren
fluoro|fluoro
foot|foot
form|form
formation|formation
fosfatase|fosfatase
fosfodiesterasa|fosfodiesterasa
fosfodiesterason|fosfodiesterason
fosfodiesterasum|fosfodiesterasum
fosfonovalerico|fosfonovalerico
from|from
fuse|fuse
gamma|gamma
gastrica|gastrica
gastricon|gastrica
gastricum|gastrica
gi|gi
gidroksi|gidroksi
gidroksifenetilamin|gidroksifenetilamin
gidroksisteroidov|gidroksisteroidov
gidroksus|gidroksus
glacial|glacial
globin|globin
glucosaminidasa|glucosaminidasa
glucosaminidase|glucosaminidase
glucosaminidason|glucosaminidason
glucosaminidasum|glucosaminidasum
glycosyltransferase|glycosyltransferase
gmp|gmp
gravite|gravite
group|group
groupe|groupe
groupes|groupes
habitual|habitual
health|health
heat|heat
hematome|hematome
hemoglobin|hemoglobin
hidrocorticosterona|hidrocorticosterona
hidrocorticosteronon|hidrocorticosteronon
hidrocorticosteronum|hidrocorticosteronum
hidrolase|hidrolase
hidroxiacetanilida|hidroxiacetanilida
hidroxiacetanilidon|hidroxiacetanilidon
hidroxiacetanilidum|hidroxiacetanilidum
hidroxiacil|hidroxiacil
hidroxicolecalciferol|hidroxicolecalciferol
hidroxicorticosteroide|hidroxicorticosteroide
hidroxicorticosteroides|hidroxicorticosteroides
hidroxicorticosterois|hidroxicorticosterois
hidroxiergocalciferol|hidroxiergocalciferol
hidroxiesteroide|hidroxiesteroide
hidroxifenilpiruvato|hidroxifenilpiruvato
hidroxilasa|hidroxilasa
hidroxilason|hidroxilason
hidroxilasum|hidroxilasum
high|high
history|history
homoprotocatechuic|homoprotocatechuic
hydrase|hydrase
hydrochloride|hydrochlorid
hydrolase|hydrolase
hydroxy|hydroxy
hydroxyacetanilide|hydroxyacetanilide
hydroxyacyl|hydroxyacyl
hydroxyaminoquinoline|hydroxyaminoquinoline
hydroxyanthranilique|hydroxyanthranilique
hydroxybenzoate|hydroxybenzoate
hydroxybutyrate|hydroxybutyrate
hydroxycalcidiol|hydroxycalcidiol
hydroxycorticosteroid|hydroxycorticosteroid
hydroxycorticosterone|hydroxycorticosterone
hydroxylase|hydroxylase
hydroxymethoxyphenethyl|hydroxymethoxyphenethyl
hydroxyphenyl|hydroxyphenyl
hydroxyphenylpyruvate|hydroxyphenylpyruvate
hydroxyquinoline|hydroxyquinoline
hydroxysteroid|hydroxysteroid
hydroxysteroide|hydroxysteroide
hydroxyvitamin|hydroxyvitamin
i|i
idroxifeniletanol|idroxifeniletanol
ii|ii
illegal|illegal
imp|imp
in|in
incomplete|incomplete
indofenol|indofenol
induce|induce
industriale|industriale
industriales|industriales
induzida|induzida
induzidas|induzidas
inertgas|inertgas
injury|injury
institut|institut
iodocholesterol|iodocholesterol
isobutyl|isobutyl
isoglutamen|isoglutamen
isoglutamina|isoglutamina
isoglutaminon|isoglutaminon
isoglutaminum|isoglutaminum
isoleucin|isoleucin
isoleucine|isoleucine
isomeroreductase|isomeroreductase
isomerorredutase|isomerorredutase
isopropylmalate|isopropylmalate
karboksiglutaminovaia|karboksiglutaminovaia
karboksiglutaminovaion|karboksiglutaminovaion
karboksiglutaminovaium|karboksiglutaminovaium
keratite|keratite
keratosis|keratosis
ketoacid|ketoacid
ketoacyl|ketoacyl
ketogenic|ketogenic
ketoprostaglandin|ketoprostaglandin
ketothiolase|ketothiolas
kislota|kislota
kisloton|kisloton
kislotum|kislotum
kornzweig|kornzweig
koshland|koshland
koshlands|koshlands
l|l
lecitina|lecitina
lecitinon|lecitinon
lecitinum|lecitinum
legal|legal
legally|legally
leukaemieviru|leukaemieviru
leukaemievirus|leukaemievirus
ligase|ligas
lyase|lyase
maleate|maleate
malformation|malformation
mass|mass
matadero|matadero
mataderos|mataderos
medical|medical
medicineman|medicineman
meksamine|mexamine
mention|mention
mercapto|mercapto
mercaptoethyl|mercaptoethyl
merkaptopurin|merkaptopurin
mesylate|mesilate
methyl|methyl
methylbufotenin|methylbufotenin
methylcholanthrene|methylcholanthrene
methylenedioxyamphetamine|methylenedioxyamphetamine
methylglutaric|methylglutaric
methylglutarsaeure|methylglutarsaeure
methyltransferase|methyltransferase
metil|metil
metoxi|metoxi
metoxus|metoxus
miscarriage|miscarriage
miss|mi
mnozhestvennye|mnozhestvennye
monooxygenase|monooxygenase
mort|mort
moteur|moteur
motor|motor
mptp|mptp
muscle|muscle
myshtsy|myshtsy
n|n
naftilamen|naftilamen
naftilamina|naftilamina
naftilaminon|naftilaminon
naftilaminum|naftilaminum
naphthylamin|naphthylamin
naphthylamine|naphthylamine
naphthylisothiocyanate|naphthylisothiocyanate
neoplasm|neoplasm
nerf|nerf
nerve|nerve
neschastnye|neschastnye
nigrican|nigrican
nigricans|nigricans
nitrobenzilbromid|nitrobenzilbromid
nitrophenyl|nitrophenyl
nitroquinolina|nitroquinolina
nitroquinoline|nitroquinoline
nitroquinolinon|nitroquinolinon
nitroquinolinum|nitroquinolinum
no|no
non|non
norvaline|norvaline
nos|no
nucleotidasa|nucleotidasa
nucleotidase|nucleotidase
nucleotidason|nucleotidason
nucleotidasum|nucleotidasum
nucleotide|nucleotide
nucleotidohidrolasa|nucleotidohidrolasa
nucleotidohidrolason|nucleotidohidrolason
nucleotidohidrolasum|nucleotidohidrolasum
nucleotidohydrolase|nucleotidohydrolas
null|null
o|o
oculaire|oculaire
ocular|ocular
oeuf|oeuf
of|of
oligoadenilato|oligoadenilato
oligoadenylate|oligoadenylate
omega|omega
on|on
one|one
or|or
origine|origine
other|other
oxidase|oxidase
oxide|oxide
oxido|oxido
oxirene|oxirene
oxoacyl|oxoacyl
oxobutyl|oxobutyl
oxoprostaglandin|oxoprostaglandin
oxosteroid|oxosteroid
oxyindol|oxyindol
oxyquinoline|oxyquinoline
p|p
pagar|pagar
pain|pain
para|para
particle|particle
personne|personne
phenylethanolamine|phenylethanolamine
phenylpyridinium|phenylpyridinium
phosphodiesterase|phosphodiesterase
phosphono|phosphono
phosphonopentanoate|phosphonopentanoate
phosphorylase|phosphorylase
pilie|pilie
pilier|pilier
pily|pily
pirimidina|pirimidina
pirimidinon|pirimidinon
pirimidinum|pirimidinum
placenta|placenta
placental|placental
poison|poison
polymerase|polymerase
por|por
position|position
premature|premature
prevention|prevention
problem|problem
prolong|prolong
prolonged|prolong
pronenesse|pronenesse
pronenesses|pronenesses
pronenessis|pronenessis
proofread|proofread
propensao|propensao
propionique|propionique
protein|protein
prothetique|prothetique
purine|purine
pyocefal|pyocefal
pyridinecarboxamide|pyridinecarboxamide
pyridone|pyridone
pyruvate|pyruvate
quinolinol|quinolinol
radiacao|radiacao
rate|rate
ray|ray
reagent|reagent
receb|receb
recebe|recebe
receber|receber
recurrent|recurrent
reductase|reductase
regio|regio
repeat|repeat
repeated|repeat
residence|residence
retention|retention
retroplacentaire|retroplacentaire
reussite|reussite
ribopentofuranosyl|ribopentofuranosyl
right|right
rodilone|rodilone
saline|saline
sanguin|sanguin
sanguins|sanguins
sarcosin|sarcosin
sarcosine|sarcosin
seeker|seeker
separation|separation
septic|septic
service|service
side|side
simplifiee|simplifiee
sintetasa|sintetasa
sintetase|sintetase
sintetason|sintetason
sintetasum|sintetasum
sintetico|sintetico
sinteticos|sinteticos
sluchai|sluchai
sluchaus|sluchaus
solution|solution
spontaneous|spontaneous
steroid|steroid
steroidal|steroidal
structure|structure
sulfate|sulfate
swell|swell
swollen|swell
syndrome|syndrome
synthase|synthase
synthetase|synthetase
systeme|systeme
temephos|temefos
tendon|tendon
teratology|teratology
tetrahidropiridina|tetrahidropiridina
tetrahidropiridinon|tetrahidropiridinon
tetrahidropiridinum|tetrahidropiridinum
tetrahydro|tetrahydro
tetramine|tetramine
therapeutic|therapeutic
thiolase|thiolase
thione|thione
thiopurine|thiopurine
threaten|threaten
threo|threo
ticlopidine|ticlopidine
tiolasa|tiolasa
tiolason|tiolason
tiolasum|tiolasum
tissue|tissue
to|to
tooth|tooth
traffic|traffic
traumatisme|traumatisme
tree|tree
trichlorophenoxyacetic|trichlorophenoxyacetic
trichlorphenoxyessigsaeure|trichlorphenoxyessigsaeure
trimethylammonium|trimethylammonium
tryptophan|tryptophan
tubal|tubal
university|university
unspecif|unspecif
unspecified|unspecified
unvollstaendig|unvollstaendig
unvollstaendige|unvollstaendige
unvollstaendiger|unvollstaendiger
uridylate|uridylate
vehicle|vehicle
veterinarnyi|veterinarnyi
veterinarnyus|veterinarnyus
visit|visit
wattle|wattle
weather|weather
with|with
without|without
x|x
xanthine|xanthin
xi|xi
ylacetamide|ylacetamide