natural-language-processing tag

13 questions


1 answers
440 views
0
When translating using DeepL in Excel macros, I want to translate English sentences as a whole in the cell, not as a period.

As the title suggests, I would like to get the entire English sentence from the cell because the sentence is entered into DeepL with a period break, or just one sentence. I have changed the sentence. ...


1 answers
404 views
0
Error outputting predictive label on Pythorch: Example has no attribute label

I'm studying natural language processing, and I was writing code while referring to books.If the last prediction is this data, the test data will also be labeled, so the correct answer rate will be pr...


1 answers
120 views
0
LDAP with python

If you execute the following code, an error will be displayed.error message*/usr/local/lib/python 3.6/dist-packages/smart_open/smart_open_lib.py:402: UserWarning: This function is predicted, use smart...


1 answers
76 views
0
Morpheme analysis by specifying part of speech

I would like to focus readtextlist on nouns, verbs, and adjectives, but all parts of speech will be output.import MeCabwords_list = [ ]t=MeCab.Tagger('-d/usr/lib/x86_64-linux-gnu/mecab/dic/mecab-ipadi...


1 answers
115 views
0
The mecab spacing is too slow to finish

I call documents from the tsv file and use MeCab to move the code that uses the basic form of the part of speech to separate them, but it's too heavy to finish even after more than 5 hours.The specifi...


2 answers
82 views
0
Understanding the Definition of Weighted Levenstein Distance

I'm asking because I don't really understand the definition of weighted Levenstein distance, which measures the distance between strings.The normal Levenstein distance is the minimum number of inserti...


1 answers
125 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...


2 answers
231 views
0
About CaboCha Installation on Win10

When running CaboCha0.69 on Win10, the following error occurs and cannot be executed morph.cpp(48)[g_mecab_handle!=0] LoadLibrary(C:\Program Files (x86)\MeCab\etc\..\bin\libmecab.dll) failedMeCab 0.99...


1 answers
66 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 ...


2 answers
73 views
0
I want to convert the output in word2vec in text mode to the output in binary mode in Python.

I have a text file that was printed when I vectorized word information in a C language program called word2vec.The output is from the else statement of the following code:for(a=0;a<vocab_size;a++){...

- 1 - »

© 2024 OneMinuteCode. All rights reserved.