Linguatools English Collocations

フリーミアム
よって linguatools | 更新済み 5 дней назад | Text Analysis
人気

9 / 10

レイテンシー

181ms

サービスレベル

100%

Health Check

N/A

すべてのディスカッションに戻る

Part Of Speech For Query String

Rapid account: Karov Inal
KarovInal
2 года назад

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 2 года назад

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 2 года назад

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.

ディスカッションに参加しましょう-以下にコメントを追加してください:

ログイン/サインアップして新しいコメントを投稿