Posts: 29
Threads: 12
Joined: Feb 2021
Reputation:
0
Hi!
I'm designing a self-paced reading experiment (tokenized text, masked, forward_mask: true). For one word 'he' I would like to have the mask be 3 characters (xxx) instead of two, to make 'he' indistinguishable from 'she' when they are masked. Is there a way to do this while keeping the general shape of the words/sentence visible (so not masking all spaces)?
Thanks!
Posts: 43
Threads: 3
Joined: Sep 2020
Reputation:
0
Hi atfrederiksen,
I am checking on this for you, and I will get back to you soon.
Best,
Rachel
Posts: 43
Threads: 3
Joined: Sep 2020
Reputation:
0
04-14-2022, 02:08 PM
(This post was last modified: 04-14-2022, 02:08 PM by Rachel - Participant Affairs.)
Hi atfrederiksen,
You could do this by using "+" in place of normal spaces and "+" as the delimiter for the sentence containing the word in which you'd like the mask to be padded ('he'). So, for example, you could define this stimulus like so:
"ssr_1": {
"type": "tokenized_text",
"content": "He +is+very+happy",
"delimiter": "+",
"self_paced": true,
"mode": "masked",
"forward_mask": true
}
For the other stimulus, you could either define like so:
"ssr_2": {
"type": "tokenized_text",
"content": "She+is+very+happy",
"delimiter": "+",
"self_paced": true,
"mode": "masked",
"forward_mask": true
}
Or as you would typically define it:
"ssr_2": {
"type": "tokenized_text",
"content": "She is very happy",
"self_paced": true,
"mode": "masked",
"forward_mask": true
}
However, these sentences will show up as single strings of (equal length) masked characters. It's not possible to accomplish what you are asking with individually masked elements.
I hope that helps!
Best,
Rachel