Skip to content

Commit

Permalink
bump version 0.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
yangyaofei committed Dec 16, 2020
1 parent f2b6b92 commit d01b6cc
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ nlpir-python is a python wrapper for NLPIR modules.

本模块提供两种调用方式:

This package include two level of method:
This package includes two level of method:

##### 1. Native call from Dynamic Link Library(DLL) 原生的直接调用DLL的调用方式

Expand Down Expand Up @@ -93,7 +93,7 @@ easier to use.
| DocExtractor ||| ||| | |
| DocParser | | | | | | | |
| iEncoder | | | | | | | |
| HTMLPaser | | | | | | | |
| HTMLParser | | | | | | | |
| KeyScanner ||| ||| | |
| RedupRemover | | | | | | | |
| SpellChecker | | | | | | | |
Expand Down
3 changes: 2 additions & 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.0.3"
__version__ = "0.0.4"
PACKAGE_DIR = os.path.abspath(os.path.dirname(__file__))
logger = logging.getLogger("nlpir")

Expand Down Expand Up @@ -192,6 +192,7 @@ def clean_saved_user_dict():
return False


# noinspection PyTypeChecker
def import_blacklist(instance, filename: str, pos_blacklist=typing.List[str]) -> bool:
"""
Import Blacklist to system
Expand Down
3 changes: 1 addition & 2 deletions nlpir/key_extract.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@
# pylint: disable=duplicate-code

from nlpir import get_instance as __get_instance__
from nlpir import native, PACKAGE_DIR
from nlpir import native
import typing
import nlpir
import os
import json

# class and class instance
Expand Down
4 changes: 2 additions & 2 deletions nlpir/native/doc_extractor.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# coding=utf-8
from nlpir.native.nlpir_base import NLPIRBase
from ctypes import c_bool, c_char, c_char_p, c_double, c_int, c_uint, POINTER, Structure, byref, c_size_t
import typing
from ctypes import c_bool, c_char_p, c_int, c_uint, c_size_t


DOC_EXTRACT_TYPE_PERSON = 0 #: 人名
DOC_EXTRACT_TYPE_LOCATION = 1 #: 地名
Expand Down

0 comments on commit d01b6cc

Please sign in to comment.