modification ASD attribuée
This commit is contained in:
55
README.md
55
README.md
@@ -3,38 +3,47 @@
|
|||||||
Réalisé par Thibaut ROCHAS et Tuan Minh VU
|
Réalisé par Thibaut ROCHAS et Tuan Minh VU
|
||||||
|
|
||||||
## Implémentation du ASD
|
## 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*)
|
turtle ::= Turtle(phrase*)
|
||||||
|
|
||||||
phrase ::= Phrase(entity, aff*)
|
phrase ::= Phrase(entity, aff*)
|
||||||
//pour chaque aff.comp
|
phrase.s = entity.val
|
||||||
phrase.s = entity.val
|
aff ::= Aff(ntity, complement*)
|
||||||
phrase.v = aff.ent
|
aff.s = phrase.s
|
||||||
phrase.c = aff.comp.ent
|
aff.v = enity.val
|
||||||
aff ::= Aff(ntity, complement*) //TODO générer les Ntiple
|
|
||||||
aff.ent = enity.val
|
|
||||||
aff.comp = union(aff.comp,complement.ent)
|
|
||||||
|
|
||||||
complement ::= Complement(entity)
|
complement ::= Complement(entity)
|
||||||
complement.ent = entity.val
|
phrase.s = aff.s
|
||||||
|
phrase.v = aff.v
|
||||||
|
phrase.c = entity.val
|
||||||
| Complement_Text(String)
|
| Complement_Text(String)
|
||||||
complement.ent = String.self
|
phrase.s = aff.s
|
||||||
|
phrase.v = aff.v
|
||||||
|
phrase.c = String.self
|
||||||
entity ::= Entity(String)
|
entity ::= Entity(String)
|
||||||
entity.val=String.self
|
entity.val=String.self
|
||||||
```
|
```
|
||||||
|
|TAD |Nom d'attribut |Type | Polarité
|
||||||
TAD Nom Type Polarité Descp
|
|----------------|-----------------|---------------------|---------|
|
||||||
turtel val list(phrase) H
|
|phrase |s |String |H
|
||||||
phrase s String H
|
|aff |s |String |H
|
||||||
v String H
|
|aff |v |String |H
|
||||||
c String H
|
|complement |s |String |H
|
||||||
aff ent String H
|
|complement |v |String |H
|
||||||
comp list(String) H
|
|complement |c |String |H/S
|
||||||
complement ent String H
|
|Entity |val |String |S
|
||||||
txt String S
|
|
||||||
entity val String S
|
|
||||||
|
|
||||||
|
|
||||||
|TAD |Nom d'attribut |Type | Polarité
|
|TAD |Nom d'attribut |Type | Polarité
|
||||||
|
|||||||
Reference in New Issue
Block a user