AddToDictionary Method

Stot

Stot

Semanter..::..AddToDictionary Method

Provided a Book and its weight, this method allocat.es each word in the book to its weight

Namespace:  Engine
Assembly:  Engine (in Engine.dll)

Syntax


public void AddToDictionary(
	string toBook,
	int weight
)
Public Sub AddToDictionary ( _
	toBook As String, _
	weight As Integer _
)
public:
void AddToDictionary(
	String^ toBook, 
	int^ weight
)

Parameters

toBook
Type: String
A path to the file that contains books
weight
Type: Int32
The weight allocated to a word