static void PrintNgrams(string[] args) { if (args.Length != 3) { PrintPrintNgramsUsage(); Environment.Exit(-1); } var fasttext = new FastText(); fasttext.LoadModel(args[1]); var word = args[2]; var ngramVectors = fasttext.GetNgramVectors(word); foreach (var ngramVector in ngramVectors) { Console.WriteLine($"{ngramVector.Item1} {ngramVector.Item2}"); } }