Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
3486f274
Kaydet (Commit)
3486f274
authored
Ara 12, 1996
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Added soundex (sigh)
üst
c0967cd4
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
53 additions
and
1 deletion
+53
-1
Makefile
Doc/Makefile
+1
-1
lib.tex
Doc/lib.tex
+1
-0
lib.tex
Doc/lib/lib.tex
+1
-0
libsoundex.tex
Doc/lib/libsoundex.tex
+25
-0
libsoundex.tex
Doc/libsoundex.tex
+25
-0
No files found.
Doc/Makefile
Dosyayı görüntüle @
3486f274
...
...
@@ -112,7 +112,7 @@ LIBFILES = lib.tex \
libcd.tex libfl.tex libfm.tex libgl.tex libimgfile.tex libsun.tex
\
libxdrlib.tex libimghdr.tex
\
librestricted.tex librexec.tex libbastion.tex
\
libformatter.tex liboperator.tex
libformatter.tex liboperator.tex
libsoundex.tex
# Library document
lib.dvi
:
$(LIBFILES)
...
...
Doc/lib.tex
Dosyayı görüntüle @
3486f274
...
...
@@ -93,6 +93,7 @@ to Python and how to embed it in other applications.
\input
{
libregex
}
\input
{
libregsub
}
\input
{
libstruct
}
\input
{
libsoundex
}
\input
{
libmisc
}
% Miscellaneous Services
\input
{
libmath
}
...
...
Doc/lib/lib.tex
Dosyayı görüntüle @
3486f274
...
...
@@ -93,6 +93,7 @@ to Python and how to embed it in other applications.
\input
{
libregex
}
\input
{
libregsub
}
\input
{
libstruct
}
\input
{
libsoundex
}
\input
{
libmisc
}
% Miscellaneous Services
\input
{
libmath
}
...
...
Doc/lib/libsoundex.tex
0 → 100644
Dosyayı görüntüle @
3486f274
\section
{
Standard Module
\sectcode
{
soundex
}}
\stmodindex
{
soundex
}
\renewcommand
{
\indexsubitem
}{
(in module soundex)
}
The soundex algorithm takes an English word, and returns an
easily-computed hash of it; this hash is intended to be the same for
words that sound alike. This module provides an interface to the
soundex algorithm.
Note that the soundex algorithm is quite simple-minded, and isn't
perfect by any measure. Its main purpose is to help looking up names
in databases, when the name may be misspelled -- soundex hashes common
misspellings together.
\begin{funcdesc}
{
get
_
soundex
}{
string
}
Return the soundex hash value for a word; it will always be a
6-character string.
\var
{
string
}
must contain the word to be hashed,
with no leading whitespace; the case of the word is ignored.
\end{funcdesc}
\begin{funcdesc}
{
sound
_
similar
}{
string1, string2
}
Compare the word in
\var
{
string1
}
with the word in
\var
{
string2
}
; this
is equivalent to
\code
{
get
_
soundex(
\var
{
string1
}
)==get
_
soundex(
\var
{
string2
}
)
}
.
\end{funcdesc}
Doc/libsoundex.tex
0 → 100644
Dosyayı görüntüle @
3486f274
\section
{
Standard Module
\sectcode
{
soundex
}}
\stmodindex
{
soundex
}
\renewcommand
{
\indexsubitem
}{
(in module soundex)
}
The soundex algorithm takes an English word, and returns an
easily-computed hash of it; this hash is intended to be the same for
words that sound alike. This module provides an interface to the
soundex algorithm.
Note that the soundex algorithm is quite simple-minded, and isn't
perfect by any measure. Its main purpose is to help looking up names
in databases, when the name may be misspelled -- soundex hashes common
misspellings together.
\begin{funcdesc}
{
get
_
soundex
}{
string
}
Return the soundex hash value for a word; it will always be a
6-character string.
\var
{
string
}
must contain the word to be hashed,
with no leading whitespace; the case of the word is ignored.
\end{funcdesc}
\begin{funcdesc}
{
sound
_
similar
}{
string1, string2
}
Compare the word in
\var
{
string1
}
with the word in
\var
{
string2
}
; this
is equivalent to
\code
{
get
_
soundex(
\var
{
string1
}
)==get
_
soundex(
\var
{
string2
}
)
}
.
\end{funcdesc}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment