xapian-core  2.0.0
Classes | Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
Xapian::Internal::Snowball::Tamil Class Reference

#include <tamil.h>

+ Inheritance diagram for Xapian::Internal::Snowball::Tamil:
+ Collaboration diagram for Xapian::Internal::Snowball::Tamil:

Classes

struct  SN_local
 

Public Member Functions

 Tamil ()
 
 ~Tamil ()
 
std::string operator() (const std::string &word) override
 Stem the specified word. More...
 
std::string get_description () const override
 Return a string describing this object. More...
 
- Public Member Functions inherited from Xapian::StemImplementation
 StemImplementation ()
 Default constructor. More...
 
virtual ~StemImplementation ()
 Virtual destructor. More...
 
virtual bool use_proper_noun_heuristic () const
 Should QueryParser suppress stemming for capitalised words? More...
 
- Public Member Functions inherited from Xapian::Internal::intrusive_base
 intrusive_base ()
 Construct with no references. More...
 

Private Member Functions

void close_env ()
 

Static Private Member Functions

static int stem (struct SN_env *z)
 

Private Attributes

SN_local zlocal = {}
 

Additional Inherited Members

- Public Attributes inherited from Xapian::Internal::intrusive_base
unsigned _refs
 Reference count. More...
 

Detailed Description

Definition at line 10 of file tamil.h.

Constructor & Destructor Documentation

◆ Tamil()

Xapian::Internal::Snowball::Tamil::Tamil ( )
inline

Definition at line 28 of file tamil.h.

References create_s(), SN_env::p, Xapian::Internal::Snowball::Tamil::SN_local::z, and zlocal.

◆ ~Tamil()

Xapian::Internal::Snowball::Tamil::~Tamil ( )
inline

Definition at line 33 of file tamil.h.

References close_env().

Member Function Documentation

◆ close_env()

void Xapian::Internal::Snowball::Tamil::close_env ( )
inlineprivate

Definition at line 20 of file tamil.h.

References lose_s(), SN_env::p, Xapian::Internal::Snowball::Tamil::SN_local::z, and zlocal.

Referenced by ~Tamil().

◆ get_description()

std::string Xapian::Internal::Snowball::Tamil::get_description ( ) const
inlineoverridevirtual

Return a string describing this object.

Implements Xapian::StemImplementation.

Definition at line 46 of file tamil.h.

◆ operator()()

std::string Xapian::Internal::Snowball::Tamil::operator() ( const std::string &  word)
inlineoverridevirtual

Stem the specified word.

Implements Xapian::StemImplementation.

Definition at line 37 of file tamil.h.

References SN_env::c, SN_env::l, SN_env::p, replace_s(), SIZE, stem(), Xapian::Internal::Snowball::Tamil::SN_local::z, and zlocal.

◆ stem()

int Xapian::Internal::Snowball::Tamil::stem ( struct SN_env z)
staticprivate

Member Data Documentation

◆ zlocal

SN_local Xapian::Internal::Snowball::Tamil::zlocal = {}
private

Definition at line 18 of file tamil.h.

Referenced by close_env(), operator()(), and Tamil().


The documentation for this class was generated from the following files: