diff options
author | Chris Dyer <cdyer@cs.cmu.edu> | 2012-10-11 14:06:32 -0400 |
---|---|---|
committer | Chris Dyer <cdyer@cs.cmu.edu> | 2012-10-11 14:06:32 -0400 |
commit | 9339c80d465545aec5a6dccfef7c83ca715bf11f (patch) | |
tree | 64c56d558331edad1db3832018c80e799551c39a /rst_parser/dep_training.h | |
parent | 438dac41810b7c69fa10203ac5130d20efa2da9f (diff) | |
parent | afd7da3b2338661657ad0c4e9eec681e014d37bf (diff) |
Merge branch 'master' of https://github.com/redpony/cdec
Diffstat (limited to 'rst_parser/dep_training.h')
-rw-r--r-- | rst_parser/dep_training.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/rst_parser/dep_training.h b/rst_parser/dep_training.h deleted file mode 100644 index 3eeee22e..00000000 --- a/rst_parser/dep_training.h +++ /dev/null @@ -1,19 +0,0 @@ -#ifndef _DEP_TRAINING_H_ -#define _DEP_TRAINING_H_ - -#include <iostream> -#include <string> -#include <vector> -#include "arc_factored.h" -#include "weights.h" - -struct TrainingInstance { - TaggedSentence ts; - EdgeSubset tree; - SparseVector<weight_t> features; - // reads a "Jsent" formatted dependency file - static bool ReadInstance(std::istream* in, TrainingInstance* instance); // returns false at EOF - static void ReadTrainingCorpus(const std::string& fname, std::vector<TrainingInstance>* corpus, int rank = 0, int size = 1); -}; - -#endif |