core/segment.{cpp,h}, vidjil.cpp: refactor ::toJsonList(), extract KmerSegmenter::toJsonList()
Each segmenter has now its own toJsonList() method. This is more flexible and allows to output the KmerSegmenter even when the FineSegmenter failed.
Showing