Questions tagged [question-answering]

Question Answering is the computer task of mechanically answering questions posed in natural language. (Please do not use this tag to indicate that you have a question and want an answer. That's already implied).

For more information, see: https://en.wikipedia.org/wiki/Question_answering

164 questions
11
votes
1 answer

Extracting (subject,predicate,object) from dependency tree

I'm interested in extracting triples (subject,predicate,object) from questions. For example, I would like to transform the following question : Who is the wife of the president of the USA? to : (x,isWifeOf,y) ∧ (y,isPresidentof,USA) x…
10
votes
5 answers

Is there a search engine that will give a direct answer?

I've been wondering about this for a while and I can't see why Google haven't tried it yet - or maybe they have and I just don't know about it. Is there a search engine that you can type a question into which will give you a single answer rather…
7
votes
4 answers

Natural Language Understanding API

I am unaware if such an API or service exists currently so this is a vague question, my apologies. I have a PHP script that works with Freebase and I was wondering if I can enable it so a user can ask a question on my site which will be…
Callum Whyte
  • 2,281
  • 11
  • 31
  • 51
6
votes
1 answer

Huggingface transformer model returns string instead of logits

I am trying to run this example from huggingface website. https://huggingface.co/transformers/task_summary.html. It seems that the model returns two strings instead of logits! and that leads to an error thrown by torch.argmax() from transformers…
Reza Afra
  • 103
  • 6
5
votes
1 answer

Train neural network with sentences of different length in a QA system

I'm trying to implement a QA system following the instructions showed on this paper. I've correctly imported some datasets and converted the words in vectors with the word2vec method. After the word embedding there is the need to insert the…
Luca Di Liello
  • 1,064
  • 10
  • 27
5
votes
2 answers

How to implement Knowledge graph

I'm looking forward to implement something like google direct answers which uses knowledge graph, is there any useful resource can I read ? also Where can I find data for that? Thanks in advance
Lisa
  • 2,941
  • 14
  • 49
  • 77
4
votes
1 answer

Sliding window for long text in BERT for Question Answering

I've read post which explains how the sliding window works but I cannot find any information on how it is actually implemented. From what I understand if the input are too long, sliding window can be used to process the text. Please correct me if I…
4
votes
0 answers

Translate Natural English into Gremlin Graph Traversal Language

I am doing some research on how to translate user's input in plain English into Graph Traversal Language, especially Gremlin. However, I cannot find any research papers or source code related with that. Can someone provide me some research papers or…
4
votes
1 answer

NLP/Quest. Answering - Retrieving information from DB

I've been doing a bit of reading up on NLP recently, and so far I've got a (very) basic idea of how everything works, ranging from sentence splitting to POS-tagging, and also knowledge representation. I understand that there's a wide diversity of…
matt
  • 2,599
  • 6
  • 30
  • 52
3
votes
2 answers

knowledge based Q-A system not giving most appropriate answer

I am working on a project which is basically a knowledge based question answering system. My system takes query from the user, download the relevant documents from Wikipedia, strips all the html tags and extracts the plain text. After this, it…
batman
  • 703
  • 1
  • 8
  • 24
3
votes
1 answer

TFRecords for embedded text data

For a project at Uni, I'm working on the implementation of a Question Answering (bAbI dataset Task 5 at the moment, see https://research.fb.com/downloads/babi/) system with Neural Nets in TensorFlow, and I want to use TFRecords for my Input…
3
votes
1 answer

How to use QA Service of IBM watson with REST API

I have just started to learn IBM Watson services. I need to use Question and answer API of bluemix in java using REST API. But I couldn't find any service like Question and answer. Please can anybody tell me is the name is changed or where can I…
2
votes
2 answers

How to Sort Everything in an Array Except Special Chars - Ruby

I am trying to sort an array of letters alphabetically, but keep the special character in the same spot, in ruby. For example, word = ["f", "a", "s", "t", "-", "c", "a", "r", "s"] How can I sort the whole thing alphabetically, but keep the "-" where…
2
votes
1 answer

C++ deleteting object in constructor?

i want to make class which has one string atributte. But if string has length more then 50 characters i dont want create object. What should i do? { if (paSlovo.length() <= DLZKA_SLOVA) aSlovo = paSlovo; else delete this; …
2
votes
1 answer

Passage Length Limit for AllenNLP Question Answering

I'm pretty new to AllenNLP and I'm currently using its pre-trained question answering model. I wonder if it has a passage length limit to ensure its performance? I know BERT will have a maximum length of 512 and will truncate longer passages. I have…
mattstack
  • 21
  • 3
1
2 3
10 11