japanese-conversion
收藏资源简介:
该数据集名为“Awesome Japanese IME Training Data”,是一个用于日语输入法(IME)训练的数据集,专注于基于上下文的假名汉字转换(kana-kanji conversion)的排序学习(ranking learning)任务。数据来源于 Awesome Japanese Corpus,并直接使用 KyTea 进行解析,无需中间生成带读音的数据集。每个样本包含以下字段:id(唯一标识)、context(转换目标之前的上下文文本)、input(转换目标的平假名读音)、correct(原始语料中正确的汉字表记)、incorrect(使用 predict.py 重新转换后得到的错误候选列表)、n_words(提取的连续形态素数)、source_text(原始文本)、target_start(转换目标在原始文本中的起始位置)、target_end(转换目标在原始文本中的结束位置)、from(数据来源)、from_license(数据来源的许可证信息)。通过 source_text、target_start、target_end 可以还原原始文本中的提取位置。在验证模式下,可选择仅采用与 MeCab 读音匹配的提取范围内的例子。数据以 Parquet 格式存储,默认配置下包含训练集拆分。
This dataset is named Awesome Japanese IME Training Data. It is a dataset for Japanese Input Method Editor (IME) training, focusing on the ranking learning task of context-based kana-kanji conversion. The data is sourced from the Awesome Japanese Corpus and parsed directly using KyTea, without the need for an intermediate dataset with readings. Each sample contains the following fields: id (unique identifier), context (context text before the conversion target), input (hiragana reading of the conversion target), correct (correct kanji representation from the original corpus), incorrect (list of incorrect candidates obtained by re-converting using predict.py), n_words (number of consecutive morphemes extracted), source_text (original text), target_start (starting position of the conversion target in the original text), target_end (ending position of the conversion target in the original text), from (data source), and from_license (license information of the data source). The extraction position in the original text can be restored via source_text, target_start, and target_end. In validation mode, only examples within the extraction range that match the MeCab reading can be selected. The data is stored in Parquet format, and the default configuration includes a training split.
数据集名称:Awesome Japanese IME Training Data
语言:日语(ja)
任务类别:文本生成(text-generation)
数据集简介
该数据集基于“Awesome Japanese Corpus”的正文,通过 KyTea 直接解析,构建了带有上下文信息的假名汉字转换(かな漢字変換)排序学习示例。数据集不包含中间带读音的版本,但在验证模式下,可以仅采用与 MeCab 读音一致的抽取范围示例。
数据字段说明
context:转换目标前的正文文本input:转换目标对应的平假名读音correct:原始语料中的正确汉字表记incorrect:通过predict.py对整体或部分重新转换后得到的错误候选项数组n_words:提取的连续形态素数source_text:原始文本,用于恢复抽取位置target_start/target_end:目标片段在原始文本中的起始和结束位置(整型)from:原始数据来源from_license:原始数据的许可协议id:样本唯一标识符(字符串)
数据文件与格式
- 默认配置名为
default - 训练数据文件路径:
data/train-*.parquet(Parquet 格式,支持分片) - 数据特征包括字符串、整数及字符串列表等类型
用途说明
该数据集适用于训练与评估日语输入法(IME)中的假名汉字转换模型,尤其是基于上下文和排序学习的场景。数据集中的 incorrect 字段提供了负样本,有助于学习候选排序。




