BYU-ARCLITE / DictionaryLookup

A web service for doing trans-lingual dictionary lookups.
0 stars 0 forks source link

Combine lemmas that are the same #13

Open verdude opened 8 years ago

verdude commented 8 years ago

Add the senses and attributions from one of them to the other when the lemma and part of speech are the same

gliese1337 commented 8 years ago

It would probably be best to implement a generic lemma-combining function- something that takes two lemma structures as input and returns a single combined one- that can be re-used in multiple services. A single generic "can these be combined" function would also be useful.

Ideally, we might want a single generic function that takes a list of lemmas and automatically figures out which ones can be combined and then does so, so that we don't have to reinvent that logic for every service, either.