AIML Knowledge base construction from text corpora