Skip to content

Commit

Permalink
Fix a typo in api.md
Browse files Browse the repository at this point in the history
  • Loading branch information
xunkai55 authored Feb 12, 2024
1 parent 03243af commit ffd8e9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit ffd8e9e

Please sign in to comment.