std::string encodedDigits(const std::string& word) const {
     std::string encoding;
     encodeHead(encoding, word);
     encodeTail(encoding, word);
     return encoding;
 }
Exemplo n.º 2
0
std::string Soundex::encodeDigits( const std::string& word ) const
{
    return encodeTail( encodeHead( word ) );
}
Exemplo n.º 3
0
std::string Soundex::encodedDigits(const std::string& word) const {
	std::string encoded;
	encodeHead(encoded, word);
	encodeTail(encoded, word);
	return encoded;
}