21#include "Converter.hpp"
45 ConversionChainPtr conversionChain)
46 : segmentation(segmentation), conversionChain(conversionChain) {}
48 std::string Convert(std::string_view text)
const override;
55 return conversionChain;
59 const SegmentationPtr segmentation;
60 const ConversionChainPtr conversionChain;
Abstract base for full-text converters.
Definition Converter.hpp:44
SegmentationPtr GetSegmentation() const override
Returns the segmentation used by this converter, or nullptr if the converter has no single segmentati...
Definition SingleStageConverter.hpp:52
SingleStageConverter(SegmentationPtr segmentation, ConversionChainPtr conversionChain)
Definition SingleStageConverter.hpp:44
ConversionChainPtr GetConversionChain() const override
Returns the conversion chain used by this converter, or nullptr if the converter has no single chain ...
Definition SingleStageConverter.hpp:54
Full inspection result returned by Converter::Inspect().
Definition ConversionInspection.hpp:52