erGrouping is using a classifier instead of a set of heuristical ifs, updated example and documentation to use the new API