Exemplo n.º 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;
 }
Exemplo n.º 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);
 }
Exemplo n.º 3
0
 static extern int cooccur(ref CooccurArgs args, string corpusInFile, string vocabInFile, string cooccurOutFile);