From 300a88c50ac55f108d6c557ccc445fa2fdc9f498 Mon Sep 17 00:00:00 2001 From: Steven Loria Date: Sun, 15 Sep 2013 11:04:40 -0500 Subject: [PATCH] Bumpversion 0.6.3-alpha -> 0.6.3 --- HISTORY.rst | 2 +- docs/install.rst | 2 +- text/__init__.py | 2 +- text/parsers.py | 3 ++- text/taggers.py | 2 +- 5 files changed, 6 insertions(+), 5 deletions(-) diff --git a/HISTORY.rst b/HISTORY.rst index 4a2c6346..ff26c3e1 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -1,7 +1,7 @@ Changelog ========= -0.6.3 (unreleased) +0.6.3 (2013-09-15) ------------------ .. module:: text.taggers diff --git a/docs/install.rst b/docs/install.rst index 7cede1b8..2704ec44 100644 --- a/docs/install.rst +++ b/docs/install.rst @@ -33,7 +33,7 @@ TextBlob is actively developed on Github_. You can clone the public repo: :: - git clone https://github.com/sloria/TextBlob.git + $ git clone https://github.com/sloria/TextBlob.git Or download one of the following: diff --git a/text/__init__.py b/text/__init__.py index 83ace7ee..99838c76 100644 --- a/text/__init__.py +++ b/text/__init__.py @@ -1,6 +1,6 @@ import os -__version__ = '0.6.3-alpha' +__version__ = '0.6.3' __license__ = 'MIT' __author__ = "Steven Loria" diff --git a/text/parsers.py b/text/parsers.py index 54e15aa1..70330047 100644 --- a/text/parsers.py +++ b/text/parsers.py @@ -3,7 +3,8 @@ .. versionadded:: 0.6.0 ''' -from .en import parse as pattern_parse +from __future__ import absolute_import +from text.en import parse as pattern_parse class BaseParser(object): diff --git a/text/taggers.py b/text/taggers.py index f133720e..c703aae1 100644 --- a/text/taggers.py +++ b/text/taggers.py @@ -112,7 +112,7 @@ def split_sents(corpus): return tokens def train(self, sentences, save_loc=None, nr_iter=5): - '''Train a model from sentences, and save it at save_loc. nr_iter + '''Train a model from sentences, and save it at ``save_loc``. ``nr_iter`` controls the number of Perceptron training iterations. :param sentences: A list of (words, tags) tuples.