public void FillVocabCountArgs(ref VocabCountArgs args) { args.verbose = 1; args.maxVocab = -1; args.minCount = 1; args.mode = 0; }
public GloveLearningModel(IMerkleTreeContext context) { m_context = context; cooccurArgs = new CooccurArgs(); FillCooccurArgs(ref cooccurArgs); gloveArgs = new GloveArgs(); FillGloveArgs(ref gloveArgs); shuffleArgs = new ShuffleArgs(); FillShuffleArgs(ref shuffleArgs); vocabCountArgs = new VocabCountArgs(); FillVocabCountArgs(ref vocabCountArgs); }
static extern int vocabCount(ref VocabCountArgs args, string corpusInFile, string vocabOutFile);