Add docstrings and update docs

This commit is contained in:
Vinayak Mehta
2018-11-23 21:04:10 +05:30
parent 1f71513004
commit 23ec6b55f7
9 changed files with 165 additions and 99 deletions
+7 -4
View File
@@ -247,10 +247,13 @@ class Stream(BaseParser):
" should be equal")
def _nurminen_table_detection(self, textlines):
# a general heuristic implementation of the table detection
# algorithm described by Anssi Nurminen's master's thesis:
# https://dspace.cc.tut.fi/dpub/bitstream/handle/123456789/21520/Nurminen.pdf?sequence=3
# assumes that tables are situated relatively apart vertically
"""A general implementation of the table detection algorithm
described by Anssi Nurminen's master's thesis.
Link: https://dspace.cc.tut.fi/dpub/bitstream/handle/123456789/21520/Nurminen.pdf?sequence=3
Assumes that tables are situated relatively far apart
vertically.
"""
# TODO: add support for arabic text #141
# sort textlines in reading order