features {
  cat: n, np, v, adj, det, prorel;
  mood: inf, ind, subj, pastp, presp;
  lemma: *;
  phon: *
}
% single line comment
 
labels { OBJ, SUBJ, DE_OBJ, ANT, ANT_TMP }
 
 
%-- 
documentation comment for module (accepts html)
--%
module p7_to_p7p-mc {
  %-- 
  documentation comment for rule (accepts html)
  --%
  rule accuser {
    match {
      V [cat=v, lemma="accuser"];
      O [];
      D [cat=det, lemma="de"];
      DO [cat=v, mood = inf | pastp];
 
      V -[OBJ]-> O;
      V -[DE_OBJ]-> D;
      D -[OBJ]-> DO;
    }
    commands {
      add_edge DO -[SUBJ]-> O
    }
  } 
} 
 
% ignored comment  
module ant {
  labels {ANT_TMP}
 
  rule ant_prorel_init {
    match {
      N [];
      P [cat = prorel];
      N -> P;
     }
 
    without { P -[ANT]-> * }
    without { P -[ANT_TMP]-> * }
    commands {
      add_edge P -[ANT_TMP]-> N
    }
  }
}
 
sequences { 
%-- doc comment for a sequence (accepts html) --%
% ignored comment
x {ant; p7_to_p7p-mc}
}