cz_corpus
收藏资源简介:
该数据集是为词类比任务设计的,用于检查捷克语词汇和短语的句法、形态句法和语义属性。数据集可供研究社区使用,支持Word2Vec和GloVe算法进行实验。
This dataset is designed for the word analogy task, aimed at examining the syntactic, morphosyntactic, and semantic attributes of Czech vocabulary and phrases. It is available to the research community and supports experiments using Word2Vec and GloVe algorithms.
数据集概述
数据集名称
cz_corpus
数据集目的
用于探索最先进的词嵌入方法在捷克语上的行为,特别是针对词类比任务,检查捷克语词汇和短语的句法、形态句法和语义属性。
数据集内容
包含用于词类比任务的捷克语词汇和短语。
使用方法
- 使用Word2Vec和GloVe算法进行实验。
- 推荐使用no_phrase数据集进行词类比测试。
引用信息
@inproceedings{svoboda:16, author = {Svoboda, Lukáš and Brychcín, Tomáš}, year = {2016}, month = {04}, pages = {103–114}, booktitle = {Computational Linguistics and Intelligent Text Processing}, publisher={Springer}, doi= {10.1007/978-3-319-75477-2}, title = {New word analogy corpus for exploring embeddings of Czech words} }
技术要求
- Python版本需大于2.7。
- 需要安装Gensim和Numpy包。
数据集下载与使用
- 通过Git克隆仓库:
git clone https://github.com/Svobikl/cz_corpus Evaluator - 下载模型文件并解压至指定目录。
- 运行评估脚本:
python Evaluator.py -m ./models/no_phrase/vectors_cz_cbow_dim300uni400_w15n15_iter15.txt
参数设置
-m:指定模型路径。-t:设置最相似词的数量,默认值为1。-c:指定语料库路径,默认路径为./corpus/czech_emb_corpus.txt。




