code: func (as AnnotatedSentence) IDs() []int {
  	retVal := make([]int, len(as))
  	for i, a := range as {
  		retVal[i] = a.ID
  	}
  	return retVal
  }
docs: // IDs returns the list of IDs in the sentence. The return value has exactly the same length as the sentence.