mecab tag

21 questions


2 answers
439 views
0
Error using MeCab TypeError: in method 'Tagger_parse', argument 2 of type 'char const *'

As the title suggests, I would like to use MeCab to remove Stopwords from the list in Python.However, I get TypeError: in method 'Tagger_parse', argument 2 of type 'char const *'.The environment is Py...

1 years ago

1 answers
95 views
0
Error after dividing Japanese in Mecab

I'd like to divide Japanese in Mecab like this.m=MeCab.Tagger(-d/usr/local/lib/mecab/dic/mecab-ipadic-neologd) c=m.parse('Kobayashi Pharmaceutical Hifumid formula! For serious moisturizing skin.Kobaya...

2 years ago

1 answers
99 views
0
About creating a mecab Chinese dictionary [closed]

Do you want to improve this question?Edit your post to clarify the issue you are trying to resolve by adding details.Closed 5 years ago.5 years agoI want to create a Chinese dictionary, but it doesn't...

2 years ago

1 answers
119 views
0
I don't know how to fix AttributeError.

Automatically generated sentences that look like 〇 っぽい using the Markov chainAfter installing python 3.7.2, mecab-0.996.exe, I ran learn.py at the command prompt to create a text file that automatical...

2 years ago

1 answers
100 views
0
Python MeCab binding

I'm setting up my environment to play with MeCab from Python, but in the parse part of the last line of code below UnicodeDecodeError: 'utf-8' codec can't decode bytes in position 0-1: invalid continu...

2 years ago

1 answers
144 views
0
I want to write the sentences written in the tsv file with spaces and store the words in each sentence as nested structural lists.

I read the tsv file and put the ID and word in each line to make a space.I don't know the code to list only words in each sentence.[[['word', 'word', 'word', ['word'...]...]]in the form Can someone te...


1 answers
107 views
0
How to calculate the number of nouns appearing in Japanese strings in Python 3-MeCab

Environment: Python 3.5.2, MacOS Sierra I read the data from Excel and made the string data.[In]import pandas as pdimport MeCabimport sysdf=pd.read_excel(filename.xls, sheetname=0)df = df.dropna()prin...

2 years ago

1 answers
85 views
0
a method of Japanese stemming (determining whether "good" and "good" are the same)

Thank you for your help.I use MeCab to divide Japanese sentences.Enter two very similar statements here.ResultsThe dictionary used is IPADIC.These two sentences are the same when the Japanese speaker ...


1 answers
184 views
0
I want to use MeCab in python3, but I get the error 'utf-8' codec can't decode'utf-8' codec can't decode.

Procedure to install MeCab on a MacInstall MeCab as per the link above and pip3 install mecab-python3 on python3import MeCabmecab=MeCab.Tagger(-Ochasen)print(mecab.parse(Dachshund is walking.))However...

2 years ago

1 answers
138 views
0
Key error in Word2vec

Based on the reference URL below, I would like to move word2vec.The following files and procedures for similars.py and train.py are all diverted from this site.After spacing the files of Aozora Bunko ...

2 years ago
- 1 - »

© 2024 OneMinuteCode. All rights reserved.