Xteink-X4-crosspoint-reader/lib/Epub/Epub/hyphenation/FrenchHyphenator.h
Arthur Tazhitdinov 163fae57ec hypher tries
2026-01-09 22:38:27 +05:00

15 lines
362 B
C++

#pragma once
#include "LanguageHyphenator.h"
// Implements Liang hyphenation rules for French (Latin script).
class FrenchHyphenator final : public LanguageHyphenator {
public:
static const FrenchHyphenator& instance();
std::vector<size_t> breakIndexes(const std::vector<CodepointInfo>& cps) const override;
private:
FrenchHyphenator() = default;
};