Filtered LMF example Sample Clauses
Filtered LMF example. <Lexicon> <LexicalEntry id=“le_1”> <feat att=“partOfSpeech” val=“noun”/> <!--Lemma is obligatory in LMF and should be used to encode the morphosyntactic information applicable to the whole lemma --> <Lemma> <feat att=“writtenForm” val=“boy”/> </Lemma> <!--use feat “partOfSpeech” to set the PoS of the entry --> <feat att=“partOfSpeech” val=“noun”/> <Sense> <!-- add one feat for each class and its assigned score --> <!-- “boy” belongs to the class human but not to location or eventive --> <feat att=“event” val=“no”/> <feat att=“hum” val=“yes”/> <feat att=“loc” val=“no”/> <!-- “domain” is a label used to identify the corpus from where the lexicon has been extracted, in case it has been automatically acquiered --> <feat att=“domain” val=“labour”/> </Sense> </LexicalEntry> <LexicalEntry id=“le_2”> <feat att=“partOfSpeech” val=“noun”/> <Lemma> <feat att=“writtenForm” val=“car”/> </Lemma> <Sense> <feat att=“domain” val=“labour”/> <!-- “car” does not belong to the class human nor eventive, but the classifier is not sure about class location --> <feat att=“event” val=“no”/> <feat att=“hum” val=“no”/> <feat att=“loc” val=“unknown”/> </Sense> </LexicalEntry> <LexicalEntry id=“le_3”> <feat att=“partOfSpeech” val=“noun”/> <Lemma> <feat att=“writtenForm” val=“storm”/> </Lemma> <Sense> <feat att=“domain” val=“labour”/> <!-- “storm” belongs to the class eventive but not to location or human --> <feat att=“event” val=“yes”/> <feat att=“hum” val=“no”/> <feat att=“loc” val=“no”/> </Sense> </LexicalEntry> </Lexicon>
Filtered LMF example. <Lexicon>
