Skip to content

Commit

Permalink
bump version to 0.9.10
Browse files Browse the repository at this point in the history
bugfix for doc_extractor
  • Loading branch information
yangyaofei committed Jul 8, 2021
1 parent 675344d commit 534af3e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion nlpir/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import functools
from .exception import NLPIRException

__version__ = "0.9.9"
__version__ = "0.9.10"
PACKAGE_DIR = os.path.abspath(os.path.dirname(__file__))
logger = logging.getLogger("nlpir")

Expand Down
4 changes: 2 additions & 2 deletions nlpir/doc_extractor.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ def __init__(self, handle: int, user_retrieve_type: typing.List[str]):
}

self.re_sharp_split = re.compile(r"([^#]+)#"), lambda _: {0: _}
self.re_key_words = re.compile(r"(.+?)/([a-z0-9A-Z]+?)/([.\d]+?)/(\d+)?#"), lambda _: {0: _[0], 1: _[1],
2: _[2], 3: _[3]}
self.re_key_words = re.compile(r"([^/^#]+)/([^/^#]+)/([.\d]+?)/(\d+)?#"), lambda _: {0: _[0], 1: _[1],
2: _[2], 3: _[3]}
self.re_weight = re.compile(r"(.+?)/(\d+)#"), lambda _: {0: _[0], 2: _[1]}
self.re_none = re.compile("(.+)"), lambda _: {0: _}
self.re_result_map = {
Expand Down

0 comments on commit 534af3e

Please sign in to comment.