Linguatools Sentence Generating

FREEMIUM
От petapro | Обновлено hace 9 días | Text Analysis
Популярность

8.4 / 10

Задержка

424ms

Уровень обслуживания

100%

Health Check

N/A

Назад ко всем обсуждениям

WH questions

Rapid account: Ashanchandrasiri 1
ashanchandrasiri1
hace 3 años

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 hace 3 años

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

Присоединяйтесь к обсуждению – добавьте комментарий ниже:

Войдите / Зарегистрируйтесь, чтобы публиковать новые комментарии