Datasets:

Languages:
French
License:
CIENSFO / searches /cefc_prep_int.req
de-francophones's picture
Upload 44 files
5cecc35 verified
raw
history blame contribute delete
868 Bytes
pattern {
QU[lemma="qui"|"quoi"|"comment"|"où"|"quand"|"lequel"|
"pourquoi"|"combien"|"si"|"est-ce"|"est-ce que"] ;
% ignored "en fonction duquel"
P[upos="PRE",lemma="de"|"selon"|"suivant"|"à"|"au vu de"] ; % excluded "dans"
P < QU ; % case with no word between the prep and the QU word
% Y[] ; P < Y ; Y < QU % case with 1 other words between the prep and the QU word
}
without { % forcing "(en) fonction de / (au) niveau de / (à) propos de" if P[lemma="de"]
P[lemma="de"] ; P2[lemma<>"fonction"|"niveau"|"propos"] ; P2 < P
}
without { % forcing "(par) rapport à" if P[lemma="à"]
P[lemma="à"] ; P2[lemma<>"rapport"] ; P2 < P
}
without { % removing "de / à" as first word
P[lemma="de"|"à"] ; A[form="__0__"] ; A < P
}
without { % removing "de / à" before a non-lemmatized word
P[lemma="de"|"à"] ; A[!lemma] ; A < P
}