Finding this definition automatically is not as trivial as it might sound and there is a lot of literature on this topic.
a lot of cases remain where we cannot find such a definition, because the extraction method fails or because there is no definition in the paper.