프로퍼티 | 타입 | 설명 | |
---|---|---|---|
CreateForest | bool | ||
DataAlphabet | Alphabet | ||
Labeled | bool | ||
TypeAlphabet | Alphabet | ||
Types | string[] | ||
TypesInt | int[] |
메소드 | 설명 | |
---|---|---|
Add ( string feat, double val, FeatureVector fv ) : void | ||
AddNewFeature ( int index, double val, FeatureVector fv ) : void | ||
CloseAlphabets ( ) : void | ||
CreateFeatureVector ( string toks, string pos, string labs, int deps ) : FeatureVector | ||
CreateFeatureVector ( string toks, string pos, string posA, int small, int large, bool attR, FeatureVector fv ) : FeatureVector | ||
CreateFeatureVector ( string toks, string pos, string posA, int word, string type, bool attR, bool childFeatures, FeatureVector fv ) : FeatureVector | ||
CreateInstance ( |
||
CreateInstance ( string &toks, string &pos, string &labs, int &deps ) : DependencyInstance | ||
CreateInstances ( string fileName, string featFileName ) : DependencyInstance[] | ||
DependencyPipe ( ) : System | ||
DependencyPipe ( bool createForest ) : System |
Initializes a new instance of the DependencyPipe class.
|
|
GetFeatureVector ( DependencyInstance inst, FeatureVector fvs, double probs, FeatureVector ntFvs, double ntProbs, Parameters parameters ) : void | ||
Normalize ( string s ) : string | ||
ReadFeatureVector ( BinaryReader reader, DependencyInstance inst, FeatureVector fvs, double probs, FeatureVector ntFvs, double ntProbs, Parameters parameters ) : DependencyInstance | ||
ReadLines ( StreamReader reader ) : string[][] | ||
ReadLines ( string &toks, string &pos, string &labels, int &deps ) : void | ||
SetLabeled ( string file ) : void | ||
WritePossibleFeatures ( DependencyInstance inst, BinaryWriter writer ) : void | ||
setLabel ( bool label ) : void |
메소드 | 설명 | |
---|---|---|
CreateAlphabet ( string file ) : void |
public Add ( string feat, double val, FeatureVector fv ) : void | ||
feat | string | |
val | double | |
fv | FeatureVector | |
리턴 | void |
public AddNewFeature ( int index, double val, FeatureVector fv ) : void | ||
index | int | |
val | double | |
fv | FeatureVector | |
리턴 | void |
public CreateFeatureVector ( string toks, string pos, string labs, int deps ) : FeatureVector | ||
toks | string | |
pos | string | |
labs | string | |
deps | int | |
리턴 | FeatureVector |
public CreateFeatureVector ( string toks, string pos, string posA, int small, int large, bool attR, FeatureVector fv ) : FeatureVector | ||
toks | string | |
pos | string | |
posA | string | |
small | int | |
large | int | |
attR | bool | |
fv | FeatureVector | |
리턴 | FeatureVector |
public CreateFeatureVector ( string toks, string pos, string posA, int word, string type, bool attR, bool childFeatures, FeatureVector fv ) : FeatureVector | ||
toks | string | |
pos | string | |
posA | string | |
word | int | |
type | string | |
attR | bool | |
childFeatures | bool | |
fv | FeatureVector | |
리턴 | FeatureVector |
public CreateInstance ( |
||
reader | ||
리턴 |
public CreateInstance ( string &toks, string &pos, string &labs, int &deps ) : DependencyInstance | ||
toks | string | |
pos | string | |
labs | string | |
deps | int | |
리턴 | DependencyInstance |
public CreateInstances ( string fileName, string featFileName ) : DependencyInstance[] | ||
fileName | string | |
featFileName | string | |
리턴 | DependencyInstance[] |
public DependencyPipe ( bool createForest ) : System | ||
createForest | bool | if set to |
리턴 | System |
public GetFeatureVector ( DependencyInstance inst, FeatureVector fvs, double probs, FeatureVector ntFvs, double ntProbs, Parameters parameters ) : void | ||
inst | DependencyInstance | |
fvs | FeatureVector | |
probs | double | |
ntFvs | FeatureVector | |
ntProbs | double | |
parameters | Parameters | |
리턴 | void |
public ReadFeatureVector ( BinaryReader reader, DependencyInstance inst, FeatureVector fvs, double probs, FeatureVector ntFvs, double ntProbs, Parameters parameters ) : DependencyInstance | ||
reader | BinaryReader | |
inst | DependencyInstance | |
fvs | FeatureVector | |
probs | double | |
ntFvs | FeatureVector | |
ntProbs | double | |
parameters | Parameters | |
리턴 | DependencyInstance |
public ReadLines ( StreamReader reader ) : string[][] | ||
reader | StreamReader | |
리턴 | string[][] |
public ReadLines ( string &toks, string &pos, string &labels, int &deps ) : void | ||
toks | string | |
pos | string | |
labels | string | |
deps | int | |
리턴 | void |
public WritePossibleFeatures ( DependencyInstance inst, BinaryWriter writer ) : void | ||
inst | DependencyInstance | |
writer | BinaryWriter | |
리턴 | void |