Jump to content

libexttextcat text categorization library

From The Document Foundation Wiki


libexttextcat
Devel. status Stable
License BSD
Maintainers caolan
Repository git://gerrit.libreoffice.org/libexttextcat
Sources http://dev-www.libreoffice.org/src/libexttextcat/

libexttextcat is an N-Gram-Based Text Categorization library primarily intended for language guessing.

You can find it being used in LibreOffice.

Getting the sources

libexttextcat sources are stored in git. To get them, you can use:

git clone git://anongit.freedesktop.org/git/libreoffice/libexttextcat/

or you can browse the code online through FreeDesktop's cgit.

If you want to use release version you can fetch it from LibreOffice mirror.

Building it

Once the source has been checked out, libexttextcat can be built in usual manner:

cd libexttextcat
./autogen.sh
./configure
make
make check # optional
make install

Contributing

Once you have done a change that you are happy with, and that builds with libexttextcat, contribute it back, we'll be happy to integrate it! Do:

# commit your changes to your local repository
git commit -a
# create the patch
git format-patch origin/master

Contact

You can get in touch with us using multiple ways:

  • using IRC server irc.libera.chat and joining channel #libreoffice-dev IRC://
  • using the developer mailinglist libreoffice@lists.freedesktop.org
  • filling bug report in libexttextcat against libexttextcat project.