docs: def _loadSubcatRelations( self, inputFile ):
          ''' Laeb sisendfailist (inputFile) verb-nom/adv-vinf rektsiooniseoste mustrid.
              Iga muster peab olema failis eraldi real, kujul:
                  (verbikirjeldus)\TAB(nom/adv-kirjeldus)\TAB(vinfkirjeldus)
              nt
                  leid NEG	aeg;S;((sg|pl) (p)|adt)	da
                  leid POS	võimalus;S;(sg|pl) (n|p|g)	da
              Salvestab laetud tulemused klassimuutujatesse nomAdvWordTemplates, verbRules
              ja verbToVinf;
          '''
          self.nomAdvWordTemplates = dict()
          self.verbRules  = dict()
          self.verbToVinf = dict()
          in_f = codecs.open(inputFile, mode='r', encoding='utf-8')
          for line in in_f:
              line = line.rstrip()
              if len(line) > 0 and not re.match("^#.+$", line):
                  items = line.split('\t')
                  if len(items) == 3:
                      verb    = items[0]
                      nounAdv = items[1]
                      vinf    = items[2]
                      if nounAdv not in self.nomAdvWordTemplates:
                          (root,pos,form) = nounAdv.split(';')
                          if not root.startswith('^') and not root.endswith('$'):
                              root = '^'+root+'$'
                          constraints = {ROOT:root, POSTAG:pos}
                          if form:
                              constraints[FORM] = form
                          self.nomAdvWordTemplates[nounAdv] = WordTemplate(constraints)
                      if verb not in self.verbRules:
                          self.verbRules[verb] = []
                      if verb not in self.verbToVinf:
                          self.verbToVinf[verb] = []
                      self.verbRules[verb].append( (nounAdv, 'V_'+vinf) )
                      if 'V_'+vinf not in self.verbToVinf[verb]:
                          self.verbToVinf[verb].append( 'V_'+vinf )
                  else:
                      raise Exception(' Unexpected number of items in the input lexicon line: '+line)
          in_f.close()