【问题标题】:CrowdFlower: if-ony logicCrowdFlower:if-only 逻辑
【发布时间】:2014-04-19 01:04:43
【问题描述】:

我正在尝试使用 CML 语言在 CrowdFlower 中设置任务。使用 only-if 逻辑时,我不断收到以下错误。

contains only-if logic that references a missing field

这是代码。

<cml:radios label="Is there any spoken text in the first audio or is the audio file empty?" class="" validates="required" instructions="Press the play button to play the audio in the above audio file. If you can't hear any audio please select the second option.">

<cml:radios label="Which option do you believe best answers the question" class="unmodified" only-if="is_there_any_spoken_text_in_the_first_audio_or_is_the_audio_file_empty?:[0]" validates="required"><cml:radio label="First option"/><cml:radio label="Second option"/><cml:radio label="Third option"/><cml:radio label="I would like to hear more options"/></cml:radios>

我在他们的文档中到处查看,但似乎没有任何帮助。

【问题讨论】:

    标签: mechanicalturk crowdsourcing crowdflower


    【解决方案1】:

    事实证明,CML 不喜欢问号(“?”)。我在我的标签中使用了它

    <cml:radios label="Is there any spoken text in the first audio or is the audio file empty?" class="" validates="required" instructions="Press the play button to play the audio in the above audio file. If you can't hear any audio please select the second option.">
    

    一旦我删除它,就没有错误了。

    希望这对某人有所帮助。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2021-12-17
      • 2023-04-07
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-03-14
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多