35 #include "EST_ling_class.h"
67 p.
set(
"NAME",
"example");
69 p.
set(
"DURATION", 2.76);
103 cout <<
"Part of speech for p is " << p.
S(
"POS") << endl;
104 cout <<
"Duration for p is " << p.
F(
"DURATION") << endl;
105 cout <<
"Stress value for p is " << p.
I(
"STRESS") << endl;
122 cout <<
"Part of speech for p is "
123 << p.
S(
"POS") << endl;
124 cout <<
"Syntactic Category for p is "
125 << p.
S(
"CAT",
"Noun") << endl;
155 p.
set(
"CONTINUANT",
"-");
156 p.
set(
"SONORANT",
"-");
159 p.
set(
"PLACE OF ARTICULATION", f);
161 p.
A(
"PLACE OF ARTICULATION").
set(
"CORONAL",
"+");
162 p.
A(
"PLACE OF ARTICULATION").
set(
"ANTERIOR",
"+");
172 f2.
set(
"CORONAL",
"+");
173 f2.
set(
"ANTERIOR",
"+");
175 p.
set(
"PLACE OF ARTICULATION", f2);
184 cout <<
"Anterior value is: " << p.
A(
"PLACE OF ARTICULATION").
S(
"ANTERIOR");
185 cout <<
"Coronal value is: " << p.
A(
"PLACE OF ARTICULATION").
S(
"CORONAL");
196 cout <<
"Anterior value is: " << p.
S(
"PLACE OF ARTICULATION.ANTERIOR");
197 cout <<
"Coronal value is: " << p.
S(
"PLACE OF ARTICULATION.CORONAL");
207 p.
set(
"PLACE OF ARTICULATION.CORONAL",
"+");
208 p.
set(
"PLACE OF ARTICULATION.ANTERIOR",
"+");
225 cout <<
"This is true: " << p.
f_present(
"PLACE OF ARTICULATION");
226 cout <<
"This is false: " << p.
f_present(
"MANNER");
233 p.
f_remove(
"PLACE OF ARTICULATION");
void set(const EST_String &name, int ival)
const EST_String S(const EST_String &path) const
void set(const EST_String &name, int ival)
const int I(const EST_String &name) const
EST_Features & A(const EST_String &name) const
const EST_String S(const EST_String &name) const
const float F(const EST_String &name) const
void f_remove(const EST_String &name)
int f_present(const EST_String &name) const