|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectt2s.prosodie.Syntagme
public class Syntagme
Classe représentant les différentes catégories de syntagme.
Définition : [ cf. WikiPédia ]
Un syntagme est un ensemble de mots formant une seule unité catégorielle et fonctionnelle, mais dont chaque constituant, parce que dissociable (contrairement au mot composé), conserve sa signification et sa syntaxe propres. Un syntagme constitue donc une association occasionnelle, libre, alors que le mot composé est une association permanente (lorsqu'un syntagme se fige, il devient bien sûr un composé détaché, soit une locution).
En clair : un syntagme est une 'partie de phrase'
| Field Summary | |
|---|---|
protected static int |
FIN
Syntagme final : fin de phrase |
protected static int |
FIN_EXCLAM
Syntagme exclamatif : fin de phrase exclamative |
protected static int |
FIN_INTERRO
Syntagme intérogatif : fin de phrase interrogative |
protected static int |
MAJEUR
Syntagme majeur : début ou milieu de phrase majeure |
protected static int |
MINEUR
Syntagme mineur : début ou milieu de phrase mineure |
protected static int |
PAUSE_COURTE
Une pause courte : conjonction de coordination |
protected static int |
PAUSE_FIN
La pause finale : pour le 'point final' |
protected static int |
PAUSE_LONGUE
Une pause longue : conjonction de subordination |
| Constructor Summary | |
|---|---|
protected |
Syntagme()
Constructeur de Syntagme par défaut. |
|
Syntagme(int s,
int d)
Constructeur de syntagme |
| Method Summary | |
|---|---|
protected boolean |
court()
Est-ce un syntagme de pause courte ? |
protected int |
dureePause()
Pour récuperer le code représentant la durée de la pause |
protected boolean |
fin()
Est-ce un syntagme final ? |
protected boolean |
finExclam()
Est-ce un syntagme de fin d'exclamation ? |
protected boolean |
finInterro()
Est-ce un syntagme de fin d'interrogation ? |
protected boolean |
longb()
Est-ce un syntagme de pause longue? |
protected boolean |
majeur()
Est-ce un syntagme majeur ? |
protected boolean |
mineur()
Est-ce un syntagme mineur ? |
protected static Syntagme |
type(java.lang.String ph,
int coupure)
Pour déterminer le type de syntagme de coupure en fonction du type de coupure % ou %%. |
protected static Syntagme |
typeFin(int ponctuation)
Pour déterminer le type de syntagme final d'une phrase |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final int MINEUR
protected static final int MAJEUR
protected static final int FIN_INTERRO
protected static final int FIN
protected static final int FIN_EXCLAM
protected static final int PAUSE_COURTE
protected static final int PAUSE_LONGUE
protected static final int PAUSE_FIN
| Constructor Detail |
|---|
public Syntagme(int s,
int d)
s - le type de syntagme que l'on souhaite créer (a choisir parmis les constantes)d - la durée de la pause associée (a choisir parmis les constantes)protected Syntagme()
Remarque : cré un Syntagme au sens de this(0,0)
| Method Detail |
|---|
protected int dureePause()
protected static Syntagme typeFin(int ponctuation)
ponctuation - la ponctuation de cette phrase
protected static Syntagme type(java.lang.String ph,
int coupure)
Précondition : ph contient au moins un %
ph - : une phrasecoupure - : l'indice dans ph du premier %
protected boolean fin()
protected boolean finExclam()
protected boolean finInterro()
protected boolean longb()
protected boolean court()
protected boolean mineur()
protected boolean majeur()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||