**API** for Tai to English and English to Tai in easy words.
View Demo
·
Report Bug
·
Request Feature
// 20211202233858
// https://tai-eng-dictionaryapi.herokuapp.com/api/v1/api_key=NO8p3FC4qMrTzx1RUjRXNXWrqlLa8DkDjmRgt7s9rDE=/eng/apple
{
"data": [
{
"id": 1687,
"english": "apple",
"shan": "မၢၵ်ႇၵႅမ်ႈၶွင်ႇ",
"Antonym": {
"word_id": 1687,
"english": "",
"shan": ""
},
"Definition": {
"word_id": 1687,
"english": "a round fruit with firm white flesh and a green, red or yellow skin ",
"shan": "မၢၵ်ႇၵႅမ်ႈၶွင်ႇ ၊ မၢၵ်ႇၶႃႈၶုင်ႉ ။",
"pos": "Noun",
"uncount": "( prefix )"
}
}
]
}I started this project on my personal purpose, I used the Tai dictionary a lot, to learn and write in Shan words, previously I use taidictionary.com but for some reason, they are out of service now so I start this project. I also develop a website using this api [check it out](https://taidictionary.noernova.com).
This is a very easy Dictionary with a small database ,thanks to https://github.com/saitawngpha for dictionary database, it's may not cover all words and some of the words may not quite well be translated. if you have another big or good database its could be very please, provide your own API, folk this project or direct them to me, anyway might be helpful for everyone.
- Project source Chack https://github.com/haohaaorg/tai-eng-dictionary for web project build with Nextjs.
- Website https://taidictionary.noernova.com
This project currently does not include the Database file due to a third party license.
Check out Golang website first in case you are not familiar with Golang yet.
- Clone this project
go get https://github.com/haohaaorg/tai-eng-dictionaryAPI.git
-
cd /tai-eng-dictionaryAPI # API Endpoint http://127.0.0.1:8080/api/v1/api_key=${API_KEY}/eng/:text # API Endpoint http://127.0.0.1:8080/api/v1/api_key=${API_KEY}/shn/:text
.
├── _test
│ ├── database
│ │ └── tai-eng.db
│ └── endpoints_test.go
├── controllers
│ └── translate.go
├── database
│ └── tai-eng.db
├── favicon.ico
├── go.mod
├── go.sum
├── main.go
└── models
├── setup.go
└── word.goThis dictionary can translate in Tai to English and English to Shan
# API Endpoint http://127.0.0.1:8080/api/v1/api_key=${API_KEY}/eng/:text
# API Endpoint http://127.0.0.1:8080/api/v1/api_key=${API_KEY}/shn/:textSee the open issues for a full list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Distributed under the GNU License.
- Database by: Sai TawngPha https://github.com/saitawngpha
NorHsangPha - noernova.com - haohaa.com