Skip to content

Releases: botjagwar/botjagwar

1.7.1

10 Jul 12:30
07db350
Compare
Choose a tag to compare

Minor tweaks on translation module

1.7.0: use HAProxy

10 Dec 12:48
50f0a23
Compare
Choose a tag to compare

Feature

  • Integrate HAProxy with supervisor

Fixes

  • check definitions for foreign-language untranslated word and use word-to-word translations
  • word-to-word translations are enabled if the word is in a whitelist
  • if the language section was not detected, skip the section altogether

1.6.0: Integrate NLLB and more

01 Sep 13:29
46d38c1
Compare
Choose a tag to compare

New features

  • Integration of NLLB as a translation method
  • Integration of OpenMT as a translation method
  • Add parser for fr.wiktionary
  • Add parser for zh.wiktionary
  • Add RabbitMQ producer/consumer to push pages asynchronously
  • Add tests for Python 3.9 up to 3.11

Improvements/Fixes

  • Improve parser for en.wiktionary
  • Create config files for a multi-process PostgREST

Minor API change, refactoring

25 Oct 21:59
1dc9660
Compare
Choose a tag to compare

Summary

  • Refactoring: number of in-code serialisers has been reduced
  • Support read operations on additional data outside PostgREST

What's Changed

Full Changelog: 1.2.31...1.3.0

Fixes / more pacific service manager / database lookup

08 Aug 21:20
Compare
Choose a tag to compare
  • Service manager no longer kills already-spawned process.
  • wiktionary_irc kills its predecessor by itself, like a grown-up, thus simplifying its launcher structure.
  • Faster database lookup API through memory caching: use that API on read-heavy operations if you have a lot of spare RAM to use. This is practical for big Wiktionary dump processing as table lookups were painfully slow. It takes time to load at the beginning, but once loaded a laptop could breeze through 10,000s of pages in a blink of an eye.
  • ORM-related Word objects can be serialised into Entry ones
  • Database updates
  • Webui: language view (very slow, but still workable)
  • time_this decorator is now much more precise (down to the millionth of second)
  • More categories to the category generator

Code refactoring, fixes

01 Jul 14:04
Compare
Choose a tag to compare
  • Service Manager now controls the ports on which associated processed listen on.
  • Added estonian parser
  • Following the release of a new Python 3.6, Travis file has been edited to make it a little bit more future-proof
  • Language and word databases have been updated

Updates, fixes

01 Jul 14:07
Compare
Choose a tag to compare
  • Database updates
  • Added hungarian and icelandic parsers
  • Added subcategory crawlers to increase in efficiency on low page count non-lemmata word categories.
  • Fixed postprocessors and lemma retrieval

Fixes

01 Jul 14:09
Compare
Choose a tag to compare
  • Raise custom exceptions on parsers and on Output class
  • Use Entry object in entry_translator and in translation API instead of tuples
  • Chnage pip3.6 to a Python module call

Update script

19 May 12:50
Compare
Choose a tag to compare

Automatically updates botjagwar periodically.

v.1.1.6

18 May 14:00
Compare
Choose a tag to compare

Database

  • Updated language and word databases

word_forms.py

Not integrated with the IRC bot, but usable
to use this script: python3.6 word_forms.py <language_code> <category_name_on_enwikt> <template_to_use_on_mg>

On 1.1.6:

  • added support of additional templates
  • word_forms.py now shows progress
  • more efficient page filtering to skip pages that already exist

Service manager

  • Added a service manager to spawn/kill necessary services
  • Implement an API to ease REST calls to those services. From the outside, API calls remain the same.

Other

  • Automatically fetch version number upon install, and use it in page edit summaries.