| 209 | } |
| 210 | |
| 211 | void TBpeDictionary::Save(IOutputStream* stream) const { |
| 212 | for (const auto& unit : BpeUnits) { |
| 213 | *stream << unit.Left << '\t' << unit.Right << '\t' << unit.Count << '\t' << GetBpeToken(unit.Left, unit.Right) << '\n'; |
| 214 | } |
| 215 | } |
| 216 | |
| 217 | void TBpeDictionary::Load(IInputStream* stream) { |
| 218 | TString line; |
no test coverage detected