summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-abydos.spec434
-rw-r--r--sources1
3 files changed, 436 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..e31e813 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/abydos-0.5.0.tar.gz
diff --git a/python-abydos.spec b/python-abydos.spec
new file mode 100644
index 0000000..fae2914
--- /dev/null
+++ b/python-abydos.spec
@@ -0,0 +1,434 @@
+%global _empty_manifest_terminate_build 0
+Name: python-abydos
+Version: 0.5.0
+Release: 1
+Summary: Abydos NLP/IR library
+License: GPLv3+
+URL: https://github.com/chrislit/abydos
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/30/53/4d8dfccbbfe6031a2293941d718dfda7cf2e39883f915b5e3b2c057b518c/abydos-0.5.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-numpy
+Requires: python3-deprecation
+
+%description
++------------------+------------------------------------------------------+
+| CI & Test Status | |travis| |circle| |azure| |semaphore| |coveralls| |
++------------------+------------------------------------------------------+
+| Code Quality | |codeclimate| |scrutinizer| |codacy| |codefactor| |
++------------------+------------------------------------------------------+
+| Dependencies | |requires| |snyk| |pyup| |cii| |
++------------------+------------------------------------------------------+
+| Local Analysis | |pylint| |flake8| |pydocstyle| |sloccount| |black| |
++------------------+------------------------------------------------------+
+| Usage | |docs| |mybinder| |license| |sourcerank| |zenodo| |
++------------------+------------------------------------------------------+
+| Contribution | |openhub| |gh-commits| |gh-issues| |gh-stars| |
++------------------+------------------------------------------------------+
+| PyPI | |pypi| |pypi-dl| |pypi-ver| |
++------------------+------------------------------------------------------+
+| conda-forge | |conda| |conda-dl| |conda-platforms| |
++------------------+------------------------------------------------------+
+|
+|
+| `Abydos NLP/IR library <https://github.com/chrislit/abydos>`_
+| Copyright 2014-2020 by Christopher C. Little
+Abydos is a library of phonetic algorithms, string distance measures & metrics,
+stemmers, and string fingerprinters including:
+- Phonetic algorithms
+ - Robert C. Russell's Index
+ - American Soundex
+ - Refined Soundex
+ - Daitch-Mokotoff Soundex
+ - Kölner Phonetik
+ - NYSIIS
+ - Match Rating Algorithm
+ - Metaphone
+ - Double Metaphone
+ - Caverphone
+ - Alpha Search Inquiry System
+ - Fuzzy Soundex
+ - Phonex
+ - Phonem
+ - Phonix
+ - SfinxBis
+ - phonet
+ - Standardized Phonetic Frequency Code
+ - Statistics Canada
+ - Lein
+ - Roger Root
+ - Oxford Name Compression Algorithm (ONCA)
+ - Eudex phonetic hash
+ - Haase Phonetik
+ - Reth-Schek Phonetik
+ - FONEM
+ - Parmar-Kumbharana
+ - Davidson's Consonant Code
+ - SoundD
+ - PSHP Soundex/Viewex Coding
+ - an early version of Henry Code
+ - Norphone
+ - Dolby Code
+ - Phonetic Spanish
+ - Spanish Metaphone
+ - MetaSoundex
+ - SoundexBR
+ - NRL English-to-phoneme
+ - Beider-Morse Phonetic Matching
+- String distance metrics
+ - Levenshtein distance
+ - Optimal String Alignment distance
+ - Levenshtein-Damerau distance
+ - Hamming distance
+ - Tversky index
+ - Sørensen–Dice coefficient & distance
+ - Jaccard similarity coefficient & distance
+ - overlap similarity & distance
+ - Tanimoto coefficient & distance
+ - Minkowski distance & similarity
+ - Manhattan distance & similarity
+ - Euclidean distance & similarity
+ - Chebyshev distance
+ - cosine similarity & distance
+ - Jaro distance
+ - Jaro-Winkler distance (incl. the strcmp95 algorithm variant)
+ - Longest common substring
+ - Ratcliff-Obershelp similarity & distance
+ - Match Rating Algorithm similarity
+ - Normalized Compression Distance (NCD) & similarity
+ - Monge-Elkan similarity & distance
+ - Matrix similarity
+ - Needleman-Wunsch score
+ - Smith-Waterman score
+ - Gotoh score
+ - Length similarity
+ - Prefix, Suffix, and Identity similarity & distance
+ - Modified Language-Independent Product Name Search (MLIPNS) similarity &
+ distance
+ - Bag distance
+ - Editex distance
+ - Eudex distances
+ - Sift4 distance
+ - Baystat distance & similarity
+ - Typo distance
+ - Indel distance
+ - Synoname
+- Stemmers
+ - the Lovins stemmer
+ - the Porter and Porter2 (Snowball English) stemmers
+ - Snowball stemmers for German, Dutch, Norwegian, Swedish, and Danish
+ - CLEF German, German plus, and Swedish stemmers
+ - Caumann's German stemmer
+ - UEA-Lite Stemmer
+ - Paice-Husk Stemmer
+ - Schinke Latin stemmer
+ - S stemmer
+- String Fingerprints
+ - string fingerprint
+ - q-gram fingerprint
+ - phonetic fingerprint
+ - Pollock & Zomora's skeleton key
+ - Pollock & Zomora's omission key
+ - Cisłak & Grabowski's occurrence fingerprint
+ - Cisłak & Grabowski's occurrence halved fingerprint
+ - Cisłak & Grabowski's count fingerprint
+ - Cisłak & Grabowski's position fingerprint
+
+%package -n python3-abydos
+Summary: Abydos NLP/IR library
+Provides: python-abydos
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-abydos
++------------------+------------------------------------------------------+
+| CI & Test Status | |travis| |circle| |azure| |semaphore| |coveralls| |
++------------------+------------------------------------------------------+
+| Code Quality | |codeclimate| |scrutinizer| |codacy| |codefactor| |
++------------------+------------------------------------------------------+
+| Dependencies | |requires| |snyk| |pyup| |cii| |
++------------------+------------------------------------------------------+
+| Local Analysis | |pylint| |flake8| |pydocstyle| |sloccount| |black| |
++------------------+------------------------------------------------------+
+| Usage | |docs| |mybinder| |license| |sourcerank| |zenodo| |
++------------------+------------------------------------------------------+
+| Contribution | |openhub| |gh-commits| |gh-issues| |gh-stars| |
++------------------+------------------------------------------------------+
+| PyPI | |pypi| |pypi-dl| |pypi-ver| |
++------------------+------------------------------------------------------+
+| conda-forge | |conda| |conda-dl| |conda-platforms| |
++------------------+------------------------------------------------------+
+|
+|
+| `Abydos NLP/IR library <https://github.com/chrislit/abydos>`_
+| Copyright 2014-2020 by Christopher C. Little
+Abydos is a library of phonetic algorithms, string distance measures & metrics,
+stemmers, and string fingerprinters including:
+- Phonetic algorithms
+ - Robert C. Russell's Index
+ - American Soundex
+ - Refined Soundex
+ - Daitch-Mokotoff Soundex
+ - Kölner Phonetik
+ - NYSIIS
+ - Match Rating Algorithm
+ - Metaphone
+ - Double Metaphone
+ - Caverphone
+ - Alpha Search Inquiry System
+ - Fuzzy Soundex
+ - Phonex
+ - Phonem
+ - Phonix
+ - SfinxBis
+ - phonet
+ - Standardized Phonetic Frequency Code
+ - Statistics Canada
+ - Lein
+ - Roger Root
+ - Oxford Name Compression Algorithm (ONCA)
+ - Eudex phonetic hash
+ - Haase Phonetik
+ - Reth-Schek Phonetik
+ - FONEM
+ - Parmar-Kumbharana
+ - Davidson's Consonant Code
+ - SoundD
+ - PSHP Soundex/Viewex Coding
+ - an early version of Henry Code
+ - Norphone
+ - Dolby Code
+ - Phonetic Spanish
+ - Spanish Metaphone
+ - MetaSoundex
+ - SoundexBR
+ - NRL English-to-phoneme
+ - Beider-Morse Phonetic Matching
+- String distance metrics
+ - Levenshtein distance
+ - Optimal String Alignment distance
+ - Levenshtein-Damerau distance
+ - Hamming distance
+ - Tversky index
+ - Sørensen–Dice coefficient & distance
+ - Jaccard similarity coefficient & distance
+ - overlap similarity & distance
+ - Tanimoto coefficient & distance
+ - Minkowski distance & similarity
+ - Manhattan distance & similarity
+ - Euclidean distance & similarity
+ - Chebyshev distance
+ - cosine similarity & distance
+ - Jaro distance
+ - Jaro-Winkler distance (incl. the strcmp95 algorithm variant)
+ - Longest common substring
+ - Ratcliff-Obershelp similarity & distance
+ - Match Rating Algorithm similarity
+ - Normalized Compression Distance (NCD) & similarity
+ - Monge-Elkan similarity & distance
+ - Matrix similarity
+ - Needleman-Wunsch score
+ - Smith-Waterman score
+ - Gotoh score
+ - Length similarity
+ - Prefix, Suffix, and Identity similarity & distance
+ - Modified Language-Independent Product Name Search (MLIPNS) similarity &
+ distance
+ - Bag distance
+ - Editex distance
+ - Eudex distances
+ - Sift4 distance
+ - Baystat distance & similarity
+ - Typo distance
+ - Indel distance
+ - Synoname
+- Stemmers
+ - the Lovins stemmer
+ - the Porter and Porter2 (Snowball English) stemmers
+ - Snowball stemmers for German, Dutch, Norwegian, Swedish, and Danish
+ - CLEF German, German plus, and Swedish stemmers
+ - Caumann's German stemmer
+ - UEA-Lite Stemmer
+ - Paice-Husk Stemmer
+ - Schinke Latin stemmer
+ - S stemmer
+- String Fingerprints
+ - string fingerprint
+ - q-gram fingerprint
+ - phonetic fingerprint
+ - Pollock & Zomora's skeleton key
+ - Pollock & Zomora's omission key
+ - Cisłak & Grabowski's occurrence fingerprint
+ - Cisłak & Grabowski's occurrence halved fingerprint
+ - Cisłak & Grabowski's count fingerprint
+ - Cisłak & Grabowski's position fingerprint
+
+%package help
+Summary: Development documents and examples for abydos
+Provides: python3-abydos-doc
+%description help
++------------------+------------------------------------------------------+
+| CI & Test Status | |travis| |circle| |azure| |semaphore| |coveralls| |
++------------------+------------------------------------------------------+
+| Code Quality | |codeclimate| |scrutinizer| |codacy| |codefactor| |
++------------------+------------------------------------------------------+
+| Dependencies | |requires| |snyk| |pyup| |cii| |
++------------------+------------------------------------------------------+
+| Local Analysis | |pylint| |flake8| |pydocstyle| |sloccount| |black| |
++------------------+------------------------------------------------------+
+| Usage | |docs| |mybinder| |license| |sourcerank| |zenodo| |
++------------------+------------------------------------------------------+
+| Contribution | |openhub| |gh-commits| |gh-issues| |gh-stars| |
++------------------+------------------------------------------------------+
+| PyPI | |pypi| |pypi-dl| |pypi-ver| |
++------------------+------------------------------------------------------+
+| conda-forge | |conda| |conda-dl| |conda-platforms| |
++------------------+------------------------------------------------------+
+|
+|
+| `Abydos NLP/IR library <https://github.com/chrislit/abydos>`_
+| Copyright 2014-2020 by Christopher C. Little
+Abydos is a library of phonetic algorithms, string distance measures & metrics,
+stemmers, and string fingerprinters including:
+- Phonetic algorithms
+ - Robert C. Russell's Index
+ - American Soundex
+ - Refined Soundex
+ - Daitch-Mokotoff Soundex
+ - Kölner Phonetik
+ - NYSIIS
+ - Match Rating Algorithm
+ - Metaphone
+ - Double Metaphone
+ - Caverphone
+ - Alpha Search Inquiry System
+ - Fuzzy Soundex
+ - Phonex
+ - Phonem
+ - Phonix
+ - SfinxBis
+ - phonet
+ - Standardized Phonetic Frequency Code
+ - Statistics Canada
+ - Lein
+ - Roger Root
+ - Oxford Name Compression Algorithm (ONCA)
+ - Eudex phonetic hash
+ - Haase Phonetik
+ - Reth-Schek Phonetik
+ - FONEM
+ - Parmar-Kumbharana
+ - Davidson's Consonant Code
+ - SoundD
+ - PSHP Soundex/Viewex Coding
+ - an early version of Henry Code
+ - Norphone
+ - Dolby Code
+ - Phonetic Spanish
+ - Spanish Metaphone
+ - MetaSoundex
+ - SoundexBR
+ - NRL English-to-phoneme
+ - Beider-Morse Phonetic Matching
+- String distance metrics
+ - Levenshtein distance
+ - Optimal String Alignment distance
+ - Levenshtein-Damerau distance
+ - Hamming distance
+ - Tversky index
+ - Sørensen–Dice coefficient & distance
+ - Jaccard similarity coefficient & distance
+ - overlap similarity & distance
+ - Tanimoto coefficient & distance
+ - Minkowski distance & similarity
+ - Manhattan distance & similarity
+ - Euclidean distance & similarity
+ - Chebyshev distance
+ - cosine similarity & distance
+ - Jaro distance
+ - Jaro-Winkler distance (incl. the strcmp95 algorithm variant)
+ - Longest common substring
+ - Ratcliff-Obershelp similarity & distance
+ - Match Rating Algorithm similarity
+ - Normalized Compression Distance (NCD) & similarity
+ - Monge-Elkan similarity & distance
+ - Matrix similarity
+ - Needleman-Wunsch score
+ - Smith-Waterman score
+ - Gotoh score
+ - Length similarity
+ - Prefix, Suffix, and Identity similarity & distance
+ - Modified Language-Independent Product Name Search (MLIPNS) similarity &
+ distance
+ - Bag distance
+ - Editex distance
+ - Eudex distances
+ - Sift4 distance
+ - Baystat distance & similarity
+ - Typo distance
+ - Indel distance
+ - Synoname
+- Stemmers
+ - the Lovins stemmer
+ - the Porter and Porter2 (Snowball English) stemmers
+ - Snowball stemmers for German, Dutch, Norwegian, Swedish, and Danish
+ - CLEF German, German plus, and Swedish stemmers
+ - Caumann's German stemmer
+ - UEA-Lite Stemmer
+ - Paice-Husk Stemmer
+ - Schinke Latin stemmer
+ - S stemmer
+- String Fingerprints
+ - string fingerprint
+ - q-gram fingerprint
+ - phonetic fingerprint
+ - Pollock & Zomora's skeleton key
+ - Pollock & Zomora's omission key
+ - Cisłak & Grabowski's occurrence fingerprint
+ - Cisłak & Grabowski's occurrence halved fingerprint
+ - Cisłak & Grabowski's count fingerprint
+ - Cisłak & Grabowski's position fingerprint
+
+%prep
+%autosetup -n abydos-0.5.0
+
+%build
+%py3_build
+
+%install
+%py3_install
+install -d -m755 %{buildroot}/%{_pkgdocdir}
+if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
+if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
+if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
+if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
+pushd %{buildroot}
+if [ -d usr/lib ]; then
+ find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/lib64 ]; then
+ find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/bin ]; then
+ find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/sbin ]; then
+ find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+touch doclist.lst
+if [ -d usr/share/man ]; then
+ find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
+fi
+popd
+mv %{buildroot}/filelist.lst .
+mv %{buildroot}/doclist.lst .
+
+%files -n python3-abydos -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed Apr 12 2023 Python_Bot <Python_Bot@openeuler.org> - 0.5.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..5a7ba53
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+ab111139aae3221f242fe1f3b2675b5a abydos-0.5.0.tar.gz