nuspell: update to 3.1.0.

- Add so called hidden homonym feature. This feature enables words in mixed case
  in the dictionary to be accepted when met in uppercase in the input text. Also
  enables uppercase word to get lowercase suffix, and the whole derived word be
  accepted in all uppercase in some input text.
- Improve suggestions to handle words in various casing.
- Add new complex method for giving suggestions based on ngram similarity of the
  wrong word with the words in the dictionary.
This commit is contained in:
Thomas Klausner 2020-04-12 23:28:41 +02:00
parent 500c1d27cb
commit e209fcbfb3
3 changed files with 6 additions and 23 deletions

View File

@ -1,9 +1,9 @@
# $NetBSD$
GITHUB_TAG= v3.0.0
DISTNAME= nuspell-3.0.0
DISTNAME= nuspell-3.1.0
CATEGORIES= textproc wip
MASTER_SITES= ${MASTER_SITE_GITHUB:=nuspell/}
GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= bsiegert@NetBSD.org
HOMEPAGE= https://nuspell.github.io/

View File

@ -1,8 +1,7 @@
$NetBSD$
SHA1 (nuspell-3.0.0.tar.gz) = 65e8427b3e12dc53c5222c28607342b0ff5317c6
RMD160 (nuspell-3.0.0.tar.gz) = 0ee980f14b82a0a19cf78d87e65ec519153b01e4
SHA512 (nuspell-3.0.0.tar.gz) = d9cd7dd276e2bca43dec3abaf11c5206695949b9fda8c9b86f2772cc7e8fa95bf17c685a2ef9ca87fe3c4f0b55f2fcb435bc21c187355f5e3fa35dcafab2c8c2
Size (nuspell-3.0.0.tar.gz) = 403043 bytes
SHA1 (patch-src_nuspell_utils.cxx) = 4537567092ef580a9ab22801fdfbde218ea8af92
SHA1 (nuspell-3.1.0.tar.gz) = 1ab32d19d60b936c04e789562c333cfbafdfd2de
RMD160 (nuspell-3.1.0.tar.gz) = 71c061e71ae5387bacdd4d90425863fc816fb6ee
SHA512 (nuspell-3.1.0.tar.gz) = a9bedfd6e2d77fd34d249cf7aa1fcb6bde5bced26f02f8a2dd860416a61488c9b7016a0df6015052fcccb272b342e6205db601107f46efa44c9d78ce261a826c
Size (nuspell-3.1.0.tar.gz) = 407196 bytes
SHA1 (patch-src_nuspell_utils.hxx) = b5b4f5819cb98c6ec827f02f24755fd0a6de9edf

View File

@ -1,16 +0,0 @@
$NetBSD$
--- src/nuspell/utils.cxx.orig 2019-11-23 18:52:51.000000000 +0000
+++ src/nuspell/utils.cxx
@@ -32,9 +32,9 @@
#endif
#if !defined(U_WCHAR_IS_UTF32) && !defined(U_WCHAR_IS_UTF16) && \
- !defined(__FreeBSD__)
+ !defined(__FreeBSD__) && !defined(__NetBSD__)
#error "Platform has poor Unicode support. wchar_t must be Unicode."
-#elif defined(__STDC_MB_MIGHT_NEQ_WC__) && !defined(__FreeBSD__)
+#elif defined(__STDC_MB_MIGHT_NEQ_WC__) && !defined(__FreeBSD__) && !defined(__NetBSD__)
#error "Platform has non-ASCII narrow string literals."
#endif