C# Class MSTParser.DependencyParser

Exibir arquivo Open project: rasoolims/MSTParserCSharp Class Usage Examples

Public Properties

Property Type Description
CreateForest bool
DecodeType ProjectiveTypes
DefaultModelFileName string
DefaultOutFile string
Eval bool
Goldfile string
LossType LossTypes
MTrain bool
NumIters int
SecondOrder bool
Test bool
TestK int
TestfileName string
TestforestName string
TrainK int
TrainfileName string
TrainforestName string

Public Methods

Method Description
DependencyParser ( DependencyPipe pipe ) : System
DependencyParser ( int order, string modelFileName, bool createForest ) : System
LoadModel ( string file ) : void
OutputParses ( string tFile, string file ) : void
OutputParses ( string words, string posTags, string &labels, int &deps ) : void
SaveModel ( string file ) : void
Train ( DependencyInstance il, string trainfile, string trainForest ) : void

Private Methods

Method Description
TrainingIter ( DependencyInstance il, string trainfile, string train_forest, int iter ) : void

Method Details

DependencyParser() public method

public DependencyParser ( DependencyPipe pipe ) : System
pipe DependencyPipe
return System

DependencyParser() public method

public DependencyParser ( int order, string modelFileName, bool createForest ) : System
order int
modelFileName string
createForest bool
return System

LoadModel() public method

public LoadModel ( string file ) : void
file string
return void

OutputParses() public method

public OutputParses ( string tFile, string file ) : void
tFile string
file string
return void

OutputParses() public method

public OutputParses ( string words, string posTags, string &labels, int &deps ) : void
words string
posTags string
labels string
deps int
return void

SaveModel() public method

public SaveModel ( string file ) : void
file string
return void

Train() public method

public Train ( DependencyInstance il, string trainfile, string trainForest ) : void
il DependencyInstance
trainfile string
trainForest string
return void

Property Details

CreateForest public_oe property

public bool CreateForest
return bool

DecodeType public_oe static_oe property

public static ProjectiveTypes DecodeType
return ProjectiveTypes

DefaultModelFileName public_oe static_oe property

public static string DefaultModelFileName
return string

DefaultOutFile public_oe static_oe property

public static string DefaultOutFile
return string

Eval public_oe static_oe property

public static bool Eval
return bool

Goldfile public_oe static_oe property

public static string Goldfile
return string

LossType public_oe static_oe property

public static LossTypes LossType
return LossTypes

MTrain public_oe static_oe property

public static bool MTrain
return bool

NumIters public_oe static_oe property

public static int NumIters
return int

SecondOrder public_oe static_oe property

public static bool SecondOrder
return bool

Test public_oe static_oe property

public static bool Test
return bool

TestK public_oe static_oe property

public static int TestK
return int

TestfileName public_oe static_oe property

public static string TestfileName
return string

TestforestName public_oe static_oe property

public static string TestforestName
return string

TrainK public_oe static_oe property

public static int TrainK
return int

TrainfileName public_oe static_oe property

public static string TrainfileName
return string

TrainforestName public_oe static_oe property

public static string TrainforestName
return string