Closed DavidLeoni closed 8 years ago
We need to impose some format namespacing for ids, to ease merging different LMFs.
As proposed solution, identifiers should be in the format :
NAMESPACE_PREFIX ':' ID_NAME
where namespaces are defined in a LexicalResource xlmns like here
LexicalResource
xlmns
<LexicalResource name="sm:lr" xmlns:sm="https://github.com/DavidLeoni/diversicon/tree/master/src/main/resources/smartphones-lmf.xml" xmlns:wn31="https://github.com/DavidLeoni/diversicon-wordnet-3.1/blob/master/src/main/resources/it/unitn/disi/diversicon/data/div-wn31.xml.xz">
A LexicalResource name will also dictate the default prefix for the whole file when IDs are missing, in the case above it would be sm
name
sm
Now using ids like wn31_the-id
wn31_the-id
We need to impose some format namespacing for ids, to ease merging different LMFs.
As proposed solution, identifiers should be in the format :
where namespaces are defined in a
LexicalResource
xlmns
like hereA LexicalResource
name
will also dictate the default prefix for the whole file when IDs are missing, in the case above it would besm