Post
Topic
Board Beginners & Help
Re: Pmalek’s Complete the Word Game and Get Merits
by
illiki23
on 05/11/2021, 03:51:24 UTC
It would really look bad and take up a lot of space on the thread. I would probably delete it. But if you could post a link to an outside source showing the combinations, that would be fine.

That is exactly what I thought.  But for those learning to code here is the quick and dirty sloppy script I used:
Code:
import nltk
nltk.download('words')

from nltk.corpus import words

firstWords = [word for word in words.words() if len(word) == 9]
z = [word for word in firstWords if word[1] == 'o'
     and word[3] == 's']


secondWords = [word for word in words.words() if len(word) == 9]
y = [word for word in firstWords if word[4] == 'r']


print(y)
count = 0
for w in z:
    for r in y:
        print(w,r)
       
Now is to find a crypto corpus I can compare these possible bigrams with...