32 static const char oName[] =
"Morphological Tags";
33 static const char oTip[] =
"Toggles Morphological Tags On and Off if they exist";
37 static const StringList oVals(&choices[0], &choices[2]);
57 bool lastspace =
false;
62 for (text =
""; *from; from++) {
73 if (*token ==
'W' && token[1] ==
'T') {
74 if ((from[1] ==
' ') || (from[1] ==
',') || (from[1] ==
';') || (from[1] ==
'.') || (from[1] ==
'?') || (from[1] ==
'!') || (from[1] ==
')') || (from[1] ==
'\'') || (from[1] ==
'\"')) {
88 token[tokpos++] = *from;
95 lastspace = (*from ==
' ');
#define SWORD_NAMESPACE_START
static const StringList * oValues()
const char * c_str() const
std::list< SWBuf > StringList
static const char oName[]
static const char * choices[4]
#define SWORD_NAMESPACE_END
virtual char processText(SWBuf &text, const SWKey *key=0, const SWModule *module=0)