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