35#include "EST_ling_class.h"
60 p.
set(
"NAME",
"example");
62 p.
set(
"DURATION", 2.76);
96 cout <<
"Part of speech for p is " << p.
S(
"POS") <<
endl;
97 cout <<
"Duration for p is " << p.
F(
"DURATION") <<
endl;
98 cout <<
"Stress value for p is " << p.
I(
"STRESS") <<
endl;
115 cout <<
"Part of speech for p is "
116 << p.
S(
"POS") <<
endl;
117 cout <<
"Syntactic Category for p is "
118 << p.
S(
"CAT",
"Noun") <<
endl;
138 p.
set(
"CONTINUANT",
"-");
139 p.
set(
"SONORANT",
"-");
142 p.
set(
"PLACE OF ARTICULATION", f);
144 p.
A(
"PLACE OF ARTICULATION").
set(
"CORONAL",
"+");
145 p.
A(
"PLACE OF ARTICULATION").
set(
"ANTERIOR",
"+");
155 f2.
set(
"CORONAL",
"+");
156 f2.
set(
"ANTERIOR",
"+");
158 p.
set(
"PLACE OF ARTICULATION", f2);
167 cout <<
"Anterior value is: " << p.
A(
"PLACE OF ARTICULATION").
S(
"ANTERIOR");
168 cout <<
"Coronal value is: " << p.
A(
"PLACE OF ARTICULATION").
S(
"CORONAL");
179 cout <<
"Anterior value is: " << p.
S(
"PLACE OF ARTICULATION.ANTERIOR");
180 cout <<
"Coronal value is: " << p.
S(
"PLACE OF ARTICULATION.CORONAL");
190 p.
set(
"PLACE OF ARTICULATION.CORONAL",
"+");
191 p.
set(
"PLACE OF ARTICULATION.ANTERIOR",
"+");
208 cout <<
"This is true: " << p.
f_present(
"PLACE OF ARTICULATION");
216 p.
f_remove(
"PLACE OF ARTICULATION");
void set(const EST_String &name, int ival)
const EST_String S(const EST_String &path) const
const int I(const EST_String &name) const
void set(const EST_String &name, int ival)
const EST_String S(const EST_String &name) const
EST_Features & A(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