Class SimpleNoder

  • All Implemented Interfaces:
    Noder

    public class SimpleNoder
    extends SinglePassNoder
    Nodes a set of SegmentStrings by performing a brute-force comparison of every segment to every other one. This has n^2 performance, so is too slow for use on large numbers of segments.
    Version:
    1.7
    • Constructor Detail

      • SimpleNoder

        public SimpleNoder()
    • Method Detail

      • computeNodes

        public void computeNodes​(java.util.Collection inputSegStrings)
        Description copied from class: SinglePassNoder
        Computes the noding for a collection of SegmentStrings. Some Noders may add all these nodes to the input SegmentStrings; others may only add some or none at all.
        Specified by:
        computeNodes in interface Noder
        Specified by:
        computeNodes in class SinglePassNoder
        Parameters:
        inputSegStrings - a collection of SegmentStrings to node