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

#include <dutch_porter.h>

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

Classes

struct  SN_local
 

Public Member Functions

 DutchPorter ()
 
 ~DutchPorter ()
 
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 dutch_porter.h.

Constructor & Destructor Documentation

◆ DutchPorter()

Xapian::Internal::Snowball::DutchPorter::DutchPorter ( )
inline

◆ ~DutchPorter()

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

Definition at line 35 of file dutch_porter.h.

References close_env().

Member Function Documentation

◆ close_env()

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

Definition at line 22 of file dutch_porter.h.

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

Referenced by ~DutchPorter().

◆ get_description()

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

Return a string describing this object.

Implements Xapian::StemImplementation.

Definition at line 52 of file dutch_porter.h.

◆ operator()()

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

◆ stem()

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

◆ use_proper_noun_heuristic()

bool Xapian::Internal::Snowball::DutchPorter::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 dutch_porter.h.

Member Data Documentation

◆ zlocal

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

Definition at line 20 of file dutch_porter.h.

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


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