# coding: utf-8
from __future__ import print_function
import sys, os
sys.path.append("c:\\VisualStudio2017\\Python3.5_GPU\\Zero_NLP")
from common.np import *
import MeCab
wakati = MeCab.Tagger("-Owakati")
sentence = "吾輩は猫である"
# sentence = "これはAKB48という新しい単語のテストです"
words = wakati.parse(sentence).split()
print(words)
# coding: utf-8
from __future__ import print_function
import sys, os
sys.path.append("c:\\VisualStudio2017\\Python3.5_GPU\\Zero_NLP")
from common.np import *
import MeCab
sentence = ("すもももももももものうち")
wakati = MeCab.Tagger("-Owakati")
words = wakati.parse(sentence).split()
print(words)
wakati = MeCab.Tagger("-Ochasen")
words = wakati.parse(sentence)
print("\n\n",words)
# coding: utf-8
from __future__ import print_function
import sys, os
sys.path.append("c:\\VisualStudio2017\\Python3.5_GPU\\Zero_NLP")
from common.np import *
import MeCab
wakati = MeCab.Tagger("-Owakati")
sentence = "これはAKB48という新しい単語のテストです"
words = wakati.parse(sentence).split()
print(words)
吾輩は猫である 名詞,固有名詞,一般,*,*,*,吾輩は猫である,ワガハイハネコデアル,ワガハイハネコデアル,wikipedia