Changeable words: Difference between revisions

m
→‎{{header|Python}}: greater than eleven not greater than or qual to.
m (→‎{{header|REXX}}: changed a comment.)
m (→‎{{header|Python}}: greater than eleven not greater than or qual to.)
Line 374:
 
def getwords(minlength=11, fname='unixdict.txt'):
"Return set of lowercased words of >= given number of characters"
with open(fname) as f:
words = f.read().strip().lower().split()
return {w for w in words if len(w) >= minlength}
 
words11 = getwords()
Line 411:
 
{{out}}
<pre>276 words that are from deleting a char from other words:
choreograph From choreography
chromatograph From chromatography
chronograph From chronography
conservator From conservatory
contributor From contributory
dodecahedra From dodecahedral
econometric From econometrica
electroencephalograph From electroencephalography
evolutionary From revolutionary
headquarter From headquarters
homomorphic From homeomorphic
internecine From internescine
megalomania From megalomaniac
michelangelo From michaelangelo
nymphomania From nymphomaniac
polarograph From polarography
referential From preferential
reservation From preservation
residential From presidential
sarsparilla From sarsaparilla
seismograph From seismography
spectrograph From spectrography
sportswrite From sportswriter
straightway From straightaway
synchronous From asynchronous
tetrafluoride From tetrafluouride
trifluoride From trifluouride
 
5426 words that are from changing a char from other words:
aristotelean From aristotelian
businessman From businessmen
calorimeter From colorimeter
christensen From christenson
churchwoman From churchwomen
claustrophobia From claustrophobic
committeeman From committeemen
committeewoman From committeewomen
complainant From complaisant
complementary From complimentary
confirmation From conformation
congressman From congressmen
congresswoman From congresswomen
constrictor From constructor
councilwoman From councilwomen
countersink From countersunk
countryside From countrywide
craftsperson From draftsperson
crystalline From crystallite
declamation From declaration
declamation From reclamation
declamatory From declaratory
demonstrate From remonstrate
eavesdropped From eavesdropper
exhortation From exportation
frontiersman From frontiersmen
handicapped From handicapper
handicraftsman From handicraftsmen
hydrophobia From hydrophobic
impartation From importation
implementer From implementor
incommutable From incomputable
infantryman From infantrymen
installation From instillation
irredentism From irredentist
kaleidescope From kaleidoscope
matriarchal From patriarchal
matrimonial From patrimonial
neuroanatomy From neuroanotomy
newspaperman From newspapermen
nonagenarian From nonogenarian
onomatopoeia From onomatopoeic
parentheses From parenthesis
philanthrope From philanthropy
preposition From proposition
prescription From proscription
schizophrenia From schizophrenic
secretarial From secretariat
shakespearean From shakespearian
spectroscope From spectroscopy
transmitted From transmitter
trencherman From trenchermen
underclassman From underclassmen
upperclassman From upperclassmen</pre>
Anonymous user