ULAPI
8.0
Main Page
Classes
source
workers
ulsingularizer.h
1
7
#ifndef ULSINGULARIZER_H
8
#define ULSINGULARIZER_H
9
10
#include "ulworker.h"
11
#include "uldissector.h"
12
17
class
ULSingularizer
:
public
ULWorker
18
{
19
public
:
20
ULSingularizer
();
21
ULSingularizer
(
const
ULSingularizer
& other);
22
virtual
~ULSingularizer
();
23
24
ULSingularizer
&
operator=
(
const
ULSingularizer
& other);
25
void
clear
();
26
27
// Accessors
28
ULDissector
*
getDissector
();
29
void
setDissector
(
ULDissector
*newDissector);
30
const
ULLanguage
&
getLanguage
()
const
;
31
32
// ULWorker interfaces.
33
virtual
bool
isServiceAvailable
(
const
ULServiceDescriptor
& service);
34
virtual
void
getAvailableServices
(
ULList<ULServiceDescriptor>
& services);
35
36
// The core services provided by the singularizer.
37
ULError
getSingular
(
const
ULString
& word,
ULString
& singular);
38
ULError
getAllSingulars
(
const
ULString
& word,
ULList<ULString>
& singularList);
39
40
private
:
41
ULDissector
*dissector;
42
};
43
44
#endif
Generated on Sat Apr 13 2013 12:59:07 for ULAPI by
1.8.2