# ner-slot_filling **Repository Path**: Samuelcoding/ner-slot_filling ## Basic Information - **Project Name**: ner-slot_filling - **Description**: 中文自然语言的实体抽取和意图识别(Natural Language Understanding),可选Bi-LSTM + CRF 或者 IDCNN + CRF - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2020-06-08 - **Last Updated**: 2021-08-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## NLU项目 这个项目做得是实体的抽取和意图的分类,slot filling and intent classify ## 语料的处理 ``` python gen_cooked_corpus_and_w2v.py ``` 以上生成模型需要的语料,按1:2:13分别生成test数据、dev数据、train数据。以及用gensim生成词向量,这个可以在更大的语料中训练 ## 训练 ``` python train_evaluate.py --clean True --train True --model_type bilstm ``` 上面用的是bilstm训练,也可以选择使用idcnn。 ## 测试 ``` python train_evaluate.py --train False ```