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