Linguatools English Collocations

부분 유료
분류별 linguatools | 업데이트됨 4 days ago | Text Analysis
인기

8.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.

아래에 의견을 추가하고 토론에 참여하세요.

새 댓글을 게시하려면 로그인 / 가입