File tree 3 files changed +20
-2
lines changed
3 files changed +20
-2
lines changed Original file line number Diff line number Diff line change 2
2
3
3
Revision history for the Python package RiveScript.
4
4
5
+ ## 1.14.7 - May 19 2017
6
+
7
+ - Various fixes and improvements that catch RiveScript-Python up with the other
8
+ implementations, to pass the RiveScript Test Suite (PR #89 ):
9
+ - Implement arrays in replies -- so you could write a reply like
10
+ ` My favorite color is (@colors) ` and the array gets expanded to a random
11
+ item from the ` !array ` by the same name.
12
+ - Fix the regexp for ` {weight} ` tag removal so that it still works if you
13
+ include extra spaces on either end of the tag.
14
+ - Fix the ` _ ` wildcard to allow matching Unicode letters.
15
+ - Fix division with the ` <div> ` tag to use integer division for Python 3.
16
+ - Improvements to the trigger sorting algorithm:
17
+ - Add special handling so that a trigger of ` [*] ` gets sorted above the
18
+ usual catch-all trigger of ` * ` (PR #92 )
19
+ - Fix a logic bug with bitwise operators for handling the case that a trigger
20
+ contains ` * ` wildcards but does not contain any optionals or wildcards of
21
+ different types (bug #90 , PR #91 )
22
+
5
23
## 1.14.6 - Mar 23 2017
6
24
7
25
- Fix regexp for validating RiveScript syntax to use ` re.search ` instead of
Original file line number Diff line number Diff line change 3
3
%global desc A scripting language to make it easy to write responses for a chatterbot.
4
4
5
5
Name: python-%{srcname }
6
- Version: 1.14.6
6
+ Version: 1.14.7
7
7
Release: 1%{?dist }
8
8
Summary: %{sum }
9
9
Original file line number Diff line number Diff line change 20
20
__docformat__ = 'plaintext'
21
21
22
22
__all__ = ['rivescript' ]
23
- __version__ = '1.14.6 '
23
+ __version__ = '1.14.7 '
24
24
25
25
from .rivescript import RiveScript
26
26
from .exceptions import (
You can’t perform that action at this time.
0 commit comments