- 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?
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: