Skip to content

Commit

Permalink
Merge pull request #24 from crazyministr/master
Browse files Browse the repository at this point in the history
Upgrade Mystem version to 3.1
  • Loading branch information
alexanderpanchenko authored Jul 4, 2018
2 parents 6b1e3f2 + e12c0fa commit a5fe5db
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 12 deletions.
6 changes: 4 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
==================================================================
A Python wrapper of the Yandex Mystem 3.0 morphological analyzer
A Python wrapper of the Yandex Mystem 3.1 morphological analyzer
==================================================================

.. image:: https://travis-ci.org/nlpub/pymystem3.png?branch=master
Expand All @@ -9,7 +9,7 @@
Introduction
============

This module contains a wrapper for an excellent morphological analyzer for Russian language `Yandex Mystem 3.0 <http://api.yandex.ru/mystem/>`_ released in June 2014.
This module contains a wrapper for an excellent morphological analyzer for Russian language `Yandex Mystem 3.1 <https://tech.yandex.ru/mystem/>`_ released in June 2014.
A morphological analyzer can perform lemmatization of text and derive a set of morphological attributes for each token.
For more details about the algorithm see I. Segalovich `«A fast morphological algorithm with unknown word guessing induced by a dictionary for a web search
engine» <http://download.yandex.ru/company/iseg-las-vegas.pdf>`_, MLMTA-2003, Las Vegas, Nevada, USA.
Expand All @@ -28,6 +28,8 @@ The wrapper works with CPython 2.6+/3.3+ and PyPy 1.9+.

The wrapper was tested on Ubuntu Linux 12.04+, Mac OSX 10.9+ and Windows 7+.

For 32bit architectures and freebsd platform support use ver. 0.1.10.


Installation
====================
Expand Down
2 changes: 1 addition & 1 deletion pymystem3/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
project = "Python MyStem 3"
project_no_spaces = project.replace(' ', '-')
version = '0.1.10'
description = 'Python wrapper for the Yandex MyStem 3.0 morpholocial analyzer of the Russian language.'
description = 'Python wrapper for the Yandex MyStem 3.1 morpholocial analyzer of the Russian language.'
authors = ['Denis Sukhonin', 'Alexander Panchenko', 'Daniel Brshatsky', 'Andy Fefelov', 'Anton Malashenkov']
authors_string = ', '.join(authors)
emails = ['[email protected]']
Expand Down
13 changes: 4 additions & 9 deletions pymystem3/mystem.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
"""
A Python wrapper of the Yandex Mystem 3.0 morphological analyzer.
A Python wrapper of the Yandex Mystem 3.1 morphological analyzer.
"""

from __future__ import print_function
Expand All @@ -27,17 +27,12 @@

_TARBALL_URLS = {
'linux': {
'32bit': "http://download.cdn.yandex.net/mystem/mystem-3.0-linux3.5-32bit.tar.gz",
'64bit': "http://download.cdn.yandex.net/mystem/mystem-3.0-linux3.1-64bit.tar.gz",
'64bit': "http://download.cdn.yandex.net/mystem/mystem-3.1-linux-64bit.tar.gz",
},
'darwin': "http://download.cdn.yandex.net/mystem/mystem-3.0-macosx10.8.tar.gz",
'darwin': "http://download.cdn.yandex.net/mystem/mystem-3.1-macosx.tar.gz",
'win': {
'32bit': "http://download.cdn.yandex.net/mystem/mystem-3.0-win7-32bit.zip",
'64bit': "http://download.cdn.yandex.net/mystem/mystem-3.0-win7-64bit.zip",
'64bit': "http://download.cdn.yandex.net/mystem/mystem-3.1-win-64bit.zip",
},
'freebsd': {
'64bit': "http://download.cdn.yandex.net/mystem/mystem-3.0-freebsd9.0-64bit.tar.gz",
}
}

_NL = unicode('\n').encode('utf-8')
Expand Down

0 comments on commit a5fe5db

Please sign in to comment.