Questions tagged [natural-language-processing]

Natural language processing (NLP)

Filter by
Sorted by
Tagged with
0
votes
1answer
20 views

sentiment analysis by sentence similarity

How can sentence similarity be used for sentiment analysis? I know we have sentence Bert which can use cosine sim to measure the distance between to vectors (the sentence embeddings), but has anyone ...
0
votes
1answer
29 views

What Happens if I swap the forget gate and update gate in LSTM model?

Consider the following eqautions used in LSTM ( taken from Andrew ng's course on Sequential model) In an LSTM model, LSTM Cell has three inputs at any time step t Input($X_t , a^{(t-1)}, C^{(t-1)})$, ...
0
votes
0answers
165 views

More Information about these Question Answering Systems

My question is about the multi-hop question answering systems described in the page https://hotpotqa.github.io/ and reproduced in the following picture: I am interested in the models BFR-Graph, GSAN-...
0
votes
0answers
73 views

Interpolation for maximum likelihood estimate of unigram and bigram

We are given the following corpus, modified from the one in the chapter: ...
0
votes
0answers
78 views

n-grams textbook question

I have this question I found regarding n-gram modeling in the Speech and Language Processing textbook by Daniel Jurafsky: Suppose we didn’t use the end-symbol ...
0
votes
0answers
24 views

Optimal algorithm for making queries to a database

There is a database of, let's say, 500k English two-word combinations (e.g. "clover arc", "minister horse"). I can search for an arbitrary string and I will get a list of the alphabetically first 1000 ...
0
votes
0answers
18 views

What is the main concept of using lexical,linguistic, semantic or syntactic approach in NLP for cyberbullying

Am really in need of some explanation, am working on a nlp cyberbullying detection tool which i will deploy to the web using django framework, however, am stuck on some idea, can someone explain to me....
0
votes
1answer
67 views

CYK result de-transformation

Suppose we have a rules derived from a treebank. And in order to get a syntax tree of a given sentence we use the cyk algorithm. In order to use the cyk we should convert the rules into chomsky normal ...
0
votes
0answers
32 views

Any references/current work on anomaly detection in conversations?

Suppose I have a lot of data on conversations between humans and chatbots (human text, chatbot text, times, media used for chat, etc), and I want to be able to detect anomalies in these conversations. ...
0
votes
1answer
230 views

Converting CFG to CNF [closed]

need some help with the following question: I've watched a few youtube tutorials but I'm struggling to convert this specific CFG
0
votes
0answers
71 views

Speech to Text API with Unknown Language

I would like to develop an application that outputs text from the audio of 2 possible languages. For ex: Audio might be English or Spanish, it should return the spoken words. Most speech to text ...
0
votes
0answers
103 views

Combining Ontology and Relational Databases in Question Answering system

I'm introducing to the Natural Language Processing field and it's application. I'm planning to build a question answering system for a project, but some approaches are making me a bit confuse about ...
0
votes
0answers
96 views

Gensim LDA all topics zero

I'm trying to run Gensim's LdaModel on a corpus. I load the corpus myself from two XML files. I made a class to iterate over the text pieces in the XML files. It ...
0
votes
0answers
47 views

What is a Neural attention model and how can it be used for text summarization?

We are doing a research on multi-document (one document max 100 words) text summarization. We are looking into abstractive text summarization methods. I need following things to be clarified. Please ...
0
votes
0answers
1k views

Difference between LR parsing and Shift-Reduce parsing?

I'm learning natural language processing and I can't understand the difference between Shift-Reduce parser and LR parser. As I've understood from Wikipedia, shift-reduce is just a name of a class of ...
0
votes
0answers
77 views

API to retrieve answers for general questions

I was looking for a service (with API) where I can ask it a general question (aka, when was Einstein born?) and retrieve an answer from the Web. Is there any available service to do that? Have tried ...
0
votes
1answer
68 views

Is it possible to get information from websites as a human? [closed]

If I want to read any websites and get some information as names (or dates) on some part of the site as a human. What solution I could use in order to get these datas using deep learning or machine ...
0
votes
0answers
44 views

How can I change the text style?

There are algorithms to change the forms of words, to define the subject of the text, as well as the definition of his style (literary, business, scientific, etc.). Do you have any ready ideas or ...
0
votes
0answers
97 views

Examples for speech recognition systems and spoken dialogue systems

I am collecting material for a MOOC about speech technology. My aim is that students also have examples to try rather than just watching the lecture and some complimentary youtube videos. So the idea ...
0
votes
0answers
38 views

How can feature structures be applied to text summarization?

I'm looking for innovative ways to create text summaries and I was wondering whether feature structures can be used for such a task. Is it possible to create subsume and unification methods that ...
0
votes
0answers
26 views

Common models for inferring semantics (truth/factuality of statements)?

What are common models for creating rules for inferring meanings (e.g. truth values) of natural language statements such as if one wanted to infer the truth value of the input statement John Lennon ...
0
votes
0answers
31 views

Is there a paper/implementation/tool on automatically finding/suggesting similar questions for a given question?

I would like to know whether there is a method to find similar questions for a given question, just like this stackexchange.com does. Is there any paper or tools? I tried keywords such as "...
0
votes
0answers
548 views

NLP: in practice, what should I choose as Start and End symbol?

I'm writing a small program that implements a trigram HMM model and apply it by using Viterbi Algorithm. It's very standardized. However, I have never written anything like this before, and I get ...
0
votes
0answers
194 views

Advantages of knowing foreign languages for natural language processing

I wonder about cases in which knowing several languages can lead a researcher to interesting results in natural language processing. For example, knowledge of foreign languages can without doubt ...
-1
votes
1answer
38 views

Natural Languages

Can one imply that natural languages can be described by regular grammar? Is that what happens through NPL? Trying to understand the subject of how spoken language can be converted to data and how.
-1
votes
1answer
57 views

Context-free grammar for “member of”/set membership?

I'm wondering whether context-free grammars (or what else) can be used to implement "member of" structures, which are structures for describing that something is a member of something. E.g. I want to ...
-2
votes
0answers
17 views

What is the Cross Entropy Loss for this output?

Suppose you flip a coin 5 times each with equal probability (let us say 50%, for all 5 coin flips), Would the cross entropy of the function be 1 due to them having no difference in values? Edit: In a ...

1 2 3
4