jbingel / lexi-server

6 stars 5 forks source link

Ensure grammaticaiity through morphological analysis #6

Open jbingel opened 5 years ago

jbingel commented 5 years ago

stanfordnlp seems to do a decent job for Danish. We can use it to deal with potentially grammaticality-breaking ambiguities. Idea: analyse original sentence and the newly generated sentence containing the candidate simplification, then check if original word and simplification candidate receive same analysis. Alternative: check if dependency structure is maintained.