I
I
Ilya2014-03-17 21:31:06
API
Ilya, 2014-03-17 21:31:06

How to put stress in a word (if at all possible)?

My team and I are working on a project for the Yandex contest. We got a problem. Our application (more specifically, a Web service) is based on words and word stresses. At the moment, the site implements manual stressing in words by the user, but this is not an option. We need "Auto-Attack". Where can I find some database, dictionary or some API for determining the stress in words? Well, it is very necessary. In the Yandex.Dictionary API, by the way, there is no such possibility, although in Yandex.Dictionary itself, the words are stressed.
PS How to determine the stress in a word? - did not find the answer here either.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
R
Rsa97, 2014-03-17
@Rsa97

The question is interesting, especially considering that in homonyms the stress can fall on different syllables (atlas - atlas), the stress can be determined by the context (pick up - do not shake hands), there are unstressed words (walk on water) and words with double stress (electrocardiogram ).
So first you need to parse the sentence taking into account the context, then check the dictionary (you can parse the Yandex , then heuristics, for example this .

L
linguist, 2020-11-13
@linguist

Accent program: morpher.ru/accentizer
API: morpher.ru/ws3/#addstressmarks

A
ambisinister One, 2021-12-28
@ambisinistrone

Ozhegov.
I'm willing to bet that all these dictionaries are inferior to him.
And an illiterate foreigner, inexperienced in speech styles, will read, no matter how many stresses you place, in his own way. Alas and ah, but this disease has only one cure - literacy.
No computer can realize the hidden meaning, so integral to the next of our lives.
He does not understand what he writes at all.
And yes, I'm not a robot!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question