C# Class TextIndexer.MainWindow

Interaction logic for MainWindow.xaml
Inheritance: System.Windows.Window
Afficher le fichier Open project: VelocityDB/VelocityDB

Méthodes publiques

Méthode Description
MainWindow ( ) : System
createGlobalInvertedIndex ( IndexRoot indexRoot ) : void
createLocalInvertedIndex ( Document doc, Word word, System.UInt64 wordCt, Placement wordPlacement, Placement wordHitPlacement ) : void
parseHtml ( string url, IndexRoot indexRoot ) : Document
parseTextFile ( string url, IndexRoot indexRoot, Placement docPlacement ) : Document
textToWords ( Document doc, IndexRoot indexRoot, string docTextString, Placement documentPlacement, Placement documentTextPlacement, Placement wordPlacement, Placement wordHitPlacement ) : void
verify ( bool startTrans = true ) : void

Private Methods

Méthode Description
MenuItem_Click ( object sender, RoutedEventArgs e ) : void
Window_MouseUp ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
addToPageListButton_Click ( object sender, RoutedEventArgs e ) : void
button1_Click ( object sender, RoutedEventArgs e ) : void
updateDataGrids ( IndexRoot indexRoot, int indexOfRemoved = -1 ) : void
updateWordTables_Click ( object sender, RoutedEventArgs e ) : void

Method Details

MainWindow() public méthode

public MainWindow ( ) : System
Résultat System

createGlobalInvertedIndex() public méthode

public createGlobalInvertedIndex ( IndexRoot indexRoot ) : void
indexRoot VelocityDbSchema.TextIndexer.IndexRoot
Résultat void

createLocalInvertedIndex() public méthode

public createLocalInvertedIndex ( Document doc, Word word, System.UInt64 wordCt, Placement wordPlacement, Placement wordHitPlacement ) : void
doc VelocityDbSchema.TextIndexer.Document
word VelocityDbSchema.TextIndexer.Word
wordCt System.UInt64
wordPlacement Placement
wordHitPlacement Placement
Résultat void

parseHtml() public méthode

public parseHtml ( string url, IndexRoot indexRoot ) : Document
url string
indexRoot VelocityDbSchema.TextIndexer.IndexRoot
Résultat VelocityDbSchema.TextIndexer.Document

parseTextFile() public méthode

public parseTextFile ( string url, IndexRoot indexRoot, Placement docPlacement ) : Document
url string
indexRoot VelocityDbSchema.TextIndexer.IndexRoot
docPlacement Placement
Résultat VelocityDbSchema.TextIndexer.Document

textToWords() public méthode

public textToWords ( Document doc, IndexRoot indexRoot, string docTextString, Placement documentPlacement, Placement documentTextPlacement, Placement wordPlacement, Placement wordHitPlacement ) : void
doc VelocityDbSchema.TextIndexer.Document
indexRoot VelocityDbSchema.TextIndexer.IndexRoot
docTextString string
documentPlacement Placement
documentTextPlacement Placement
wordPlacement Placement
wordHitPlacement Placement
Résultat void

verify() public méthode

public verify ( bool startTrans = true ) : void
startTrans bool
Résultat void