| 89 | } |
| 90 | |
| 91 | Example get_next_example() override { |
| 92 | Example example; |
| 93 | |
| 94 | std::string line; |
| 95 | if (ctranslate2::getline(_stream, line)) |
| 96 | example.streams.emplace_back(_tokenizer(line)); |
| 97 | |
| 98 | return example; |
| 99 | } |
| 100 | |
| 101 | private: |
| 102 | std::istream& _stream; |
nothing calls this directly
no outgoing calls
no test coverage detected