Свойство | Type | Description | |
---|---|---|---|
CreateForest | bool | ||
DataAlphabet | Alphabet | ||
Labeled | bool | ||
TypeAlphabet | Alphabet | ||
Types | string[] | ||
TypesInt | int[] |
Méthode | Description | |
---|---|---|
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 |
Méthode | Description | |
---|---|---|
CreateAlphabet ( string file ) : void |
public Add ( string feat, double val, FeatureVector fv ) : void | ||
feat | string | |
val | double | |
fv | FeatureVector | |
Résultat | void |
public AddNewFeature ( int index, double val, FeatureVector fv ) : void | ||
index | int | |
val | double | |
fv | FeatureVector | |
Résultat | void |
public CreateFeatureVector ( string toks, string pos, string labs, int deps ) : FeatureVector | ||
toks | string | |
pos | string | |
labs | string | |
deps | int | |
Résultat | 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 | |
Résultat | 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 | |
Résultat | FeatureVector |
public CreateInstance ( |
||
reader | ||
Résultat |
public CreateInstance ( string &toks, string &pos, string &labs, int &deps ) : DependencyInstance | ||
toks | string | |
pos | string | |
labs | string | |
deps | int | |
Résultat | DependencyInstance |
public CreateInstances ( string fileName, string featFileName ) : DependencyInstance[] | ||
fileName | string | |
featFileName | string | |
Résultat | DependencyInstance[] |
public DependencyPipe ( bool createForest ) : System | ||
createForest | bool | if set to |
Résultat | 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 | |
Résultat | 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 | |
Résultat | DependencyInstance |
public ReadLines ( StreamReader reader ) : string[][] | ||
reader | StreamReader | |
Résultat | string[][] |
public ReadLines ( string &toks, string &pos, string &labels, int &deps ) : void | ||
toks | string | |
pos | string | |
labels | string | |
deps | int | |
Résultat | void |
public WritePossibleFeatures ( DependencyInstance inst, BinaryWriter writer ) : void | ||
inst | DependencyInstance | |
writer | BinaryWriter | |
Résultat | void |