N-Gram-Based Text Categorization library to guess the language that input text
is written in. Fundamentally an adaption of wiseguys libtextcat extended to
be UTF-8 aware.
===> The following configuration options are available for libexttextcat-3.4.8:
DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
textproc/libexttextcat: update to 3.4.8 release (+)
release to 3.4.8
+ respect bufsize in prepbuffer
+ widen fp_Create bufsize from uint4 to size_t (ABI break;
SONAME bumped libexttextcat-2.0.so.0 -> libexttextcat-2.0.so.1
via -version-info 1:0:0)
+ fix leak in textcat_Init bailout path
+ avoid forming &dest[-1] in wg_trim (undefined behavior)
+ update README for current UDHR source location (efele.net,
after unicode.org/udhr retired in January 2024)
+ add Telugu, Kabyle, Nenets, Karakalpak, Morisyen, Arpitan,
Sidamo, Quechua (North Bolivian), Inari Saami and Skolt Saami
+ rename ha-NG to ha-Latn-NG to match BCP-47/LibreOffice
release to 3.4.7
+ add Saraiki and Ilocano
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
This changes almost all the "gnomehack" only USE_GNOME cases to USES= pathfix.
If a port used other USE_GNOME items it was untouched.
The ports that used other USES were fixed by hand.
PR: ports/177081
Reviewed by: bapt
Approved by: portmgr (miwi)
Now that libexttextcat can happily live along with libtextcat remove the
artificial compatibility mode.
The default package hasn't change so no bump
Feature safe: yes
Allow textproc/libtextcat and textproc/libexttextcat to coexist on the same
system.
Reviewed by: thierry, crees, bapt
Approved by: bapt (using his portmgr and office hats), thierry
- add an OPTION to allow libexttextcat to be a dropin replacement for libtextcat
- add a check target to all runinng libexttextcat check
PR: ports/167945
Submitted by: Peter Jeremy <peter@rulingia.com>
Add libexttextcat 3.2.0, language guessing by N-Gram-Based Text
Categorization.
libexttextcat is a fork of textproc/libtextcat and though conflict with it, it
is a dependency of upcoming libreoffice 3.5.0