Skip to content

Commit 0b14145

Browse files
authored
Merge pull request #2 from paulovn/feature/alice-1.9
Feature/alice 1.9
2 parents 3f707a7 + a610e9a commit 0b14145

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+292737
-19
lines changed

CHANGES.txt

Lines changed: 20 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,25 @@
11
Changelog for python-aiml
22

3-
- refactored to make it compatible for both Python2 (tested on 2.7) & Python3
4-
(tested on 3.4)
5-
- Default encoding behaviour for input & output strings: UTF-8 encoded
6-
strings are used in Py2 (for backwards compatibility), unicode strings
7-
in Py3. This can be changed via the Kernel.setTextEncoding() method.
8-
- Tests moved from inside package to separate test files, and refactored
9-
to use standard Python unit test infrastructure
10-
- Additional argument 'chdir' to Kernel.bootstrap() method
11-
- aimlvalidate & test scripts install as package scripts "aiml-validate" and
12-
"aiml-bot". Thet have been refactored and contain additional arguments
13-
- The "standard" AIML set has been moved as package data, and installs with
14-
it
3+
version 0.9.0
4+
5+
* Refactored to make it compatible for both Python2 (tested on 2.7) & Python3
6+
(tested on 3.4)
7+
* By default utf8-encoded strings are used in Py2 (for backwards compatibility),
8+
and standard strings (i.e unicode) in Py3
9+
- This can be changed via the `Kernel.setTextEncoding()` method.
10+
* Tests moved from inside package to separate test files, and refactored to use
11+
standard Python unit test infrastructure
12+
* Additional argument _chdir_ to `Kernel.bootstrap()` method
13+
* aimlvalidate & test scripts install now as package scripts aiml-validate and
14+
aiml-bot. They have been refactored and contain additional arguments
15+
* The "standard" AIML set has been moved as package data, and installs with it
16+
* Added ALICE AIML v. 1.9 from aiml-en-us-foundation-alice at
17+
https://code.google.com/archive/p/aiml-en-us-foundation-alice/downloads
18+
* aiml-en-us-foundation-alice has GNU Lesser GPL license
19+
(http://www.gnu.org/licenses/lgpl.html)
20+
* a few AIML 1.9 files have been corrected. Two of them have been commented
21+
out since they use the AIML 2.0 <learn> construct
22+
1523

1624

1725
------------------------------------------------------------------------------

README.rst

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@ python-aiml
22
***********
33

44
This is a fork of the `PyAIML`_ Python AIML interpreter. It has been
5-
refactored to make it work in both Python 2 and Python 3.
5+
refactored to make it install and work in both Python 2.7 and Python 3.
66

77
PyAIML is (c) Cort Stratton. *python-aiml* uses the same license as PyAIML
8-
(2-clause BSD)
8+
(2-clause BSD), except for the ALICE AIML files taken from the `Free ALICE AIML
9+
set`_, which are licensed with the `LGPL`_ license.
910

1011

1112
Scripts
@@ -18,6 +19,21 @@ Two small scripts are added upon installation:
1819
after loading either AIML files or a saved brain file.
1920

2021

22+
Datasets
23+
========
24+
25+
The installation includes two AIML datasets:
26+
27+
* The *standard* AIML set, as it was included in PyAIML
28+
* The `Free ALICE AIML set`_ v. 1.9, taken from the data published by the
29+
`ALICE AI Foundation`_ (with a few small fixes in files that did not
30+
validate as `AIML 1.0.1`_)
31+
32+
They can be loaded via the ``bootstrap`` method in the ``Kernel`` class. See
33+
the `bot.py`_ script for an example.
34+
35+
36+
2137
Tests
2238
=====
2339

@@ -36,6 +52,11 @@ naming them in the command line; if none is specified all will be executed.
3652

3753

3854
.. _PyAIML: https://github.com/cdwfs/pyaiml
55+
.. _Free ALICE AIML set: https://code.google.com/archive/p/aiml-en-us-foundation-alice/
56+
.. _LGPL: http://www.gnu.org/licenses/lgpl.html
57+
.. _ALICE AI Foundation: http://alice.pandorabots.com/
58+
.. _bot.py: aiml/script/bot.py
59+
.. _AIML 1.0.1: http://www.alicebot.org/TR/2011/
3960

4061
------------------------------------------------------------------------------
4162

aiml/botdata/alice/ai.aiml

Lines changed: 673 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)