mecab tag

21 questions


1 answers
74 views
0
Please tell me how to deploy the Sinatra app using MeCab to Heroku.

There was a similar question, but there was no answer, so I would like to ask you a question.As the title suggests, we are trying to deploy the Sinatra app using MeCab to Heroku.local PC:Mac OSX $hero...


1 answers
74 views
0
How to encode Japanese in Python 3-MeCab

Environment: Python 3.5.2, MacOS Sierra Below is a code that reads Excel data, creates a string, and uses ReCab to indicate nouns and number of appearances.import pandas as pdimport MeCabimport sysdf=...

2 years ago

1 answers
64 views
0
be unable to exclude parts of speech that someone's speech

I am processing sentences with Python and MeCab.for text indf [msg_body]: for line in mecab.parse(text).rstrip().splitlines(): items=line.split(\t) iflen(items) == 2: surface, feature=items if re....


1 answers
113 views
0
IMPORT METHOD OF MECab IN Python IN Sakura RENTAL SERVER

I changed the shell to bash for now.I want to run the Flask file, but it doesn't work.Note: This is what it looks like when you run the Python file.import MeCabModuleNotFoundError: No module named 'Me...


1 answers
64 views
0
MeCab fails to generate user dictionaries.Cab.

I'm adding a user dictionary on MeCab, but it doesn't work and I'm in trouble.I will refer to several sites and run the following to show up to done.The dic file is not generated.Please let me know if...

2 years ago

1 answers
80 views
0
While installing mecab dictionary NEologd in the Docker container, it is said that the file does not exist.

Local Environment Macos HighSierraDocker Environment CentOSYes.I am trying to include NEologd installation commands in the Dockerfile and reflect them in the Docker container.The procedure is Download...

2 years ago

1 answers
76 views
0
Adding a mecab user dictionary does not reflect it.

The environment is Mac OS High Sierra.In order to register a new dictionary in mecab, I created csv(utf-8) as below and added it as a user dictionary.hepatic dysfunction,,0,noun,general,*,*,*,*,*,*,*,...

2 years ago

1 answers
86 views
0
I want to install pysummarization using mecab-python-windows.

(base) C:\...> pip install pysummarizationCollecting pysummarizationUsing cached pysummarization-1.0.5.tar.gzRequirement already satified: numpy inc:\...\appdata\local\continuum\anaconda3\lib\site-...

2 years ago


1 answers
91 views
0
I would appreciate it if you could help me make an error when executing Python Mecab document-word matrix.

import os import pandas as pddef searchFiles(path): filelist = [] filenames = os.listdir(path) for filename in filenames: file_path = os.path.join(path, filename) filelist.append(file_path) return f...

2 years ago
« - 2 - »

© 2024 OneMinuteCode. All rights reserved.