Aiml

Latest version: v0.9.2

Safety actively analyzes 681748 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

0.9.1

* Fixed compatibility with Python 3.6 (removed usage of re.LOCALE) [Ryan Arredondo]
* Make some unit tests more robust against terminal encodings [Ryan Arredondo]

0.9.0

* Refactored to make it compatible for both Python2 (tested on 2.7) & Python3
(tested on 3.4)
* By default utf8-encoded strings are used in Py2 (for backwards compatibility),
and standard strings (i.e unicode) in Py3
- This can be changed via the `Kernel.setTextEncoding()` method.
* Tests moved from inside package to separate test files, and refactored to use
standard Python unit test infrastructure
* Additional argument _chdir_ to `Kernel.bootstrap()` method
* aimlvalidate & test scripts install now as package scripts aiml-validate and
aiml-bot. They have been refactored and contain additional arguments
* The "standard" AIML set has been moved as package data, and installs with it
* Added ALICE AIML v. 1.9 from aiml-en-us-foundation-alice at
https://code.google.com/archive/p/aiml-en-us-foundation-alice/downloads
* aiml-en-us-foundation-alice has GNU Lesser GPL license
(http://www.gnu.org/licenses/lgpl.html)
* a few AIML 1.9 files have been corrected. Two of them have been commented
out since they use the AIML 2.0 <learn> construct



------------------------------------------------------------------------------
Changelog for PyAIML

0.8.6

- Fixed WorbSub module to work with words that consist entirely of punctuation :-).
- Fixed PatternMgr module to replace non-alphanumerics with whitespace instead of simply
consuming them (thanks to Hugh Sasse for the patch).
- Added workaround to avoid a rare IOError exception when processing <system> tags
(thanks to Duncan Gough for the patch).
- PyAIML is now released under the FreeBSD license.

0.8.5

- Fixed a couple lingering Unicode bugs, one of which was breaking things
pretty thoroughly under Python 2.2.3.
- Improved whitespace handling, to the point where it should be compliant
with the AIML 1.0.1 standard. Basically, whitespace will be stripped
down to readable levels, unless the xml:space attribute is used to
indicate otherwise.
- Fixed bug in PatternMgr where the character '1' was mistaken identified
as punctuation to be stripped, instead of the intended '!'.

0.8.4

- Fixed bug in AimlParser creation, if the aiml module was not in the same
directory as the script that imported it.
- Improved Unicode support (again) (thanks to Daniel Kottow for his help).
- 2nd pass at documentation. All functions now have useful, properly-formatted
docstrings.

0.8.3

- Reworked the way AimlParser objects are created, to allow support for
XML namespaces in a future version.
- First pass at Unicode-proofing the whole system, so that multi-lingual
AIML files can be processed.
- Added support for "index" attribute in "star", "thatstar" and "topicstar"
elements (thanks to Robert D. Cotey for the patch!). Also added type-check
to ensure that the value of the "index" attribute is an integer.

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.