1. A method of text mining for automatically building knowledge base, comprising the steps of: (a) parsing selected from the group consisting of internet/intranet web pages and text documents so as to generate text files that only include a sequence of words, (b) extracting a plurality of phrases from selected from the group consisting said text files and said web pages, (c) representing said knowledge base as a weighted network, (d) learning weights between said phrases of said network by using said text files, whereby said knowledge base is trained as said weighted network using the said text files.