Questions tagged [sentence]

A sentence is an ordinated sequence of words in a given language. often referred to as "document" in Natural Language Processing.

364 questions
-5
votes
1 answer

how to change all the words in a sentence into a number, and also be able to change it back

OK, so I have to make a program in python, that is able to make a number for each word in a sentence, and if the word is the same it will have the same number, but I have to be able to change it back to the original sentence as well. For example,…
Dummy8123
  • 17
  • 2
  • 6
-5
votes
1 answer

How to check if any words present in a string is available in an array c#

i just want to ask if user input sentence is present in the array. like for example "Vince borrow book" then i just want to check if "Vince" "Borrow" and "Book" are present in arrays. im noob string sentence = tbSentence.Text; string[] words =…
-5
votes
2 answers

How to split text int array of sentences based on ?, ! and . in Java?

How to split text int array of sentences based on ?, ! and . in Java? For example I want to store sentences from a string into a oversized array. myArray[0] = 1st sentence, myArray[1] = 2nd sentence and etc/
1 2 3
24
25