public int beg(int idx)
    {
        if(idx<0 || idx>=super.size()){
            return -1;
        }
        return super.get(idx).beg();
    }
Contains the segmentation() method.

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