static void Main(string[] args) { string verbDicPath = "../../VerbList.txt"; string sourceDir = "D:\\sample\\corpus_tagged\\"; string destinationDir = sourceDir + "again\\"; string file = "1088245.txt"; string sourceFile = sourceDir + file; string destinationFile = destinationDir + file; //load the corpus //this line takes time ValencyDicManager.RefreshVerbList("../../VerbList.txt", "../../valency list.txt"); //VerbInflector_OneFile(sourceFile, destinationFile, verbDicPath); VerbInflector_All(sourceDir, destinationDir, verbDicPath); }