std::string encodedDigits(const std::string& word) const {
     std::string encoding;
     encodeHead(encoding, word);
     encodeTail(encoding, word);
     return encoding;
 }
Exemple #2
0
std::string Soundex::encodeDigits( const std::string& word ) const
{
    return encodeTail( encodeHead( word ) );
}
Exemple #3
0
std::string Soundex::encodedDigits(const std::string& word) const {
	std::string encoded;
	encodeHead(encoded, word);
	encodeTail(encoded, word);
	return encoded;
}