[solved] How to make a loop landomly?
Hello!
My name is Yunjoo.
My major is linguistics.
First of all, thank you for your software, OpenSesame. It is very helpful!!!
I am trying to make a Korean sentence processing experiment. And I have a question.
In my experiment, I will show sentences composed of 2 ~ 4 words in one sequence.
For example,
1) fixation dot -> I -> love -> you -> fixation dot -> target word
2) fixation dot -> I -> slept -> fixation dot -> target word
I have 30 sentences per conditoin which is written in 2 ~ 4 words.
So, I want to show the sentence landomly to subjects, like 4 words sentence and then 2 word sentence...so on.
However, still I only know the sequence which is fixed only 3 or 4 or 2.
So I can show 4 words sequence at first (30 sentences) after 2 words sequence (30 sentences) like this.
And I have tried the mixed condition as like the picture 1.
In this case, it is too difficult to figure out the result, I mean in the excel.
Can you suggest any better way than what I made?
Thank you for your reading.
Sincerly,

Comments
Hi Yunjoo,
Thanks and you're welcome!
If I understand correctly, your question is how you can mix various-length sentences in the simplest way possible. Is that right? You already know how to implement a blocked situation, in which all sentences have the same length. But you are unsure how to implement a mixed situation.
What I would do is add a variable (
n_words) that indicates how long each sentence is. Like this:And then you can simply use run-if statements to execute only the
sketchpads that you actually want to show. Like this: (Screenshot is from 2.9.0. OpenSesame 2.8.3 looks a little different, but the principle is the same.)See? Easy peasy.
Cheers,
Sebastiaan
Check out SigmundAI.eu for our OpenSesame AI assistant!
OMG!!!
I am so surprised!!!
First, you understand my intention
Second, you solve the problem!!!
I will do that now
Thanks you so much