using System;
using System.Collections.Generic;
using System.Text;
namespace ScrewTurn.Wiki.SearchEngine {
///
/// Defines the interface a generic document.
///
public interface IDocument {
///
/// Gets or sets the globally unique ID of the document.
///
uint ID { get; set; }
///
/// Gets the globally-unique name of the document.
///
string Name { get; }
///
/// Gets the title of the document, if any.
///
string Title { get; }
///
/// Gets the tag for the document type.
///
string TypeTag { get; }
///
/// Gets the document date/time.
///
DateTime DateTime { get; }
///
/// Performs the tokenization of the document content.
///
/// The content to tokenize.
/// The extracted words and their positions.
WordInfo[] Tokenize(string content);
}
}