code: public HString rightContext(@NonNull AnnotationType type, int windowSize) {
        windowSize = Math.abs(windowSize);
        Preconditions.checkArgument(windowSize >= 0);
        int sentenceEnd = sentence().end();
        if (windowSize == 0 || end() >= sentenceEnd) {
           return Fragments.detachedEmptyHString();
        }
        HString context = lastToken().next(type);
        for (int i = 1; i < windowSize; i++) {
           HString next = context
                             .lastToken()
                             .next(type);
           if (next.start() >= sentenceEnd) {
              break;
           }
           context = context.union(next);
        }
        return context;
     }
docs: Right context h string.
  
  @param type       the type
  @param windowSize the window size
  @return the h string