-
Notifications
You must be signed in to change notification settings - Fork 285
Closed
Labels
documentationimprove documentation and test casesimprove documentation and test cases
Description
Description
Version: "5.1.1"
from pythainlp.transliterate import romanize
print(romanize("สามารถ สามารถ", "thai2rom"))
Expected output: samat samat
Received output: samatsamat
Expected results
Function romanize
shouldn't remove spaces if source string contains them.
Current results
Function romanize
removes spaces from result string if source string contains them.
Steps to reproduce
Just run code from the description.
PyThaiNLP version
5.1.1
Python version
3.12.7
Operating system and version
Ubuntu 24.10
More info
Host system, docker wasn't used for this case.
Possible solution
No response
Files
No response
bact
Metadata
Metadata
Assignees
Labels
documentationimprove documentation and test casesimprove documentation and test cases