示例#1
0
 public void FillCooccurArgs(ref CooccurArgs args)
 {
     args.verbose        = 1;
     args.symmetric      = 1;
     args.windowSize     = 15;
     args.memory         = 4;
     args.maxProduct     = -1;
     args.overflowLength = -1;
     args.overflowFile   = "overflow";
     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 cooccur(ref CooccurArgs args, string corpusInFile, string vocabInFile, string cooccurOutFile);