anchor.diff:  
   +aside-code("Example").
       from spacy.gold import biluo_tags_from_offsets
  -    text = 'I like London.'
  -    entities = [(len('I like '), len('I like London'), 'LOC')]
  -    doc = tokenizer(text)
  +
  +    doc = nlp('I like London.')
  +    entities = [(7, 13, 'LOC')]
       tags = biluo_tags_from_offsets(doc, entities)
       assert tags == ['O', 'O', 'U-LOC', 'O']
   
  
positive.code: 
  p
      |  Returns a list of unicode strings, describing the tags. Each tag string
      |  will be of the form either #[code ""], #[code "O"] or
      |  #[code "{action}-{label}"], where action is one of #[code "B"],
      |  #[code "I"], #[code "L"], #[code "U"]. The string #[code &quot;-&quot;]
      |  is used where the entity offsets don't align with the tokenization in the
  
negative.code:         +cell
              |  Unicode strings, describing the
              |  #[+a("/api/annotation#biluo") BILUO] tags.
  