2017-03-27 78 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文件

希望这会有所帮助