00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00025 #ifndef PHONEMEENTRY_H
00026 #define PHONEMEENTRY_H
00027
00028 using namespace std;
00029
00030 #include<vector>
00031 #include<string>
00032 #include<iostream>
00033
00037 struct c_LabelEntry {
00038 unsigned first;
00039 unsigned last;
00040 string phon;
00041 string pros;
00042 };
00043
00044
00048 class c_PhoneEntry {
00049 string key;
00050 string real;
00051 unsigned stress;
00052 unsigned first;
00053 unsigned last;
00054 public:
00055 c_PhoneEntry(const c_LabelEntry & l);
00056 ostream & printXML(ostream & out, const string & indent) const;
00057 };
00058
00059 string cleanPhon(const string & p);
00060 string getKan(const string & p);
00061 string getReal(const string & p);
00062
00063 #endif