TextCat: Difference between revisions
Appearance
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:
- Tag the library with the new version and push the tag
- Check on https://packagist.org/packages/wikimedia/textcat that the tag is updated
- Update
composer.json
inextension/CirrusSearch
- Test on non-production install that after
composer update
everything runs smooth. - Check out
mediawiki/vendor
repo. - Edit
composer.json
and put new version ofwikimedia/textcat
there. - Run
composer update
. - Make patch of the changes and put it to review on Gerrit.