librime: rime::Segmentor Class Reference

| librime 1.2 Rime Input Method Engine, the core library

Public Member Functions | Protected Attributes | List of all members
rime::Segmentor Class Referenceabstract

`#include <segmentor.h>`

Inheritance diagram for rime::Segmentor:
[legend]
Collaboration diagram for rime::Segmentor:
[legend]

## Public Member Functions
| Segmentor (const Ticket &ticket)
virtual | ~Segmentor ()=default
virtual bool | Proceed (Segmentation *segmentation)=0
string | name_space () const

## Protected Attributes
Engine * | engine_
string | name_space_

## Additional Inherited Members
Public Types inherited from rime::Class< Segmentor, const Ticket & >
using | Initializer
Static Public Member Functions inherited from rime::Class< Segmentor, const Ticket & >
static Component * | Require (const string &name)

## Constructor & Destructor Documentation

## ◆ Segmentor()

rime::Segmentor::Segmentor | ( | const Ticket & | ticket | ) |
| inlineexplicit

## ◆ ~Segmentor()

virtual rime::Segmentor::~Segmentor | ( |  | ) |
| virtualdefault

## Member Function Documentation

## ◆ name_space()

string rime::Segmentor::name_space | ( |  | ) | const
| inline

## ◆ Proceed()

virtual bool rime::Segmentor::Proceed | ( | Segmentation * | segmentation | ) |
| pure virtual

Implemented in rime::AbcSegmentor, rime::AffixSegmentor, rime::AsciiSegmentor, rime::FallbackSegmentor, rime::Matcher, and rime::PunctSegmentor.

## Member Data Documentation

## ◆ engine_

Engine* rime::Segmentor::engine_
| protected

## ◆ name_space_

string rime::Segmentor::name_space_
| protected

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

- segmentor.h