A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/dictionary__util_8hpp_source.html below:

NCBI C++ ToolKit: include/util/dictionary_util.hpp Source File

Go to the documentation of this file.

Go to the SVN repository for this file.

1 #ifndef UTIL___DICTIONARY_UTIL__HPP 2 #define UTIL___DICTIONARY_UTIL__HPP 61  static void

GetSoundex(

const string

&

in

,

string

*

out

,

62  size_t

max_chars = eMaxSoundex,

63  char

pad_char =

'0'

);

75  static void

GetMetaphone(

const string

&

in

,

string

*

out

,

76  size_t

max_chars = eMaxMetaphone);

101  static void

Stem(

const string

& in_str,

string

* out_str);

119 

eEditDistance_Similar

121  static size_t

GetEditDistance(

const string

& str1,

const string

& str2,

122

EDistanceMethod method = eEditDistance_Exact);

125  static int

Score(

const string

& word1,

const string

& word2,

126  size_t

max_metaphone = eMaxMetaphone);

129  static int

Score(

const string

& word1,

const string

& meta1,

130  const string

& word2,

const string

& meta2,

131

EDistanceMethod method = eEditDistance_Similar);

Standard dictionary utility functions.

EDistanceMethod

Return the Levenshtein edit distance between two words.

@ eEditDistance_Exact

This method performs an exhausive search, and has an algorithmic complexity of O(n x m),...

Include a standard set of the NCBI C++ Toolkit most basic headers.

std::ofstream out("events_result.xml")

main entry point for tests

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

std::istream & in(std::istream &in_, double &x_)

NCBI_XUTIL_EXPORT

Parameter to control printing diagnostic message about conversion of static array data from a differe...


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4