Property | Type | Description | |
---|---|---|---|
DOCS | List |
Method | Description | |
---|---|---|
Add ( object a ) : int | ||
Build ( string name, IList |
||
Build ( string name, List |
||
Dist ( object _v1, object _v2 ) : double |
The distance function (angle between vectors)
|
|
DocumentDB ( ) : System |
Constructor
|
|
Load ( |
||
Parse ( string s ) : object |
Parse an string into the document's vector
|
|
ParseFromFile ( string name ) : Tdoc |
Parse document vector from file
|
|
ParseFromString ( string data ) : Tdoc |
Load vectors from ascii string
|
|
Save ( |
||
this ( int docid ) : object |
Indexer to retrieve an object by id
|
public Build ( string name, IList |
||
name | string | |
filenames | IList |
|
return | void |
public Build ( string name, List |
||
name | string | |
docs | List |
|
return | void |
public Dist ( object _v1, object _v2 ) : double | ||
_v1 | object | |
_v2 | object | |
return | double |
public Load ( |
||
Input | ||
return | void |
public ParseFromString ( string data ) : Tdoc | ||
data | string | |
return | Tdoc |
public Save ( |
||
Output | ||
return | void |