[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lojban] Semantics as infinity
coi
take this algorithims " http://en.wikipedia.org/wiki/List_of_algorithms#Linguistics
I will give one now
e.g.
function SIMPLIFIED LESK(word,sentence) returns best sense of word
best-sense <- most frequent sense for word max-overlap <- 0 context <-
set of words in sentence for each sense in senses of word do signature
<- set of words in the gloss and examples of sense overlap <-
COMPUTEOVERLAP (signature,context) if overlap > max-overlap then max-
overlap <- overlap best-sense <- sense
end return (best-sense)
co'o
ki'esdi'es
--
You received this message because you are subscribed to the Google Groups "lojban" group.
To post to this group, send email to lojban@googlegroups.com.
To unsubscribe from this group, send email to lojban+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/lojban?hl=en.