Word matching with specific parameters

Joined
Jan 27, 2025
Messages
1
Reaction score
0
Word matching with specific parameters

Hello all,


I am quite new to using Python so please bear with me.

I am looking to create a script that will match combinations of words given a specific criteria.

Is this possible with Python?


I have three unknown words in a puzzle that I'm trying to solve. There are a few known similarities between the words as well as the word lengths.

I have a 5 letter word, followed by an 8 letter word, and ending with another 5 letter word.

- Letter 1 on word 1 is identical as letter 2 on word 3.

- Letter 6 on word 2 is identical as letter 1 on word 3

- Letters 7 and 8 on word two are the same.

- No other characters are identical


Similarities shown below using random symbols:

$????

?????#%%

#$???


I have 2 txt files, one with a list of 5 letter words and the other with a list of 8 letter words. (I can make another file for 5 letter words or combine both into one file if necessary)
I can edit the 8 letter word file to only contain double letter ending words if that helps!

Is this something I can utilize Python to help solve by printing a list of possible solutions? And would you kind folks help me write the script?
 
Last edited:
Joined
Sep 21, 2022
Messages
224
Reaction score
36
LUSTY
DIVORCEE
CLAMP

I can see 932 word combinations that fit this particular form.

Yes, python will work. Any programming language is suitable.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,189
Messages
2,571,014
Members
47,614
Latest member
DemetriaSp

Latest Threads

Top