Difference between revisions of "Lint"

From Apertium
Jump to navigation Jump to search
(consistency litn?)
Line 9: Line 9:
   
 
* when doing <code><clip></code>, check that the attribute listed in <code>part=""</code> is defined using a <code><def-attr></code>.
 
* when doing <code><clip></code>, check that the attribute listed in <code>part=""</code> is defined using a <code><def-attr></code>.
  +
  +
==Consistency of {Multichar_Symbols/sdefs/LISTs/SETs}==
  +
  +
This may be larger task chopped to dozens of checks, but IMO source of most problems:
  +
  +
* bidix should not have sdefs that are not in monodix or lexc file. (Same can be carried over to lrx, rlx, t?x etc. fails)

Revision as of 15:43, 23 March 2016


Lexical selection

  • don't use lrx-proc without the -m option.

Transfer

  • when doing <clip>, check that the attribute listed in part="" is defined using a <def-attr>.

Consistency of {Multichar_Symbols/sdefs/LISTs/SETs}

This may be larger task chopped to dozens of checks, but IMO source of most problems:

  • bidix should not have sdefs that are not in monodix or lexc file. (Same can be carried over to lrx, rlx, t?x etc. fails)