Jump to content

TextCat: Difference between revisions

From mediawiki.org
Content deleted Content added
Created page with "TextCat is a language detection library based on n-gram text categorization. The original version is a Perl library [http://odur.let.rug.nl/~vannoord/TextCat/ developed by Ger..."
(No difference)

Revision as of 17:55, 7 March 2016

TextCat is a language detection library based on n-gram text categorization. The original version is a Perl library developed by Gertjan van Noord. We maintain a PHP port of this library as a composer package.

Updating the library

In order to update the deployment library once the change has been merged into the library repository:

  1. Tag the library with the new version and push the tag
  2. Check on https://packagist.org/packages/wikimedia/textcat that the tag is updated
  3. Update composer.json in extension/CirrusSearch
  4. Test on non-production install that after composer update everything runs smooth.
  5. Check out mediawiki/vendor repo.
  6. Edit composer.json and put new version of wikimedia/textcat there.
  7. Run composer update.
  8. Make patch of the changes and put it to review on Gerrit.