Skip to content

Bubble Cursor Instructions

greglnelson edited this page Oct 8, 2014 · 2 revisions

Your goal is to use your knowledge from the Hello World tutorial to build the necessary logic for the Bubble Cursor.

The Bubble Cursor is fully functional except it is missing some semantic information about targets. Try implementing this on your own. You'll find it useful to reuse some of the code that you either used or imported during earlier tutorials. We'll add more instructions here on how to set this up before getting started.

Approach Outline

  1. Heuristically tag leaf nodes as targets, using the tag "is_target" = True
  2. Correct erroneous "is_target" tags using annotations. Use the annotation library "target_corrections".
  3. Identify and group related text. Use the annotation library "text_corrections".
  • Once you have done this, annotate some targets that were grouped as text. What happens? Talk with the proctor about the issue. Try to resolve this issue and explain what your strategy is.
  1. Heuristically tag minor targets, using the tag "is_minor" = True. See Major/Minor Targets for more details.
  2. Correct erroneous "is_minor" tags using annotations. Use the annotation library "majorminor_corrections".

Clone this wiki locally