C# Class TextIndexer.MainWindow

Interaction logic for MainWindow.xaml
Inheritance: System.Windows.Window
ファイルを表示 Open project: VelocityDB/VelocityDB

Public Methods

Method 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

Method 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 method

public MainWindow ( ) : System
return System

createGlobalInvertedIndex() public method

public createGlobalInvertedIndex ( IndexRoot indexRoot ) : void
indexRoot VelocityDbSchema.TextIndexer.IndexRoot
return void

createLocalInvertedIndex() public method

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
return void

parseHtml() public method

public parseHtml ( string url, IndexRoot indexRoot ) : Document
url string
indexRoot VelocityDbSchema.TextIndexer.IndexRoot
return VelocityDbSchema.TextIndexer.Document

parseTextFile() public method

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

textToWords() public method

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
return void

verify() public method

public verify ( bool startTrans = true ) : void
startTrans bool
return void