Merge remote-tracking branch 'refs/remotes/origin/main'

This commit is contained in:
tuvu
2025-02-13 12:37:13 +01:00

View File

@@ -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)
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 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 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é