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

#include <earlyenglish.h>

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

Classes

struct  SN_local
 

Public Member Functions

 Earlyenglish ()
 
 ~Earlyenglish ()
 
std::string operator() (const std::string &word) override
 Stem the specified word. More...
 
bool use_proper_noun_heuristic () const override
 Should QueryParser suppress stemming for capitalised words? 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...
 
- 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 earlyenglish.h.

Constructor & Destructor Documentation

◆ Earlyenglish()

Xapian::Internal::Snowball::Earlyenglish::Earlyenglish ( )
inline

◆ ~Earlyenglish()

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

Definition at line 35 of file earlyenglish.h.

References close_env().

Member Function Documentation

◆ close_env()

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

◆ get_description()

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

Return a string describing this object.

Implements Xapian::StemImplementation.

Definition at line 52 of file earlyenglish.h.

◆ operator()()

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

◆ stem()

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

◆ use_proper_noun_heuristic()

bool Xapian::Internal::Snowball::Earlyenglish::use_proper_noun_heuristic ( ) const
inlineoverridevirtual

Should QueryParser suppress stemming for capitalised words?

See QueryParser::feature_flag value FLAG_NO_PROPER_NOUN_HEURISTIC for details.

The default implementation of this method returns false.

Since
Xapian 2.0.0.

Reimplemented from Xapian::StemImplementation.

Definition at line 48 of file earlyenglish.h.

Member Data Documentation

◆ zlocal

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

Definition at line 20 of file earlyenglish.h.

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


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