Linguatools Sentence Generating

FREEMIUM
Par petapro | Mise à jour 6 месяцев назад | Text Analysis
Popularité

9.1 / 10

Latence

186ms

Niveau de service

100%

Retour à toutes les discussions

WH questions

avatar
ashanchandrasiri1
2 года назад

is there any way to generate questions like where are you from ?. when i try it
req.query({
“object”: “you from”,
“subject”: “you”,
“verb”: “from”,
“sentencetype”: “whosubj”
}); it gives who are you a from?

avatar
petapro commented 2 года назад

Unfortunately, there’s no way to generate questions other than with “what” and “who” using the current API.

The only thing you could do is to add some string replacement on top of your hack to replace the “who” question word with “where” in the API response (and set objdet to “-” to eliminate the article “a”).

Participez à la discussion - ajoutez un commentaire ci-dessous:

Connectez-vous / Inscrivez-vous pour publier de nouveaux commentaires
Note : 5 - Votes : 1