Skip to content

Commit

Permalink
add train data
Browse files Browse the repository at this point in the history
  • Loading branch information
zqhZY committed Jan 12, 2018
1 parent 26c47c0 commit f73759d
Show file tree
Hide file tree
Showing 4 changed files with 58 additions and 0 deletions.
Empty file added chat_detection/data_process.py
Empty file.
Empty file added chat_detection/eval.py
Empty file.
54 changes: 54 additions & 0 deletions data/mobile_nlu_data.json
Original file line number Diff line number Diff line change
Expand Up @@ -769,6 +769,16 @@
}
]
},
{
"text": "三月份",
"intent": "inform_time",
"entities": []
},
{
"text": "三月的",
"intent": "inform_time",
"entities": []
},
{
"text": "十一月",
"intent": "inform_time",
Expand Down Expand Up @@ -1080,6 +1090,30 @@
}
]
},
{
"intent": "request_management",
"text": "给我办理流量业务",
"entities": [
{
"start": 4,
"value": "流量",
"end": 6,
"entity": "item"
}
]
},
{
"intent": "request_management",
"text": "给我办理流量",
"entities": [
{
"start": 4,
"value": "流量",
"end": 6,
"entity": "item"
}
]
},
{
"text": "给我办一个三十的新流量业务",
"intent": "request_management",
Expand Down Expand Up @@ -1223,6 +1257,11 @@
"intent": "goodbye",
"entities": []
},
{
"text": "",
"intent": "confirm",
"entities": []
},
{
"text": "好的",
"intent": "confirm",
Expand Down Expand Up @@ -1397,6 +1436,21 @@
"text": "好不用了",
"intent": "deny",
"entities": []
},
{
"text": "=",
"intent": "unknown_intent",
"entities": []
},
{
"text": "&",
"intent": "unknown_intent",
"entities": []
},
{
"text": "吃饭",
"intent": "unknown_intent",
"entities": []
}
],
"regex_features": [],
Expand Down
4 changes: 4 additions & 0 deletions data/mobile_raw_data.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ text,intent,item
我想办流量套餐|request_management|流量
我想开一个新流量套餐|request_management|流量
给我办一个新流量业务|request_management|流量
给我办理流量业务|request_management|流量

text,intent,item,price
给我办一下便宜点的流量套餐|request_management|流量,便宜
Expand All @@ -67,6 +68,8 @@ text,intent,time
一月|inform_time|一月
一月份|inform_time|一月份
一月的|inform_time|一月
三月份|inform_time|一月份
三月的|inform_time|一月
是一月的|inform_time|一月
一月|inform_time|一月
二月|inform_time|二月
Expand Down Expand Up @@ -134,6 +137,7 @@ text,intent
行的|confirm
没问题|confirm
恩|confirm
嗯|confirm
不要|deny
不需要|deny
不要办|deny
Expand Down

0 comments on commit f73759d

Please sign in to comment.