**********************************************
Copyright © 2006 - 2016 by Art Bagua | webmaster@artbagua.de
*
This namespace is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
*
This namespace is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied
warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License
for more details.
*
You should have received a copy of the GNU General Public
License along with this namespace; if not, write to the
Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
#include <qstring.h>
//#include....
namespace KSals
{
class morphology(QString* stem, QString* ending)
{
public:
enum Gender {
Maskulin, Feminin, Neutrum
};
enum Numeri {
Singular, Dual, Plural
};
enum Case {
Nominative,
Akkusative,
Instrumental,
Dative,
Ablative,
Genitive,
Locative,
Vocative
};
enum Genera{
Activum, Medium, Passivum
};
enum Modi {
Indicative, Optative, Imperative
};
enum Times {
Present,
Imperfect,
Perfect,
Aorist,
Future,
Conditional
};
//enum classes: athematic, thematic...
QString root(char*);
QString stem(char*);
QString ending(char*);
void FormStem(char *root, char *ending);
void FormWord(char *stem, char *ending);
const QString verbum();
const QString nomen();
const QString adjectivum();
const QString adverbium();
const QString pronomen();
const QString partizipium();
const QString compositum();
const QString comparativum();
const QString cardinalium();
};
}
|