nlp tag

13 questions


1 answers
74 views
0
I would like to ask you about the concepts of machine learning bow, word2vec, adabost, xgboost, etc.

There is no basis for machine learning. I'm asking you this question because I got confused after getting to know it.I don't know how to categorize and define the ensemble models, such as Adaboost and...


4 answers
138 views
0
Pandas are asking how to filter

Hello, everyoneNatural language processing (using khaiiii) was performed through Python to derive the following results. import numpy as npimport pandas as pdfrom khaiii import KhaiiiApiapi = KhaiiiAp...

2 years ago

1 answers
111 views
0
I'm inquiring about how to solve Python permission denied error

Please ask for help if you know how to solve the permission error. We are a study group for NLP beginners. I'm trying to use the SpeechRecognition 3.6.3 package (https://pypi.python.org/pypi/SpeechRec...


1 answers
131 views
0
To do a double list flatten

['[ abc, def ]', '[ ghi, abc ]', '[ def ]']I'd like to change the above double list to a one-dimensional list. That is, ['abc', 'def', 'ghi']I want to convert it as above.Converting using itertools ['...

2 years ago

3 answers
121 views
0
Python: What's a good way to identify nouns in English sentences?

I'm using Python. Here's the question!text = '''Manchester City won the Under-18 Premier League Cup for a second successive season after beating Stoke City 6-0 at Academy Stadium.Stoke had knocked out...

2 years ago

1 answers
145 views
0
How to insert the values of different columns of the same length compared to two different DFs of Pandas

For example, the data below and gnr_name gnrOneHotIt's a ballad1 pop 12 80 2Compare the data below, 0 [Ballad]1. [Pop, Recalling]2. [Cafe, calm]I'd like to change it as below.Is there any way you can ...

2 years ago

1 answers
99 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

1 answers
123 views
0
I can't import konlpy, what should I do with the error?_ 2 No JVM shared library file (jvm.dll) found.

Inside the terminal >> jpype.getDefaultJVMPath()'C:\\Program Files\\Java\\jdk-14.0.1\\bin\\server\\jvm.dll' That's what it says. Inside Jupiter jpype.getDefaultJVMPath()ValueError: No JVM shared...

2 years ago

1 answers
142 views
0
Python: Save a list of text files. It can be an English text file, but not a Korean text file.

import pandas as pdimport globfrom afinn import Afinnfrom nltk.corpus import stopwords from nltk.stem.porter import PorterStemmerfrom nltk.tokenize import RegexpTokenizerimport numpy as npimport matpl...

2 years ago

1 answers
107 views
0
You want to define a tokenize function that obtains the Python N-gram.

Hello, I'm studying Python functions.You want to define a function called tokenize, but you want to create a function that will change 2-gram 3-gram depending on N in the parameter. def tokenize(trg, ...

2 years ago
- 1 - »

© 2024 OneMinuteCode. All rights reserved.