C# Class MSTParser.DependencyDecoder

Exibir arquivo Open project: rasoolims/MSTParserCSharp Class Usage Examples

Protected Properties

Property Type Description
m_pipe DependencyPipe

Public Methods

Method Description
DecodeProjective ( DependencyInstance inst, FeatureVector fvs, double probs, FeatureVector ntFvs, double ntProbs, int K ) : ].object[
DependencyDecoder ( DependencyPipe pipe ) : System
decodeNonProjective ( DependencyInstance inst, FeatureVector fvs, double probs, FeatureVector nt_fvs, double nt_probs, int K ) : ].object[

Protected Methods

Method Description
GetTypes ( double ntProbs, int len ) : ].int[

Private Methods

Method Description
calcChilds ( int par ) : ].bool[
chuLiuEdmonds ( double scoreMatrix, bool curr_nodes, int oldI, int oldO, bool Write, int>.Dictionary final_edges, int>.Dictionary reps ) : int>.Dictionary
getKChanges ( int par, double scoreMatrix, int K ) : int[]

Method Details

DecodeProjective() public method

public DecodeProjective ( DependencyInstance inst, FeatureVector fvs, double probs, FeatureVector ntFvs, double ntProbs, int K ) : ].object[
inst DependencyInstance
fvs FeatureVector
probs double
ntFvs FeatureVector
ntProbs double
K int
return ].object[

DependencyDecoder() public method

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

GetTypes() protected method

protected GetTypes ( double ntProbs, int len ) : ].int[
ntProbs double
len int
return ].int[

decodeNonProjective() public method

public decodeNonProjective ( DependencyInstance inst, FeatureVector fvs, double probs, FeatureVector nt_fvs, double nt_probs, int K ) : ].object[
inst DependencyInstance
fvs FeatureVector
probs double
nt_fvs FeatureVector
nt_probs double
K int
return ].object[

Property Details

m_pipe protected_oe property

protected DependencyPipe,MSTParser m_pipe
return DependencyPipe