Skip to content

Commit

Permalink
add more details to block generator doc
Browse files Browse the repository at this point in the history
  • Loading branch information
GreatYYX committed Sep 5, 2018
1 parent e5108da commit 732d80d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions docs/mod_blocking.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
Blocking
========

Block Generator
---------------

.. automodule:: rltk.blocking.block_generator
:members:
:special-members:
Expand All @@ -21,6 +24,9 @@ Blocking
:special-members:
:exclude-members: __dict__, __weakref__, __init__

Blocking Helper
---------------

.. automodule:: rltk.blocking.blocking_helper
:members:
:special-members:
Expand Down
2 changes: 1 addition & 1 deletion rltk/blocking/block_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def generate(self):
Generate blocks (:meth:`_generate_blocks`) and return handler.
Returns:
obj: Writer handler, which can be used by corresponding Reader.
obj: Block handler, which can be used by corresponding BlockReader.
"""

Expand Down
1 change: 1 addition & 0 deletions rltk/blocking/inverted_index_block_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ class InvertedIndexBlockGenerator(BlockGenerator):
Note:
This is a generic inverted index implementation which can be easily extended.
If you use QGram as tokenizer, this becomes QGram block generator.
Note:
Expand Down

0 comments on commit 732d80d

Please sign in to comment.