class WordDb


Public Methods

WordDb()
const TextOfMovieT* get_movie_text( int movieId )
const StringOfText* get_string_of_text( int movieId, int linenum ) const
void add_new_movie_text( int id, TextOfMovieT *tom )
void insert_new_string_in_search_tree( const string &str, int movieId, int strIdx )
void insert_new_word_in_search_tree( const string &w, int movieId, int strIdx, int posInLine )
const WordOccurencesT& find_word( const string &w ) const
void find_similar_words( const string &word, GList *&similar ) const
void find_hint_words( const string &word, GList *&similar ) const
add to GList all reasonable words which are located somehow near reference word
WordOccurencesT merge_and( const WordOccurencesT &left, const WordOccurencesT &right ) const
WordOccurencesT merge_and_not( const WordOccurencesT &left, const WordOccurencesT &right ) const
WordOccurencesT merge_or( const WordOccurencesT &left, const WordOccurencesT &right ) const

Private Fields

AllTextsMapT allTextsMap
text string by string
WordTreeNode parentNode
the head of the tree
static const string spaces

Documentation

AllTextsMapT allTextsMap
text string by string

WordTreeNode parentNode
the head of the tree

static const string spaces

WordDb()

const TextOfMovieT* get_movie_text( int movieId )

const StringOfText* get_string_of_text( int movieId, int linenum ) const

void add_new_movie_text( int id, TextOfMovieT *tom )

void insert_new_string_in_search_tree( const string &str, int movieId, int strIdx )

void insert_new_word_in_search_tree( const string &w, int movieId, int strIdx, int posInLine )

const WordOccurencesT& find_word( const string &w ) const

void find_similar_words( const string &word, GList *&similar ) const

void find_hint_words( const string &word, GList *&similar ) const
add to GList all reasonable words which are located somehow near reference word

WordOccurencesT merge_and( const WordOccurencesT &left, const WordOccurencesT &right ) const

WordOccurencesT merge_and_not( const WordOccurencesT &left, const WordOccurencesT &right ) const

WordOccurencesT merge_or( const WordOccurencesT &left, const WordOccurencesT &right ) const


This class has no child classes.

alphabetic index html hierarchy of classes or java



This page was generated with the help of DOC++.