Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade mecab #1

Closed
wants to merge 3 commits into from
Closed

Upgrade mecab #1

wants to merge 3 commits into from

Conversation

aodag
Copy link
Contributor

@aodag aodag commented Feb 22, 2015

No description provided.

@tokibito
Copy link
Contributor

👍

@aodag
Copy link
Contributor Author

aodag commented Feb 22, 2015

this upgrade causes sevral runtime errors.

======================================================================
ERROR: test_callback (beproud.utils.tests.word_tests.TokenizerTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/aodag/works/bp/bputils/beproud/utils/tests/word_tests.py", line 61, in test_callback
    self.assertEquals(len(list(tokens)), 5)
  File "/home/aodag/works/bp/bputils/beproud/utils/word.py", line 167, in tokenize
    tagger = MeCab.Tagger("-Ochasen")
  File "/home/aodag/works/bp/bputils/.venv/local/lib/python2.7/site-packages/MeCab.py", line 307, in __init__
    this = _MeCab.new_Tagger(*args)
RuntimeError

======================================================================
ERROR: test_callback_none (beproud.utils.tests.word_tests.TokenizerTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/aodag/works/bp/bputils/beproud/utils/tests/word_tests.py", line 69, in test_callback_none
    self.assertEquals(len(list(tokens)), 0)
  File "/home/aodag/works/bp/bputils/beproud/utils/word.py", line 167, in tokenize
    tagger = MeCab.Tagger("-Ochasen")
  File "/home/aodag/works/bp/bputils/.venv/local/lib/python2.7/site-packages/MeCab.py", line 307, in __init__
    this = _MeCab.new_Tagger(*args)
RuntimeError

======================================================================
ERROR: test_encoding (beproud.utils.tests.word_tests.TokenizerTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/aodag/works/bp/bputils/beproud/utils/tests/word_tests.py", line 25, in test_encoding
    self.assertEqual(len(list(tokens)), 5)
  File "/home/aodag/works/bp/bputils/beproud/utils/word.py", line 167, in tokenize
    tagger = MeCab.Tagger("-Ochasen")
  File "/home/aodag/works/bp/bputils/.venv/local/lib/python2.7/site-packages/MeCab.py", line 307, in __init__
    this = _MeCab.new_Tagger(*args)
RuntimeError

======================================================================
ERROR: test_features (beproud.utils.tests.word_tests.TokenizerTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/aodag/works/bp/bputils/beproud/utils/tests/word_tests.py", line 30, in test_features
    for token in tokens:
  File "/home/aodag/works/bp/bputils/beproud/utils/word.py", line 167, in tokenize
    tagger = MeCab.Tagger("-Ochasen")
  File "/home/aodag/works/bp/bputils/.venv/local/lib/python2.7/site-packages/MeCab.py", line 307, in __init__
    this = _MeCab.new_Tagger(*args)
RuntimeError

======================================================================
ERROR: test_min_word_length (beproud.utils.tests.word_tests.TokenizerTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/aodag/works/bp/bputils/beproud/utils/tests/word_tests.py", line 46, in test_min_word_length
    token_list = list(tokens)
  File "/home/aodag/works/bp/bputils/beproud/utils/word.py", line 167, in tokenize
    tagger = MeCab.Tagger("-Ochasen")
  File "/home/aodag/works/bp/bputils/.venv/local/lib/python2.7/site-packages/MeCab.py", line 307, in __init__
    this = _MeCab.new_Tagger(*args)
RuntimeError

======================================================================
ERROR: test_word_classes (beproud.utils.tests.word_tests.TokenizerTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/aodag/works/bp/bputils/beproud/utils/tests/word_tests.py", line 37, in test_word_classes
    token_list = list(tokens)
  File "/home/aodag/works/bp/bputils/beproud/utils/word.py", line 167, in tokenize
    tagger = MeCab.Tagger("-Ochasen")
  File "/home/aodag/works/bp/bputils/.venv/local/lib/python2.7/site-packages/MeCab.py", line 307, in __init__
    this = _MeCab.new_Tagger(*args)
RuntimeError

@aodag aodag mentioned this pull request Feb 22, 2015
@aodag aodag mentioned this pull request Feb 25, 2015
@aodag
Copy link
Contributor Author

aodag commented Feb 27, 2015

merged to develop branch

@aodag aodag closed this Feb 27, 2015
@aodag aodag deleted the upgrade-mecab branch February 27, 2015 07:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants