A 20-letter word!:
uncharacteristically
And another 22-letter word: deinstitutionalization (Sorry, I messed up on the program. Here is the revised):
def test(w):
l = set()
for i in range(1,len(w)):
p = w[i-1]+w[i]
l2 = l&l
l.add(p)
if l2==l:
return False
return True
Here is the code I used to look through a massive amount of words:
f = open("5desk.txt","r") # best match: 5desk.txt
longest = ""
for line in f:
lt = test(line)
line = line.replace("=","").replace("^","").replace("+","").replace("#","")
if(lt):
#print(line,len(line))
if(len(line)>=len(longest) and not (line.find(" ")+1) and not (line.find(",")+1)):
longest = line
print(line,len(line)-1)
print("done.")
input("")
And here is the amalgamated input, proving that rand al'thor has the longest recognized word in my lists:
2+2GFREQ.txt
============
the
3
and
3
for
3
that
4
this
4
from
4
have
4
with
4
your
4
about
5
information
11
application
11
description
11
development
11
association
11
communication
13
accommodation
13
administration
14
recommendation
14
transportation
14
administrative
14
characteristic
14
implementation
14
infrastructure
14
classification
14
discrimination
14
interpretation
14
organizational
14
pharmaceutical
14
rehabilitation
14
telecommunication
17
commercialization
17
multidisciplinary
17
industrialization
17
interrelationship
17
superconductivity
17
videoconferencing
17
counterproductive
17
electrocardiogram
17
misinterpretation
17
counterinsurgency
17
decriminalization
17
electrocardiography
19
compartmentalization
20
counterrevolutionary
20
electroencephalogram
20
2+2LEMMA.txt
============
compartmentalization
20
counterrevolutionary
20
electroencephalogram
20
2OF4BRIF.txt
============
electroencephalogram
20
electroencephalograms
21
2OF12.txt
=========
meter-kilogram-second
21
2OF12INF.txt
============
compartmentalizations
21
counterrevolutionaries
22
3ESL.txt
========
5DESK.txt
=========
6OF12.txt
=========
AGID.txt
========
NEOL2007.txt
============
done.
So until I find another list of words, I believe rand al'thor has the longest word. (Though, on the bright side, I have a nice, long list of runner-ups :P)