public Segments segment(String input) {
    String[] tokens = input.split("\\s");
    return segment(tokens);
  }
API for accessing the Segmenter automata.

@author Peter Boros
fsa/src/main/java/com/yahoo/fsa/segmenter/Segmenter.java