private static void Help(BadConditions condition) { switch (condition) { case BadConditions.badParameneters: Console.Error.WriteLine("Bad parameters. The options are:"); Console.Error.WriteLine(" -L\t\t\t List topics."); Console.Error.WriteLine(" -D <DocumentId> Document meta-data."); Console.Error.WriteLine(" -T2W <TopicId> [Count] List Words associated with <TopicId>. \n\t\t\t\tCount is optional and defaults to 1000. \n\t\t\t\tCount=0 returns all."); Console.Error.WriteLine(" -T2D <TopicId> [Count] List documents tagged with <TopicId>, \n\t\t\t\tin descending order of affinity. \n\t\t\t\tCount is optional and defaults to 1000. \n\t\t\t\tCount=0 returns all."); Console.Error.WriteLine(" -D2T <DocumentId>\t Topic vector \"Signature\" for <DocumentId>."); Console.Error.WriteLine(" -D2D <DocumentId> [Count] Documents similar to <DocumentId>, in descending\n\t\t\t\torder of similarity. \n\t\t\t\tCount is ptional and defaults to 1000."); Console.Error.WriteLine(" -D2W <DocumentId> [SortBy] List a document's salient words, sorted by \n\t\t\t\tTFIDF. To sort by in-document frequency set \n\t\t\t\tSortBy to 1."); Console.Error.WriteLine("\nExample:\n C:>TopicBrowser -T2W 9 100\n"); break; case BadConditions.badDbConnection: Console.Error.WriteLine("Error: Unable to connect to the Topic Model database. Check connection parametrs in the app.config and make sure you have read permissions on the database."); break; default: Console.Error.WriteLine("Error: Unexpected condition. You shouldn't be seeing this, so this is pretty bad!"); break; } }
private static void Help(BadConditions condition) { switch (condition) { case BadConditions.badParameneters: Console.Error.WriteLine("Bad parameters. The options are:"); Console.Error.WriteLine(" <ModelLocationPath> [LineCount] Location of Model files. \n\t\t\t\tCount is optional and defaults to 1000. \n\t\t\t\tCount=0 returns all."); Console.Error.WriteLine("\nExample:\n C:>ConvertModel \\\\oswaldo-server2\\LDAModels\n"); break; case BadConditions.badDbConnection: break; default: Console.Error.WriteLine("Error: Unexpected condition. You shouldn't be seeing this, so this is pretty bad!"); break; } }