35 #include "EST_ling_class.h"
68 p.
set(
"NAME",
"example");
70 p.
set(
"DURATION", 2.76);
104 cout <<
"Part of speech for p is " << p.
S(
"POS") << endl;
105 cout <<
"Duration for p is " << p.
F(
"DURATION") << endl;
106 cout <<
"Stress value for p is " << p.
I(
"STRESS") << endl;
123 cout <<
"Part of speech for p is "
124 << p.
S(
"POS") << endl;
125 cout <<
"Syntactic Category for p is "
126 << p.
S(
"CAT",
"Noun") << endl;
156 p.
set(
"CONTINUANT",
"-");
157 p.
set(
"SONORANT",
"-");
160 p.
set(
"PLACE OF ARTICULATION", f);
162 p.
A(
"PLACE OF ARTICULATION").
set(
"CORONAL",
"+");
163 p.
A(
"PLACE OF ARTICULATION").
set(
"ANTERIOR",
"+");
173 f2.
set(
"CORONAL",
"+");
174 f2.
set(
"ANTERIOR",
"+");
176 p.
set(
"PLACE OF ARTICULATION", f2);
185 cout <<
"Anterior value is: " << p.
A(
"PLACE OF ARTICULATION").
S(
"ANTERIOR");
186 cout <<
"Coronal value is: " << p.
A(
"PLACE OF ARTICULATION").
S(
"CORONAL");
197 cout <<
"Anterior value is: " << p.
S(
"PLACE OF ARTICULATION.ANTERIOR");
198 cout <<
"Coronal value is: " << p.
S(
"PLACE OF ARTICULATION.CORONAL");
208 p.
set(
"PLACE OF ARTICULATION.CORONAL",
"+");
209 p.
set(
"PLACE OF ARTICULATION.ANTERIOR",
"+");
226 cout <<
"This is true: " << p.
f_present(
"PLACE OF ARTICULATION");
227 cout <<
"This is false: " << p.
f_present(
"MANNER");
234 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