Linguatools Sentence Generating

FREEMIUM
Door petapro | Bijgewerkt vor 7 Tagen | Text Analysis
Populariteit

8.4 / 10

Latency

431ms

Serviceniveau

100%

Health Check

N/A

Terug naar alle discussies

WH questions

Rapid account: Ashanchandrasiri 1
ashanchandrasiri1
vor 3 Jahren

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?

Rapid account: Petapro
petapro Commented vor 3 Jahren

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”).

Doe mee aan de discussie - voeg hieronder een opmerking toe

Log in / Schrij u in om nieuwe opmerkingen te plaatsen