Overview of HanLP NLP Datasets
HanLP provides NLP datasets grouped by specific tasks. For each task, the library offers at least one
torch.utils.data.Dataset compatible class and several open-source resources. Datasets are typically split into TRAIN, DEV, and TEST portions, which are stored as Python constants. These resources can be retrieved using the get_resource() utility function from hanlp.utils.io_util.