static void Main(string[] args) { XmlParser xmlp = new XmlParser(); Doc[] dic = xmlp.GetDictionary(); Dictionary <string, Node> dicti = InvertIndex.Invert(dic); Claster[] clasters = new Clasterization(dic).GetClasters(); Console.WriteLine("Done!"); Console.ReadKey(); }
static void Main(string[] args) { XmlParser xmlp = new XmlParser(); Doc[] dic = xmlp.GetDictionary(); Dictionary <string, Node> dicti = InvertIndex.Invert(dic); List <Weight> w = RangedSearch.RangedDocs(dicti); for (int i = 0; i < w.Count; i++) { Console.WriteLine(" doc ID: " + w[i].docId + ", weight: " + w[i].weight); } Console.WriteLine("Done!"); Console.ReadKey(); }