Module:Sandbox/AbstractWikipedia/Relations/doc

This is the documentation page for Module:Sandbox/AbstractWikipedia/Relations

This is the relatons module of the Abstract Wikipedia template-renderer prototype.

You can define here new relations to be used in the template language. A relation always takes two arguments, source and target, of type lexeme, as defined in the Module:Sandbox/AbstractWikipedia/Lexemes module. Then it can verify the lexemes' part of speech using the verifyPOS function and unify features of the two lexemes using the unifyFeatures function defined in the Module:Sandbox/AbstractWikipedia/UnifiableFeatures module.

The relations used should normally be defined as corresponding to Universal Dependencies or Surface-Syntactic Universal Dependencies but there is no formal limitation.

Language-specific implementations edit

You may override and define language-specific relations language sub-modules. Currently the following are implemented: