Skip to content

Commit

Permalink
Merge pull request #38 from Kensuke-Mitsuzawa/devel
Browse files Browse the repository at this point in the history
Devel
  • Loading branch information
Kensuke-Mitsuzawa committed Sep 21, 2017
2 parents 3614ae6 + 9b1edbd commit 94d51ec
Show file tree
Hide file tree
Showing 34 changed files with 1,092 additions and 2,393 deletions.
78 changes: 0 additions & 78 deletions JapaneseTokenizer/common/filter.py

This file was deleted.

Binary file removed JapaneseTokenizer/common/filter.pyc
Binary file not shown.
4 changes: 2 additions & 2 deletions JapaneseTokenizer/common/juman_utils.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from JapaneseTokenizer.datamodels import TokenizedResult, TokenizedSenetence
from typing import Tuple
import pyknp
from future.utils import string_types, text_type
from six import text_type

"""These functions are for utilization of Juman"""

Expand Down Expand Up @@ -40,7 +40,7 @@ def extract_morphological_information(mrph_object, is_feature, is_surface):


def feature_parser(uni_feature, word_surface):
# type: (string_types, string_types) -> Tuple[Tuple[string_types, string_types, string_types], string_types]
# type: (text_type, text_type) -> Tuple[Tuple[text_type, text_type, text_type], text_type]
"""
Parse the POS feature output by Mecab
:param uni_feature unicode:
Expand Down
Loading

0 comments on commit 94d51ec

Please sign in to comment.