mirror of
https://github.com/google/sentencepiece.git
synced 2024-09-11 10:55:42 +03:00
Fix a typo in api.md
This commit is contained in:
parent
03243af616
commit
ffd8e9efb8
@ -45,7 +45,7 @@ Calls `SentencePieceProcessor::Decode` method to detokenize a sequence of pieces
|
||||
|
||||
```C++
|
||||
std::vector<std::string> pieces = { "▁This", "▁is", "▁a", "▁", "te", "st", "." }; // sequence of pieces
|
||||
std::string text
|
||||
std::string text;
|
||||
processor.Decode(pieces, &text);
|
||||
std::cout << text << std::endl;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user