Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

static TranslationString::InitSentenceLengthCache  )  [static]
 

Initialize the static sentence cache which contains word counts of each sentence.

The pre-cached wordcounts are used for searching similar things, match percent comparison is based on these numbers, becasue not all words of the SIMILAR strings will be loaded from the database on FindSimilar(), only those words what this searched string also has. Thus complete word-word percent comparsion needs this length data.

Sets TranslationString::$SentenceLengthCache

Definition at line 126 of file TranslationString.php.

References $DB, $SentenceLengthCache, GetDbConn(), and GetTables().

Referenced by CacheIndexes().


Generated on Sat Apr 22 16:49:54 2006 for XarayaTranslationMemory by  doxygen 1.4.4