예제 #1
0
 public void FillVocabCountArgs(ref VocabCountArgs args)
 {
     args.verbose  = 1;
     args.maxVocab = -1;
     args.minCount = 1;
     args.mode     = 0;
 }
예제 #2
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);
 }
예제 #3
0
 static extern int vocabCount(ref VocabCountArgs args, string corpusInFile, string vocabOutFile);