{ "cells": [ { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [], "source": [ "from pythainlp.ancient import aksonhan_to_current" ] }, { "cell_type": "code", "execution_count": 2, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "'จัก'" ] }, "execution_count": 2, "metadata": {}, "output_type": "execute_result" } ], "source": [ "aksonhan_to_current(\"จกก\")" ] }, { "cell_type": "code", "execution_count": 3, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "'บรร'" ] }, "execution_count": 3, "metadata": {}, "output_type": "execute_result" } ], "source": [ "aksonhan_to_current(\"บรร\")" ] }, { "cell_type": "code", "execution_count": 4, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "'ดั่ง'" ] }, "execution_count": 4, "metadata": {}, "output_type": "execute_result" } ], "source": [ "aksonhan_to_current(\"ดง่ง\")" ] }, { "cell_type": "code", "execution_count": 5, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "'นั้น'" ] }, "execution_count": 5, "metadata": {}, "output_type": "execute_result" } ], "source": [ "aksonhan_to_current(\"นน้น\")" ] }, { "cell_type": "code", "execution_count": 6, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "'ขัด'" ] }, "execution_count": 6, "metadata": {}, "output_type": "execute_result" } ], "source": [ "aksonhan_to_current(\"ขดด\")" ] }, { "cell_type": "code", "execution_count": 7, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "'ตรัส'" ] }, "execution_count": 7, "metadata": {}, "output_type": "execute_result" } ], "source": [ "aksonhan_to_current(\"ตรสส\")" ] }, { "cell_type": "code", "execution_count": 8, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "'ขับ'" ] }, "execution_count": 8, "metadata": {}, "output_type": "execute_result" } ], "source": [ "aksonhan_to_current(\"ขบบ\")" ] }, { "cell_type": "code", "execution_count": 9, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "'วัน'" ] }, "execution_count": 9, "metadata": {}, "output_type": "execute_result" } ], "source": [ "aksonhan_to_current(\"วนน\")" ] }, { "cell_type": "code", "execution_count": 10, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "'หลัง'" ] }, "execution_count": 10, "metadata": {}, "output_type": "execute_result" } ], "source": [ "aksonhan_to_current(\"หลงง\")" ] }, { "cell_type": "code", "execution_count": 11, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "'บังคับ'" ] }, "execution_count": 11, "metadata": {}, "output_type": "execute_result" } ], "source": [ "aksonhan_to_current(\"บงงคบบ\")" ] }, { "cell_type": "code", "execution_count": 12, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "'สรรเพชญ'" ] }, "execution_count": 12, "metadata": {}, "output_type": "execute_result" } ], "source": [ "aksonhan_to_current(\"สรรเพชญ\")" ] }, { "cell_type": "code", "execution_count": 13, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "'กก'" ] }, "execution_count": 13, "metadata": {}, "output_type": "execute_result" } ], "source": [ "aksonhan_to_current(\"กก\")" ] }, { "cell_type": "code", "execution_count": 14, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "'ก'" ] }, "execution_count": 14, "metadata": {}, "output_type": "execute_result" } ], "source": [ "aksonhan_to_current(\"ก\")" ] }, { "cell_type": "code", "execution_count": 15, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "'ถนน'" ] }, "execution_count": 15, "metadata": {}, "output_type": "execute_result" } ], "source": [ "aksonhan_to_current(\"ถนน\")" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [] } ], "metadata": { "kernelspec": { "display_name": "Python 3", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.10.6" }, "orig_nbformat": 4 }, "nbformat": 4, "nbformat_minor": 2 }