docs: def add_hashtag_info( mrf_lines ):
      ''' Augments analysis lines with various hashtag information:
            *) marks words with capital beginning with #cap;
            *) marks finite verbs with #FinV;
            *) marks nud/tud/mine/nu/tu/v/tav/mata/ja forms;
          Hashtags are added at the end of the analysis content (just before the 
          last '//');
  
          Returns the input list where the augmentation has been applied;
      ''' 
      i   = 0
      cap = False
      while ( i < len(mrf_lines) ):
          line = mrf_lines[i]
          if not line.startswith('  ') and len(line) > 0:
             cap = (line[0]).isupper()
          elif line.startswith('  '): 
             if cap:
                line = re.sub('(//.+\S)\s+//', '\\1 #cap //', line)
             if _morfFinV.search( line ) and not _morfNotFinV.search( line ):
                line = re.sub('(//.+\S)\s+//', '\\1 #FinV //', line)
             for [pattern, replacement] in _mrfHashTagConversions:
                 line = re.sub(pattern, replacement, line)
             mrf_lines[i] = line
          i += 1
      return mrf_lines