Questions tagged [nlp-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

243 questions
-2
votes
1 answer

Predicting next questions in llm powered chatbot

I am building a question answering chatbot powered by llms. I have seen in chatbots like bing chat it predicts what might be the top three next questions user may ask. My question is: How would I do the same in my chatbot? I have implemented the qa…
-2
votes
2 answers

Java If-Else in HackerRank, Is my code good or can I get better solution for the problem

Problem Statement Task Given an integer,n, perform the following conditional actions: If n is odd, print Weird If n is even and in the inclusive range of 2 to 5, print Not Weird If n is even and in the inclusive range of 6 to 20, print Weird If n is…
-2
votes
3 answers

Refactor this terrible code that checks how many decimals a Double has

I have some code that checks how many decimals my number has. Example: 1,10 correct conversion: String.format("%.1f", Double.parseDouble(md.get("amount")) 1,10 incorrect conversion: String.format("%.2f", Double.parseDouble(md.get("amount")) I…
Link
  • 361
  • 5
  • 17
-2
votes
2 answers

A interesting question about time complexity

during my classroom i asked this question to my teacher and he couldn't answer that's why i am asking here. i asked that during a code , what if we have a loop to run from 1 to 10 , does the complexity would be O(1) {big O of 1} . heanswered yes. so…
-2
votes
1 answer

JS video player with a feature to stop and answer questions

Is there a pretty much complete solution to have a video player that can stop at a time code, display some questions and the play then video again? Like the one that coursera.org has. It seems like their player is based on video.js but it's…
Zmiter
  • 115
  • 13
-2
votes
1 answer

How to validate free answers from exam

I am thinking about the best way to validate free answers to tests from my upcoming courses site. I didn't want to have all the questions in radio buttons format, so I decided to use textboxes for some of the answers as it feels more natural to the…
Dark_eye
  • 415
  • 7
  • 15
-3
votes
1 answer

Which NLP task is easier to begin with?

Which one among the following NLP topics will be easier to work with? Question answering Paraphrase detection Short text conversation Author identification
-3
votes
2 answers

Is there any NLP tools for semantic parsing for languages other than English

I want to parse Malayalam(Indian Language) text corpora for developing a question answering system.Is there any NLP tools for semantic parsing for languages other than English.
Naima
  • 101
  • 1
  • 4
  • 9
-4
votes
1 answer

Interview question Swift, incomprehensible syntax

In the WWW I find interview question and one of them is: What will be the output of the code snippet below: class Kondana { var dictDataHolder = [String:T]() func add(value:T?,using key:String) -> T? { …
Ice
  • 680
  • 1
  • 10
  • 23
-4
votes
1 answer

Python program to analyze and answer questions relating to a data set

What is the year and country that has the lowest life expectancy in the dataset? What is the year and country that has the highest life expectancy in the dataset? Allow the user to type in a year, then, find the average life expectancy for that…
-4
votes
1 answer

What Is this C# Code doing in algorithms?

encoded Data = (encoded Data | bit Shift Buffer)
rex_yoy
  • 13
  • 3
-4
votes
1 answer

Question Answer model for Polish language

I am wondering is there any polish language or Slavic language model on the base of which I could build a new model with my training set?
Anna Tum
  • 47
  • 1
  • 6
-4
votes
1 answer

Fragments or activities for open answer questionnaire app

I want to make an app where users have to fill in some open questions. I want each question to have its own page, and navigate with a prev and next button. In the end the user has to see an overview of all the questions with their answers. To…
-4
votes
2 answers

find the type of answer in java

Sorry if this question is duplicate, but I have not found the answer. I want to find the type of question using java. The problem is that I do not know how to find the type of question from the question which the user will be submit. For example:…
-5
votes
4 answers

Is it possible to assign a variable as a value in a dictionary (for Python)?

for variables 'a' and 'b' in dictionary 'dict1' is it possible to later call variable 'a' using its key given in 'dict1' to assign a value to it?? a="" b="" dict1= {0:a,1:b} dict1[0] = "Hai" #assign a value to the variable using the key …
1 2 3
16
17