Adds input type parameter to SentenceSegmenter and Tokenizer. Otherwise, older annotations are not passed on to the end of the pipeline.