Skip to content
Snippets Groups Projects
Select Git revision
  • bdc4e55c6adefcfe711c2da39f1bada513f10a5b
  • main default protected
2 results

README.md

Blame
  • SSC-01-01.stc.txt 1.12 KiB
    # -----------------------------------------------------------------------------
    # Schémas de Transduction Compositionnel (STC)
    # -----------------------------------------------------------------------------
    #
    # Pré-traitement = chaque noeud du graphe est associé à un filet de type ATOM
    #
    # TYPE = { ATOM, COMMON-CONCEPT, PREDICATE, MODALITY }
    #
    
    # -----------------------------------
    # Fonctions
    # -----------------------------------
    
    # ::function isCommomConcept
    # isCommonConcept(x) retourne VRAI si x est un concept AMR commun, c'est à
    # dire si x n'est pas un prédicat ou un phénomène linguistique
    # exemple de concepts communs : boy, car, ...
    
    # ::function isPredicate
    # ...
    
    # ::function isPhenomena
    # ...
    
    
    # -----------------------------------
    # STC
    # -----------------------------------
    
    # ::stc STC-01
    [x] type(x, ATOM) & isCommonConcept(x.concept)
         => { type = COMMON-CONCEPT ; concept = x.concept }
    
    
    # ::stc STC-02
    [x, y] domain(x,y) & type(x, COMMON-CONCEPT) & type(y, COMMON-CONCEPT)
         => { type = CLASS ;
              concept = x.concept + "-" + y.concept ;
              class = defineNewClass(concept)
              }