微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

动态创建用于Mechanical Turk任务布局的线

如何解决动态创建用于Mechanical Turk任务布局的线

这是我第一次在MTurk上创建任务。我有a docx条在行销杂志上发表的文章,其中包含标度,我想提取它们。

introducir la descripción de la imagen aquí

例如,以下面的比例,我希望获得标题:十项和五项性情测验,问题“我认为自己是:” 和答案。 >

{
   "title":"Ten-Item and Five-Item Presonality Inventories","scales":{
      "I see myself as":{
         "answer0":"1. Extraverted,enthusiastic","answer1":"2. Critical,quarrelsome","answer2":"3. Dependable,self-disciplined",...
      },"I see my self as":{
         "answer0":"Extraverted,enthusiastic (that is,sociable ... ","answer1":"2. Agreeable,kind ...",...
      }
   }
}

或类似的问题(如果重复的问题名称有问题)。我有两个问题:

  • 我不需要提供csv而不是文档吗?
  • 我现在正在设计任务的布局:如何使行数动态化?因此,工作人员在逐行添加行时会创建它们。
<!-- You must include this JavaScript file -->
<script src="https://assets.crowd.aws/crowd-html-elements.js"></script>

<!-- For the full list of available Crowd HTML Elements and their input/output documentation,please refer to https://docs.aws.amazon.com/sagemaker/latest/dg/sms-ui-template-reference.html -->

<!-- You must include crowd-form so that your task submits answers to MTurk -->
<crowd-form answer-format="flatten-objects">

    <div>
        <strong>Instructions: </strong> 
        <span>Click the link below to review the book. Collect the following questions and answers if it's available</span>
        <div>
            <div>
                <p><strong>Link to the book:</strong></p>

                <!-- Your website URLs will be substituted for the "url" variable when you publish 
                       a batch with an input file containing multiple website URLs -->
                <a href="${url}" target="_blank">${url}</a>

            </div>

            <div>
               <p><strong>Question:</strong></p>
               <crowd-input name="companyName" placeholder="e.g. ABC Inc." />
            </div>

            <div>
                <p><strong>Answers:</strong></p>
                <p><crowd-input name="answer1" placeholder="answer1"></crowd-input></p>
                <p><crowd-input name="answer2" placeholder="answer2"></crowd-input></p>
                <p><crowd-input name="answer3" placeholder="answer3"></crowd-input></p>
                <p><crowd-input name="answer4" placeholder="answer4"></crowd-input></p>
                <p><crowd-input name="answer5" placeholder="answer5"></crowd-input></p>
                ...
            </div>
        </div>
    </div>
</crowd-form>

也许我应该做与页面一样多的链接,并添加“没有问题按钮”。

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。