How to Install and Uninstall perl-Text-Soundex Package on openSuSE Tumbleweed

Last updated: May 05,2024

1. Install "perl-Text-Soundex" package

This guide let you learn how to install perl-Text-Soundex on openSuSE Tumbleweed

$ sudo zypper refresh $ sudo zypper install perl-Text-Soundex

2. Uninstall "perl-Text-Soundex" package

Learn how to uninstall perl-Text-Soundex on openSuSE Tumbleweed:

$ sudo zypper remove perl-Text-Soundex

3. Information about the perl-Text-Soundex package on openSuSE Tumbleweed

Information for package perl-Text-Soundex:
------------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : perl-Text-Soundex
Version : 3.05-1.37
Arch : x86_64
Vendor : openSUSE
Installed Size : 49.6 KiB
Installed : No
Status : not installed
Source package : perl-Text-Soundex-3.05-1.37.src
Upstream URL : http://search.cpan.org/dist/Text-Soundex/
Summary : Implementation of the soundex algorithm
Description :
Soundex is a phonetic algorithm for indexing names by sound, as pronounced
in English. The goal is for names with the same pronunciation to be encoded
to the same representation so that they can be matched despite minor
differences in spelling. Soundex is the most widely known of all phonetic
algorithms and is often used (incorrectly) as a synonym for "phonetic
algorithm". Improvements to Soundex are the basis for many modern phonetic
algorithms. (Wikipedia, 2007)
This module implements the original soundex algorithm developed by Robert
Russell and Margaret Odell, patented in 1918 and 1922, as well as a
variation called "American Soundex" used for US census data, and current
maintained by the National Archives and Records Administration (NARA).
The soundex algorithm may be recognized from Donald Knuth's *The Art of
Computer Programming*. The algorithm described by Knuth is the NARA
algorithm.
The value returned for strings which have no soundex encoding is defined
using '$Text::Soundex::nocode'. The default value is 'undef', however
values such as ''Z000'' are commonly used alternatives.
For backward compatibility with older versions of this module the
'$Text::Soundex::nocode' is exported into the caller's namespace as
'$soundex_nocode'.
In scalar context, 'soundex()' returns the soundex code of its first
argument. In list context, a list is returned in which each element is the
soundex code for the corresponding argument passed to 'soundex()'. For
example, the following code assigns @codes the value '('M200', 'S320')':
@codes = soundex qw(Mike Stok);
To use 'Text::Soundex' to generate codes that can be used to search one of
the publically available US Censuses, a variant of the soundex algorithm
must be used:
use Text::Soundex;
$code = soundex_nara($name);
An example of where these algorithm differ follows:
use Text::Soundex;
print soundex("Ashcraft"), "\n"; # prints: A226
print soundex_nara("Ashcraft"), "\n"; # prints: A261