| 1 | #pragma once |
| 2 | |
| 3 | #include <utility> |
| 4 | #include <vector> |
| 5 | |
| 6 | #include "Common.hpp" |
| 7 | |
| 8 | namespace opencc { |
| 9 | |
| 10 | typedef std::vector<std::pair<std::string, std::string>> PluginConfigPairs; |
| 11 | |
| 12 | SegmentationPtr CreatePluginSegmentation(const std::string& type, |
| 13 | const PluginConfigPairs& configPairs); |
| 14 | |
| 15 | } // namespace opencc |