文件名称:crf:线性链条件随机场的纯Python实现
文件大小:807KB
文件格式:ZIP
更新时间:2024-06-02 18:27:21
Python
crf 线性链条件随机场的纯python实现 依存关系 脾气暴躁的 西皮 用法 您可以使用测试此代码。 训练 # format python3 crf_train.py < train> < model> # example python3 crf_train.py data/chunking_small/small_train.data small_model.json 测试 # format python3 crf_test.py < test> < trained> # example python3 crf_test.py data/chunking_small/small_test.data small_model.json 基准结果 数据:CoNLL语料库 :原始数据(8936个句子) :采样数据(77个句
【文件预览】:
crf-master
----.gitignore(733B)
----read_corpus.py(807B)
----README.md(1KB)
----utils()
--------exceptions.py(93B)
--------__init__.py(0B)
--------print.py(2KB)
----crf_test.py(392B)
----LICENSE(1KB)
----crf_train.py(390B)
----crf.py(14KB)
----data()
--------chunking_full()
--------chunking_small()
----feature.py(8KB)