Skip to content

Commit

Permalink
v0.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ikegami-yukino committed Nov 23, 2014
1 parent fd76221 commit fe36124
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 10 deletions.
9 changes: 7 additions & 2 deletions CHANGES.rst
@@ -1,11 +1,16 @@

CHANGES
=======

0.3 (2014-11-24)
----------------

- "OR" search and "NOT" search are available in `FMIndex.search()`.
- `FMIndex.size` and `FMIndex.docsize` are available as property

0.2 (2014-03-28)
----------------

"AND" search is available by giving Sequence (list, tuple, etc.) FMIndex.search().
"AND" search is available by giving Sequence (list, tuple, etc.) `FMIndex.search()`

0.1 (2014-03-11)
----------------
Expand Down
2 changes: 1 addition & 1 deletion MANIFEST.in
@@ -1,3 +1,3 @@
include *.rst
include shellinford/src/*
include shellinford_cpp/src/*
include LICENSE
7 changes: 4 additions & 3 deletions README.rst
Expand Up @@ -27,7 +27,7 @@ Usage
=====

Create a new FM-index instance
-----------------------------
-------------------------------

::

Expand Down Expand Up @@ -76,9 +76,10 @@ Search word from FM-index
count: 1
text: Milky Holmes

- search(query)
- search(query, [_or=False, ignores=[]])

- Giving Sequence data (list, tuple, etc.) enables to "AND" search
- If `_or` = True, then "OR" search is executed, else "AND" search
- Given `ignores`, "NOT" search is also executed
- NOTE: The search function is available after FM-index is built or loaded


Expand Down
4 changes: 2 additions & 2 deletions setup.py
Expand Up @@ -13,12 +13,12 @@

setup (
name = 'shellinford',
version = '0.3',
version = version,
author = "Yukino Ikegami",
author_email='yukinoik@icloud.com',
url='https://github.com/ikegami-yukino/shellinford-python',
description = """Wavelet Matrix/Tree succinct data structure for full text search (using shellinford C++ library)""",
long_description = open('README.rst').read() + "\n\n" + open('CHANGES.rst').read(),
long_description = open('README.rst').read() + "\n" + open('CHANGES.rst').read(),
keywords = ['full text search', 'FM-index', 'Wavelet Matrix'],

ext_modules = [
Expand Down
4 changes: 2 additions & 2 deletions shellinford/__init__.py
@@ -1,7 +1,7 @@
from . import shellinford

VERSION = (0, 3)
__version__ = '0.3'
VERSION = (0, 3, 1)
__version__ = '0.3.1'
__all__ = ['FMIndex', 'bit_vector', 'bwt']

FMIndex = shellinford.FMIndex
Expand Down

0 comments on commit fe36124

Please sign in to comment.