Announcing the new Datavyu v1.3.6 with enhanced features and transcription support!

Hey all,

I've had this reliability-generator script that aims to create one reliability cell for every two cells coded. See below:

begin setVariable("REL-FOOT", make_rel("REL-FOOT", "FOOT", 2, "onset")) setVariable("REL-SIDE", make_rel("REL-SIDE", "SIDEPREF", 2, "onset")) setVariable("REL-VOCS", make_rel("REL-VOCS", "VOCS", 2, "onset")) setVariable("REL-LIMB", make_rel("REL-LIMB", "LIMB", 2, "onset"))

end

The script has worked in OpenSHAPA before, but when I ran it in Datavyu (using the datavyu API), it generated reliability cells for all of the cells coded (instead of every other).

Has something changed in the scripting language in datavyu? If so, let me know so I can figure out how to generate the script as normal.

Thanks!

asked 11 Feb '14, 13:31

jducz's gravatar image

jducz
81558
accept rate: 0%


I'm not sure why it's not working for you in datavyu but it is in openshapa. I've run similar scripts myself in datavyu and it worked. However, mine are slightly different and will hopefully work for you as well. The script is below.

require 'Datavyu_API.rb'

begin

make_rel("REL-FOOT", "FOOT", 2, "onset") make_rel("REL-SIDE", "SIDEPREF", 2, "onset") make_rel("REL-VOCS", "VOCS", 2, "onset") make_rel("REL-LIMB", "LIMB", 2, "onset")

end

permanent link

answered 11 Feb '14, 14:17

david's gravatar image

david ♦
143235
accept rate: 4%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×46
×9
×1

question asked: 11 Feb '14, 13:31

question was seen: 2,524 times

last updated: 11 Feb '14, 14:17

powered by OSQA