Skip to content

Commit ffd8e9e

Browse files
authored
Fix a typo in api.md
1 parent 03243af commit ffd8e9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Calls `SentencePieceProcessor::Decode` method to detokenize a sequence of pieces
4545

4646
```C++
4747
std::vector<std::string> pieces = { "▁This", "▁is", "▁a", "▁", "te", "st", "." }; // sequence of pieces
48-
std::string text
48+
std::string text;
4949
processor.Decode(pieces, &text);
5050
std::cout << text << std::endl;
5151

0 commit comments

Comments
 (0)