Am 02.11.2016 um 21:53 schrieb Denny Vrandečić:
Hi,
I am not questioning or criticizing, just curious - why was it decided to implement lemmas as terms? I guess it is for code reuse purposes, but just wanted to ask.
Yes, ideed. We have code for rendering, serializing, indexing, and searching Terms. We do not have any infrastructure for plain strings. We could also handle it as a monolingual-text StringValue, but that offers less re-use, in particular no search, and no batch lookup for rendering.
Also, conceptually, the lemma is rather similar to a label. And it's always *in* a language. The only question is whether we only have one, or multiple (for variants/scripts). But one will do for now.