2017-03-27 68 views
0

我一直在嘗試使用program ab創建聊天機器人。我創建了一個簡單的aiml文件並嘗試過。但它不工作。我得到這個,在程序ab中總是「我沒有答案」的答案

Name = super Path = /aiml/bots/super 
c:/ab 
/aiml/bots 
/aiml/bots/super 
/aiml/bots/super/aiml 
/aiml/bots/super/aimlif 
/aiml/bots/super/config 
/aiml/bots/super/logs 
/aiml/bots/super/sets 
/aiml/bots/super/maps 
Preprocessor: 0 norms 0 persons 0 person2 
Get Properties: /aiml/bots/super/config/properties.txt 
addAIMLSets: /aiml/bots/super/sets does not exist. 
addCategories: /aiml/bots/super/aiml does not exist. 
AIML modified Thu Jan 01 05:30:00 IST 1970 AIMLIF modified Thu Jan 01 05:30:00 IST 1970 
No deleted.aiml.csv file found 
No deleted.aiml.csv file found 
addCategories: /aiml/bots/super/aimlif does not exist. 
Loaded 0 categories in 0.002 sec 
No AIMLIF Files found. Looking for AIML 
addCategories: /aiml/bots/super/aiml does not exist. 
Loaded 0 categories in 0.001 sec 
--> Bot super 0 completed 0 deleted 0 unfinished 
Setting predicate topic to unknown 
normalized = HELLO 
No match. 
writeCertainIFCaegories learnf.aiml size= 0 
I have no answer for that. 

爲什麼文件沒有加載?我還在下面列出了簡單的aiml文件。 super文件夾裏有所有內置的aiml我用program ab下載的文件

回答

0

因爲aiml文件沒有正確加載,所以沒有答案來回答任何問題。

Preprocessor: 0 norms 0 persons 0 person2 

這意味着沒有文件被處理和添加。

+0

我在下面添加了一個說明 – Jaden

0

.aiml文件是最有可能的未加載或找不到。也許命名問題?

Name = super Path = /aiml/bots/super 
c:/ab 
/aiml/bots 
/aiml/bots/super 
/aiml/bots/super/aiml 
/aiml/bots/super/aimlif 
/aiml/bots/super/config 
/aiml/bots/super/logs 
/aiml/bots/super/sets 
/aiml/bots/super/maps 
Preprocessor: 0 norms 0 persons 0 person2 
Get Properties: /aiml/bots/super/config/properties.txt 
addAIMLSets: /aiml/bots/super/sets does not exist. 
addCategories: /aiml/bots/super/aiml does not exist. 
AIML modified Thu Jan 01 05:30:00 IST 1970 AIMLIF modified Thu Jan 01 05:30:00 IST 1970 
No deleted.aiml.csv file found 
No deleted.aiml.csv file found 
addCategories: /aiml/bots/super/aimlif does not exist. 
Loaded 0 categories in 0.002 sec 
No AIMLIF Files found. Looking for AIML 
addCategories: /aiml/bots/super/aiml does not exist. 
Loaded 0 categories in 0.001 sec 
--> Bot super 0 completed 0 deleted 0 unfinished 
Setting predicate topic to unknown 
normalized = HELLO 
No match. 
writeCertainIFCaegories learnf.aiml size= 0 
I have no answer for that. 

Loaded 0 categories告訴你,沒有類別從您的.aiml文件 此外,--> Bot super 0 completed 0 deleted 0 unfinished發現,再告訴你,0類已經完成了你的機器人

這可能是因爲你錯過了設置up .aiml.csv文件

希望這會有所幫助