Variable: soundex-alist
soundex-alist is a variable defined in soundex.el.gz.
Value
((66 . "1")
(70 . "1")
(80 . "1")
(86 . "1")
(67 . "2")
(71 . "2")
(74 . "2")
(75 . "2")
(81 . "2")
(83 . "2")
(88 . "2")
(90 . "2")
(68 . "3")
(84 . "3")
(76 . "4")
(77 . "5")
(78 . "5")
(82 . "6"))
Documentation
Alist of chars-to-key-code for building Soundex keys.
Source Code
;; Defined in /usr/src/emacs/lisp/soundex.el.gz
;;; soundex.el --- implement Soundex algorithm -*- lexical-binding: t -*-
;; Copyright (C) 1993, 2001-2024 Free Software Foundation, Inc.
;; Author: Christian Plaunt <chris@bliss.berkeley.edu>
;; Maintainer: emacs-devel@gnu.org
;; Keywords: matching
;; Created: Sat May 15 14:48:18 1993
;; This file is part of GNU Emacs.
;; GNU Emacs is free software: you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;; GNU Emacs is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
;; along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>.
;;; Commentary:
;; The Soundex algorithm maps English words into representations of
;; how they sound. Words with vaguely similar sound map to the same string.
;;; Code:
(defconst soundex-alist
'((?B . "1") (?F . "1") (?P . "1") (?V . "1")
(?C . "2") (?G . "2") (?J . "2") (?K . "2") (?Q . "2") (?S . "2")
(?X . "2") (?Z . "2") (?D . "3") (?T . "3") (?L . "4") (?M . "5")
(?N . "5") (?R . "6"))
"Alist of chars-to-key-code for building Soundex keys.")