private void addMissingSingles()
    {
        for(int i=0; i<_size; i++){
            if(_map[i][i+1]==-1){
                super.add(new Segment(i,i+1,0));
                _map[i][i+1]=super.size()-1;
            }
        }
    }
Contains the segmentation() method.

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