Train and test pkuseg models on custom datasets
masterTo ensure fair comparison with other segmentation tools (like jieba or THULAC) that do not provide domain-specific pre-trained models, you can train pkuseg on your own datasets.
When training, pkuseg uses an interface that does not require a dictionary. To evaluate the performance of your trained model, use the test method. For consistent benchmarking, ensure all segmentation tools are trained and tested on the same data splits.