LIMA
Libre Multilingual Analyzer — C++ API
Loading...
Searching...
No Matches
deeplima::lemmatization::edit_rule_t Struct Reference

#include <deeplima/lemmatization/lemm_rules.h>

Public Member Functions

bool operator== (const edit_rule_t &other) const
bool operator< (const edit_rule_t &other) const
 Simplest first: fewer characters stripped, then fewer added.

Public Attributes

bool m_lower = false
uint32_t m_strip = 0
std::u32string m_add

Detailed Description

Definition at line 104 of file lemm_rules.h.

Member Function Documentation

◆ operator<()

bool deeplima::lemmatization::edit_rule_t::operator< ( const edit_rule_t & other) const
inline

Simplest first: fewer characters stripped, then fewer added.

Definition at line 116 of file lemm_rules.h.

◆ operator==()

bool deeplima::lemmatization::edit_rule_t::operator== ( const edit_rule_t & other) const
inline

Definition at line 110 of file lemm_rules.h.

Member Data Documentation

◆ m_add

std::u32string deeplima::lemmatization::edit_rule_t::m_add

Definition at line 108 of file lemm_rules.h.

◆ m_lower

bool deeplima::lemmatization::edit_rule_t::m_lower = false

Definition at line 106 of file lemm_rules.h.

◆ m_strip

uint32_t deeplima::lemmatization::edit_rule_t::m_strip = 0

Definition at line 107 of file lemm_rules.h.


The documentation for this struct was generated from the following file: