Skip to content

What are the longest words that can be spelled using only letters from the top row of a keyboard?

Notifications You must be signed in to change notification settings

denisaf0nin/LongestWord

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Longest Word From a Set of Letters

What is the longest English word that you can type only using one row of the keyboard (or any other set of letters, really)?

A fun little day project. A small pre-requisite is downloading words dictionary from nltk library: more info here.

top_row = 'qwertyuiop'
getWords(top_row)

Returns:

1. proprietory - 11 letters
2. proterotype - 11 letters
3. rupturewort - 11 letters
4. pepperroot - 10 letters
5. pepperwort - 10 letters
6. perpetuity - 10 letters
7. pewterwort - 10 letters
8. pirouetter - 10 letters
9. prerequire - 10 letters
10. pretorture - 10 letters

About

What are the longest words that can be spelled using only letters from the top row of a keyboard?

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages