So, here are the responses:
first cue-words: apple, orange, banana
words ['yellow', ' fruit'] [] words ['juice', ' red'] [['banana', 'yellow, fruit'], ['banana', 'yellow, fruit']] words ['tree', ' leave'] [['banana', 'yellow, fruit'], ['banana', 'yellow, fruit'], ['orange', 'juice, red'], ['orange', 'juice, red']]
It should be noted that the number of responses for each cue-word (presented randomly) varied.
If you use unique words:
words ['word4', ' word5']
[]
words ['word6', ' word7']
[['word2', 'word4, word5'], ['word2', 'word4, word5']]
words ['word8', ' word9']
[['word2', 'word4, word5'], ['word2', 'word4, word5'], ['word1', 'word6, word7'], ['word1', 'word6, word7']]
Sorry, my mistake.
Replace
words = textbox.text.split(',')
for word in words:
responses.append([condition,textbox.text])
with
words = textbox.text.split(',')
for word in words:
responses.append([condition,word])
1 Like
Now it works! Responses to cue-words are now correctly presented in trial2.
Thank you so much, I hightly appreciate your great help, wakecarter!
Theoretically, how hard would it be to use participantsā responses in trial2 as cue-words in a hypothetical trial3? Could there be an algorithm (at the builder-level) that could repeat this infinite number of trials?