C# 클래스 MSTParser.DependencyParser

파일 보기 프로젝트 열기: rasoolims/MSTParserCSharp 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
TrainingIter ( DependencyInstance il, string trainfile, string train_forest, int iter ) : void

메소드 상세

DependencyParser() 공개 메소드

public DependencyParser ( DependencyPipe pipe ) : System
pipe DependencyPipe
리턴 System

DependencyParser() 공개 메소드

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

LoadModel() 공개 메소드

public LoadModel ( string file ) : void
file string
리턴 void

OutputParses() 공개 메소드

public OutputParses ( string tFile, string file ) : void
tFile string
file string
리턴 void

OutputParses() 공개 메소드

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

SaveModel() 공개 메소드

public SaveModel ( string file ) : void
file string
리턴 void

Train() 공개 메소드

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

프로퍼티 상세

CreateForest 공개적으로 프로퍼티

public bool CreateForest
리턴 bool

DecodeType 공개적으로 정적으로 프로퍼티

public static ProjectiveTypes DecodeType
리턴 ProjectiveTypes

DefaultModelFileName 공개적으로 정적으로 프로퍼티

public static string DefaultModelFileName
리턴 string

DefaultOutFile 공개적으로 정적으로 프로퍼티

public static string DefaultOutFile
리턴 string

Eval 공개적으로 정적으로 프로퍼티

public static bool Eval
리턴 bool

Goldfile 공개적으로 정적으로 프로퍼티

public static string Goldfile
리턴 string

LossType 공개적으로 정적으로 프로퍼티

public static LossTypes LossType
리턴 LossTypes

MTrain 공개적으로 정적으로 프로퍼티

public static bool MTrain
리턴 bool

NumIters 공개적으로 정적으로 프로퍼티

public static int NumIters
리턴 int

SecondOrder 공개적으로 정적으로 프로퍼티

public static bool SecondOrder
리턴 bool

Test 공개적으로 정적으로 프로퍼티

public static bool Test
리턴 bool

TestK 공개적으로 정적으로 프로퍼티

public static int TestK
리턴 int

TestfileName 공개적으로 정적으로 프로퍼티

public static string TestfileName
리턴 string

TestforestName 공개적으로 정적으로 프로퍼티

public static string TestforestName
리턴 string

TrainK 공개적으로 정적으로 프로퍼티

public static int TrainK
리턴 int

TrainfileName 공개적으로 정적으로 프로퍼티

public static string TrainfileName
리턴 string

TrainforestName 공개적으로 정적으로 프로퍼티

public static string TrainforestName
리턴 string