← Home ← Back to /adv/

Thread 33443645

7 posts 2 images /adv/
Anonymous No.33443645 >>33443714 >>33443939 >>33444104 >>33444117
adefhimnorstuwy
need words with these letters
can someone make a list showing all words with these letters or tell me how to make that list?
Anonymous No.33443714 >>33443794
>>33443645 (OP)
https://word.tips/words-with-letters/

Bam! You're welcome
Anonymous No.33443722 >>33443794
https://raw.githubusercontent.com/dwyl/english-words/master/words_alpha.txt

from itertools import permutations
from collections import Counter

with open("words_alpha.txt") as f: # Download this list or use your own
wordlist = set(f.read().split())

letters = "adefhimnorstuwy"
letter_count = Counter(letters)

def is_valid(word):
return not (Counter(word) - letter_count)

valid_words = sorted([word for word in wordlist if is_valid(word)])

valid_words_by_length = {length: [] for length in range(2, 16)}
for word in valid_words:
if 2 <= len(word) <= 15:
valid_words_by_length[len(word)].append(word)

print(valid_words_by_length[5])
#or whatever length you want by changing the number
Anonymous No.33443794
>>33443714
>>33443722
thanks
Anonymous No.33443939
>>33443645 (OP)
Yet another broken keyboard question!
Anonymous No.33444104
>>33443645 (OP)
https://www.thewordfinder.com/anagram-solver/
Anonymous No.33444117
>>33443645 (OP)
There aren't any words that use all of those letters. The best one can do is autowinders, fisherwoman, or unseaworthy.