大分工業高等専門学校紀要

第 54 号(平成 29 年 11 月)

Development of Common Agricultural Vocabulary in Thai

Pipatpol TANAVONGCHINDA1 and Yukinobu KOYAMA2
1 Dept. of Computer Engineering, Kasetsart University
2 Dept. of Information Engineering, National Institute of Technology, Oita College

Diversity of vocabulary is high in the agricultural domain by the people different in a
background such as farmer, distribution processor, researcher, and so forth. The diversity is ahurdle to share and exchange agricultural information. In order to lower this hurdle inThailand, we considered to create the common agricultural vocabulary (CAVOC) in Thai. To
realize this, we created the CAVOC translator. It is a mechanism to translate based on
CAVOC in English and Japanese defined by Japanese research group. As a result, we
confirmed that our system can easily create CAVOC in Thai, and eliminate obvious mistakes.
Key Words : common agricultural vocabulary, CAVOC, Thai, Google Translate

1. INTRODUCTION
The meaning of the vocabulary and theknowledge described by that is sometimes different
because of the difference of implicit information in
the background of knowledge. Diversity ofvocabulary is high in the agricultural domain by thepeople different in a background such as farmer,distribution processor, researcher, and so forth. Thediversity is a hurdle to share and exchange
agricultural information. In order to lower thishurdle, the common agricultural vocabulary(CAVOC)1)2) in English and Japanese were definedby the National Institute of Information (NII) in
Japan and the National Agriculture and Food
Organization (NARO) in Japan. Thailand is anagricultural country, and the necessity of common
vocabulary is considered high. However, it is not inThai yet.
From this background, we considered to make
CAVOC in Thai. To do that, we need a native Thai
speaker in agricultural field. However, unfortunately
we are not specialist for agriculture in Thai. Insteadof building CAVOC in Thai from scratch by nativeThai speaker in agricultural field, we considered tocreate one based on already existing CAVOC in
English and Japanese by machine. This paper
proposes how we can translate CAVOC in Englishand Japanese into Thai quickly and correctly.

2. METHOD
We created a web service which is called“CAVOC translator”3) as shown Fig.1.

Fig.1. CAVOC translator.
According to Google services, we are able to use
Google Translate Application Programming
Interface (API) which can translate 104 languagesof the world mutually as of September 28, 2017.
Google Translate API use neural network machinelearning algorithm for their translating model andmake it precisely. We created a web application totranslate vocabulary. Because this is the easiest way
to add a new word, editing and spelling check via
online platform. For frontend side, we used VueJS
which is a framework for creating a website basedon JavaScript language.
On navigation bar, we put “DOWNLOAD CSV”
and “ADD NEW WORD” button. The“DOWNLOAD CSV” button is a button for
downloading the translate word table in Comma
Separated Values (CSV) format. The “ADD NEW
WORD” button is a button that insert a new word
into database.
Next we show the “Translate” window in Fig. 2. If
you click “TRANSLATE” button in Fig.1, thiswindow will be displayed. The “TRANSLATE”-25-button in Fig.1 has a function to add a translated
word in Thai and verify the corrected spelling andmeaning word. The “G Translate” button in Fig.2 isa button that sending a request to Google Translate
API to get a translated word directly from Japaneseto Thai. If user is satisfied with the translation,
check the “Verify?” check box. This human checkprocess
makes CAVOC meaningful as Thailanguage.

Fig.3. A case example of translate table.

4. CONCLUSION
We created CAVOC translator for creating
CAVOC in Thai easily. Then we translated somerecords of CAVOC into Thai by using the system.
We confirmed that the system can easily create
CAVOC in Thai, and eliminate obvious mistakes. Itis important to verify that CAVOC in Thai can beused to express agricultural process in Thailand.
Fig. 2. If you click “TRANSLATE” button in Fig. 1,
this window will be displayed.

REFERENCES
1）http://www.cavoc.org/.

For backend side, we use Firebase service
because it has a realtime database when we translatea word or add a new word each translator on thewebsite will see a change at the realtime. Databaseservice is a part of Firebase system which is aNoSQL database. For the operation side, we use
CircleCI for an integration testing the frontend sideand building a production website index page thendeploy to the Firebase service automatically.

3. RESULTIn Fig.3, we show some records of translationtable as one of the case example. By using CAVOC
translator, we could create CAVOC in Thai easily.

-26-2) Joo, S., S. Koide, H. Takeda, D. Horyu, A.
Takezaki and T. Yoshida, Agriculture Activity
Ontology : An ontology for core vocabulary ofagriculture activity, The 15th International
Semantic Web Conference(ISWC), 2016.
3) https://cavoc-translator.firebaseapp.com.

(Received September 29, 2017)