FEA-Bench / testbed /PyThaiNLP__pythainlp /tests /compact /testc_transliterate.py
hc99's picture
Add files using upload-large-folder tool
e4b9a7b verified
raw
history blame
365 Bytes
# -*- coding: utf-8 -*-
# SPDX-FileCopyrightText: 2016-2025 PyThaiNLP Project
# SPDX-FileType: SOURCE
# SPDX-License-Identifier: Apache-2.0
import unittest
from pythainlp.transliterate import transliterate
class TransliterateICUTestCase(unittest.TestCase):
def test_transliterate(self):
self.assertEqual(transliterate("แมว", "pyicu"), "mæw")