Linguatools English Collocations

FREEMIUM
(Ким) linguatools | Оновлено vor 4 Tagen | Text Analysis
Популярність

8.9 / 10

Затримки

181ms

Рівень обслуговування

100%

Health Check

N/A

Повернутися до всіх обговорень

Part Of Speech For Query String

Rapid account: Karov Inal
KarovInal
vor 2 Jahren

Hello!
Is it possible to filter collocation by part of speech of query string?
I know you have a “relation” parameter, but it doesn’t work well for me. For example, I need to get all collocation with the “boost” word, where “boost” is a verb. But if I use “V:obj:N” relation, I’ll receive collocations like, “to boost morale” (boost as a verb) and “to receive boost” (boost as a noun).
So it would be awesome if you’ll add an extra parameter, like “query_pos” which automatically filters all collocations by a part of speech for query string 😃

Rapid account: Petapro
petapro Commented vor 2 Jahren

Hello KarovInal,

we added a new endpoint of the collocation API. It’s called “collocations v2 ( + pos)”. There is an additional parameter called “pos”. It allows to filter for part of speech.
Note that some relation names changed. See the allowed values in the description of the test endpoint.

Rapid account: Petapro
petapro Commented vor 2 Jahren

Hello KarovInal,

we are currently working on a new version of the collocation API.
In the future version you will be able to restrict your query to the position of the collocation (e.g. search “boost” in left hand side of V:obj:N, or in left hand side of N:nn:N).

We expect to release the new version by the end of September.

Приєднуйтесь до обговорення — додайте повідомлення нижче:

Вхід / Реєстрація, щоб публікувати нові повідомлення