danmermel / cryptario

Cryptic crossword solver
0 stars 0 forks source link

isSynonym getting the parameters the wrong way round? #65

Open danmermel opened 4 years ago

danmermel commented 4 years ago

Check that when w are calling utilities.isSynonym we are passing the parameters in the right order, i.e. the definition first and the candidate word second.

this is right:

const isSynonym = await utilities.isSynonym(parsedClue.definition, candidateWords[i])