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::Serbian Class Reference

#include <serbian.h>

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

Classes

struct  SN_local
 

Public Member Functions

 Serbian ()
 
 ~Serbian ()
 
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 serbian.h.

Constructor & Destructor Documentation

◆ Serbian()

Xapian::Internal::Snowball::Serbian::Serbian ( )
inline

◆ ~Serbian()

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

Definition at line 34 of file serbian.h.

References close_env().

Member Function Documentation

◆ close_env()

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

Definition at line 21 of file serbian.h.

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

Referenced by ~Serbian().

◆ get_description()

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

Return a string describing this object.

Implements Xapian::StemImplementation.

Definition at line 47 of file serbian.h.

◆ operator()()

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

Stem the specified word.

Implements Xapian::StemImplementation.

Definition at line 38 of file serbian.h.

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

◆ stem()

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

Member Data Documentation

◆ zlocal

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

Definition at line 19 of file serbian.h.

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


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