danmermel / cryptario

Cryptic crossword solver
0 stars 0 forks source link

double def - create searchable pairs #13

Closed danmermel closed 5 years ago

danmermel commented 5 years ago

Once you have an array of words, create pairs of multi word strings to check over

e.g. give ["yearn", "for" ,"quite", "a", "while" ]

return

[ {one: yearn, two: for quite a while}, {one: yearn for, two: quite a while}, ..etc ]