From 2d51d93b4dd05adeed8103521fe8f99da44607e2 Mon Sep 17 00:00:00 2001 From: Rochas Date: Wed, 12 Feb 2025 21:23:38 +0100 Subject: [PATCH] =?UTF-8?q?modification=20ASD=20attribu=C3=A9e?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 55 ++++++++++++++++++++++++++++++++----------------------- 1 file changed, 32 insertions(+), 23 deletions(-) diff --git a/README.md b/README.md index 4f9f553..3a7e962 100644 --- a/README.md +++ b/README.md @@ -3,38 +3,47 @@ Réalisé par Thibaut ROCHAS et Tuan Minh VU ## Implémentation du ASD + +``` +turtle ::= Turtle(phrase*) +phrase ::= Phrase(entity, aff*) +aff ::= Aff(ntity, complement*) +complement ::= Complement(entity) + | Complement_Text(String) +entity ::= Entity(String) +``` + +## Conversion vers Ntriples par ASD attribuée + ``` turtle ::= Turtle(phrase*) - phrase ::= Phrase(entity, aff*) - //pour chaque aff.comp - phrase.s = entity.val - phrase.v = aff.ent - phrase.c = aff.comp.ent -aff ::= Aff(ntity, complement*) //TODO générer les Ntiple - aff.ent = enity.val - aff.comp = union(aff.comp,complement.ent) - + phrase.s = entity.val +aff ::= Aff(ntity, complement*) + aff.s = phrase.s + aff.v = enity.val complement ::= Complement(entity) - complement.ent = entity.val + phrase.s = aff.s + phrase.v = aff.v + phrase.c = entity.val | Complement_Text(String) - complement.ent = String.self - + phrase.s = aff.s + phrase.v = aff.v + phrase.c = String.self entity ::= Entity(String) entity.val=String.self ``` - -TAD Nom Type Polarité Descp -turtel val list(phrase) H -phrase s String H - v String H - c String H -aff ent String H - comp list(String) H -complement ent String H - txt String S -entity val String S +|TAD |Nom d'attribut |Type | Polarité +|----------------|-----------------|---------------------|---------| +|phrase |s |String |H +|aff |s |String |H +|aff |v |String |H +|complement |s |String |H +|complement |v |String |H +|complement |c |String |H/S +|Entity |val |String |S + |TAD |Nom d'attribut |Type | Polarité