0% found this document useful (0 votes)
484 views281 pages

Filipino Dialect Translator Study

This document outlines the table of contents for a thesis on developing an IoT device that can translate between four major Filipino dialects: Tagalog, Cebuano, Hiligaynon, and Ilokano. Chapter 1 introduces the background, objectives, and significance of the study. Chapter 2 reviews related literature and frameworks. Chapter 3 describes the project design, materials, and testing procedures. Chapter 4 presents results, testing, and data interpretation. Chapter 5 provides a summary, conclusions, and recommendations. The appendices include references, source code, materials list, and researcher bios.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
484 views281 pages

Filipino Dialect Translator Study

This document outlines the table of contents for a thesis on developing an IoT device that can translate between four major Filipino dialects: Tagalog, Cebuano, Hiligaynon, and Ilokano. Chapter 1 introduces the background, objectives, and significance of the study. Chapter 2 reviews related literature and frameworks. Chapter 3 describes the project design, materials, and testing procedures. Chapter 4 presents results, testing, and data interpretation. Chapter 5 provides a summary, conclusions, and recommendations. The appendices include references, source code, materials list, and researcher bios.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Table of Contents

Approval Sheet................................................................................................................................. I
Dedication ....................................................................................................................................... II
Acknowledgement ........................................................................................................................ III
Abstract ......................................................................................................................................... IV
Chapter I.......................................................................................................................................... 1
The Problem and Its Background ................................................................................................... 1
1.1. Introduction .......................................................................................................................... 1
1.2. Background of the Study ..................................................................................................... 2
1.3. Objectives of the Study ........................................................................................................ 4
1.3.1. General .............................................................................................................................. 4
1.3.2. Specific ............................................................................................................................. 5
1.4. Significance of the Study ..................................................................................................... 5
1.5. Scope and Limitations of the Study ..................................................................................... 6
1.5.6. Scopes ............................................................................................................................... 6
1.5.7. Limitations ........................................................................................................................ 6
1.6. Definition of Terms.............................................................................................................. 7
1.7. Acronyms ............................................................................................................................. 8
Chapter II ........................................................................................................................................ 9
Review of Related Literature .......................................................................................................... 9
2.1. Overview .............................................................................................................................. 9
2.2. Topical Presentation........................................................................................................... 10
2.3. Synthesis ............................................................................................................................ 17
2.4 Framework of the Study...................................................................................................... 21
2.4.1. Input ................................................................................................................................ 21
2.4.2. Process ............................................................................................................................ 22
2.4.3. Output ............................................................................................................................. 23
2.4.4. Feedback ......................................................................................................................... 23
Chapter III ..................................................................................................................................... 24
Methods of the Study .................................................................................................................... 24
3.1. Project Design .................................................................................................................... 24
3.1.1. Specifications and System Requirements ....................................................................... 24
3.1.2. Listed below the materials: ............................................................................................. 25
3.1.3. Proposed Model .............................................................................................................. 25
3.2. Fabrication ......................................................................................................................... 26
3.3. Project Development .......................................................................................................... 26
3.4. Operation and Testing Procedure....................................................................................... 29
3.4.1. Operation......................................................................................................................... 29
3.4.2. Testing............................................................................................................................. 30
3.4.3. Evaluation ....................................................................................................................... 30
3.4.4. Testing of Text Translator System .................................................................................. 34
3.4.5. Testing of the over-all Device......................................................................................... 34
Chapter IV ..................................................................................................................................... 35
Results and Discussion ................................................................................................................. 35
4.1. A Word Translator for Translating Four Common Filipino Dialects in the Philippines:
Tagalog, Cebuano, Hiligaynon, Ilokano ................................................................................... 35
4.2. Testing and Evaluation ...................................................................................................... 41
4.2.1. Testing of Text Translator System .................................................................................. 41
4.2.2. Testing of the over-all Device......................................................................................... 42
4.2.3. Interpretation of acquired data ........................................................................................ 43
Chapter V ...................................................................................................................................... 51
Summary, Conclusions, and Recommendations ........................................................................... 51
Summary of the Findings .......................................................................................................... 51
Conclusions ............................................................................................................................... 52
Recommendations ..................................................................................................................... 53
APPENDICES .............................................................................................................................. 54
APPENDIX A ............................................................................................................................... 55
References ..................................................................................................................................... 55
References ..................................................................................................................................... 56
APPENDIX B ............................................................................................................................... 59
Source code ................................................................................................................................... 59
Source Code .............................................................................................................................. 60
APPENDIX C ............................................................................................................................. 276
List of Materials .......................................................................................................................... 276
Costing .................................................................................................................................... 277
APPENDIX D ............................................................................................................................. 278
Curriculum Vitae of the Researchers .......................................................................................... 278

List of Table and Figures

Table 1.2 Top 20 Language or Dialect Generally Spoken in the Household, Philippines, 2000.

Source: National Statistics Office (now Philippine Statistics Authority) ....................................... 3

Figure 2.4. Input, Objectives and Output Model .......................................................................... 21

Figure 3.1.2.1. Model Diagram of IoT Filipino Dialect Translator Device.................................. 25

Figure 3.2.3.1. Isometric view of the prototype ............................................................................ 26

Figure 3.3.1. Flowchart of the prototype ...................................................................................... 28

Table 3.3.3 Table Survey Questionnaire....................................................................................... 33

Table 3.4.4 Table for Testing of Text Translator System ............................................................. 34

Table 3.4.5. Testing of the overall device ..................................................................................... 34

Figure 4.1.1. Top View ................................................................................................................. 36

Figure 4.1.2. Inside of the Prototype............................................................................................. 36

Figure 4.1.3. Application Main Menu User Interface ................................................................... 37

Figure 4.1.4. About Page .............................................................................................................. 37

Figure 4.1.5. About the Developer Page ....................................................................................... 38

Figure 4.1.6. Type Page ................................................................................................................ 38

Figure 4.1.7. 10000 mAh Power Bank Schematic Diagram ......................................................... 39

Figure 4.1.8. Raspberry Pi Schematic Diagram ............................................................................ 40

Figure 4.1.9. LCD Schematic Diagram ........................................................................................ 40

Table 4.2.1. Table for Testing of Text Translator System ............................................................ 41


Table 4.2.2. Table for Testing of the over-all device.................................................................... 42

Table 4.2.3 Survey Results Table ................................................................................................. 50


Approval Sheet

In partial fulfillment of the requirement for the degree of BACHELOR OF SCIENCE IN

COMPUTER ENGINEERING, this Research Study “A WORD TRANSLATOR DEVICE FOR

TRANSLATING FOUR COMMON FILIPINO DIALECTS IN THE PHILIPPINES:

TAGALOG, CEBUANO, HILIGAYNON AND ILOKANO” has been prepared and submitted by

THON EMMANUEL T. BLANCO, ARNULFO H. CONCHA III, DARRIUS S. DELA PEÑA,

REDNEY JOHN M. EVANGELISTA, and JHULIUZ HERNES B. MAG-ISA who hereby

recommended for Oral Examination.

___________________________

ENGR. MARK P. MELEGRITO

Research Adviser

_________________________________ _______________________

ENGR. CHRISTOPHER F. CUNANAN ENGR. ORLANDO M. LINGO

________________________

MR. ERLITO M. ALBINA

Accepted and approved in partial fulfillment of the requirements for the degree of

BACHELOR OF SCIENCE IN COMPUTER ENGINEERING.

______________ _______________________

Date DR. SAMUEL S. CHUA

Dean, College of Technology

I
Dedication

In every challenging work, requires team work as well as guidance and support of those

who were very close to our hearts.

Our humble effort we dedicate to our sweet and loving parents who believed us that we

can accomplish this research along with all hard working and respected professors.

II
Acknowledgement

First, we would like to thank God who give us a gift of knowledge, wisdom, patience and

perseverance that we used all throughout the projects timeline.

We would like to thank our loving parent who never stop believing and trusting that we

can accomplish this research.

We would like to express our sincerest gratitude to our research adviser Engr. Mark P.

Melegrito for his efforts in guiding and supporting us throughout this research timeline. We thank

him for his advises we can do, not only in our research, but also in everyday life.

And lastly, we would like to thank our friends and fellow student.

III
Abstract

Language barrier is present in our country because of the different dialects all over the

country. In order to fill the gap caused by language barrier, people learn the dialect or bring a

translator with them that can translate instantly. But, what if an individual does not know how to

use their dialect or do not know somebody that can translate it to him immediately? Although it’s

not an alarming problem, a solution to it is the aim of this study.

A Word Translator Device for Translating Four Common Filipino Dialects in The Philippines:

Tagalog, Cebuano, Hiligaynon And Ilokano is a project capable of translating the four most common dialect

presents in our country. The project has a system that uses word inputs.

The project aims to lessen the language barrier present in our country, making people more

unified. It enables individuals to converse with the natives or locals with ease

IV
I
Chapter I

The Problem and Its Background

1.1. Introduction

According to (Andrews, 2009), communication, by definition, is the trading of

ideas. It’s the effective conveying of ideas and feelings through connection between

people. Understandable message or information received by a person or people is the basis

of good communication.

Language is a medium that is commonly used to communicate and to chat to other

people and using this, the individuals are freely to express their ideas and emotions. But

some of the countries has a lot of dialects that leads to language barrier.

In the Philippines, there are more than 170 dialects that are being used. Most of the

dialects that are being used are: Tagalog, Cebuano, Hiligaynon and Ilokano as reported by

(Sabornido, 2015).

Filipinos are having a hard time to understand some of their “kababayan” that are

from different cities and places in the Philippines. To understand them, they should know

their dialect, or they bring a translator with them that can translate instantly. But what if

the individual does not know how to use their dialect or does not know somebody to can

translate it to him immediately?

Under these circumstances, the researchers want to lessen the language barrier in

the Philippines by developing a device that can translate the common dialects of the

Philippines namely, Tagalog, Cebuano, Hiligaynon, Ilokano.

1
1.2. Background of the Study

Language holds the important key in any kind of communication, even people with

speech deficiency can communicate using sign language and brail. In situations where

people do not comprehend the language of each parties, difficulties in communication takes

place. This is the most generic barriers in communication which causes misunderstanding

and misinterpretation between people as stated in (Mishra, 2015).

According to (Jose Ramon G. Albert, 2000), In the year 2000, the National

Statistics Office (now Philippine Statistics Authority) conducted a census for population

and housing in which one of their categories is the language spoken in household. More or

less, there are 150 languages and dialects are used in the country. By far, the mostly spread

or used language in the country is Tagalog, spoken by 5.4 million households. second is

Cebuano having 3.6 million households, 1.4 million households are using Ilocano, and 1.1

million households uses Hiligaynon (Table 1.2).

Number of Percent
Language / Dialect
Households Distribution

1 Tagalog 5,368,187 35.1

2 Cebuano/Bisaya/Binisaya/Boholano 3,627,473 23.7

3 Ilocano 1,327,211 8.7

4 Hiligaynon/Ilonggo 1,065,767 7.0

5 Bikol/Bicol 705,147 4.6

6 Waray 419,899 2.7

7 Kapampangan 413,552 1.6

2
8 Pangasinan/Panggalato 237,181 1.3

9 Maguindanao 165,718 1.1

10 Tausug 151,277 1.0

11 Maranao 150,151 1.0

12 Karay-a/kiniray-a 193,316 0.7

13 Kankanai/Kankaney/Kankanaey 112,831 0.6

14 Akeanon/Aklanon 93,205 0.6

15 Capizeño 92,879 0.6

16 Surigaonon 90,597 0.6

17 Masbateño/Masbatenon 87,488 0.6

18 Zamboangeño-Chavacano 69,041 0.5

19 Ibanag 64,425 0.4

20 Manobo/Ata-Manobo 48,215 0.3

Total Households Enumerated 100%

Table 1.2 Top 20 Language or Dialect Generally Spoken in the Household,


Philippines, 2000. Source: National Statistics Office (now Philippine
Statistics Authority)

Having a hard time to communicate with other Filipinos who have been using their

local dialects is causing a misunderstanding and they cannot express their ideas to them

because of this barrier. Also, some of the locals are not familiar in our most used dialect

which is Tagalog.

3
The pioneer in machine – aided translation was the largest computer company in

the world, IBM (International Business Machine). According to the article (Pioneering

Machine-Aided Translation, n.d.), Thomas Watson Sr., the founder of IBM, when he was

working at the International Chamber of commerce, saw the difficulties caused by language

barriers. Under his supervision, the first translation system was invented in 1927, installed

and first used in 1931.

Machine Still fall flat when they try to translate languages or dialects. The latest

programs, for example, provide intelligible results. Part of the reason is that not only do

many words I every language or dialect have more meaning, phrase can have both literal

and idiomatic meanings, that making translations by non – native speakers a delicate

exercise in avoiding embarrassment and worse, confusion.

Machine still find it difficult to translate languages or dialects for a reason each

word, phrase, idiomatic expression may have different meaning at all.

Though it’s not an alarming problem, it leads the researchers to come up with the

project that aims to lessen the difficulties of language barrier in our country. A device that

translates word in input by typing the word or words.

1.3. Objectives of the Study

1.3.1. General

To develop a Word Translator Device for Translating Four Common Filipino

Dialects in the Philippines: Tagalog, Cebuano, Hiligaynon and Ilokano that can translate

instantly using word inputs.

4
1.3.2. Specific

1. Design the word translator device capable of converting a dialect via word input.

2. Fabricate the word translator device.

3. Program the translator system in Universal Windows Platform using Visual Studio

as compiler and C# and XAML as the programming language.

4. Test and evaluate the functionalities of the device whether the system runs

according to its requirements.

1.4. Significance of the Study

This study aims to design a Word Translator Device for Translating Four Common

Filipino Dialects in the Philippines: Tagalog, Cebuano, Hiligaynon and Ilokano that

determines the translated word instantly, thus benefit the following:

Nation: To help the Filipino people to communicate to each other despite of different

dialects. Using this device, it may lessen the language barrier here in the Philippines.

Educators: It may help the educators that are teaching language subjects in remote areas

and provinces to expand the knowledge of their students in Filipino Dialects.

Users: This will serve to the users as a tool to easily understand the four common dialects

in the Philippines without asking somebody or searching it in the internet. The users will

get result instantly by using typed word. The users also can choose what dialect they want.

It may also help to communicate to the ethnic tribes of the Philippines that are using these

common dialects. This can be a channel to teach some locals to speak in Filipino and

English.

5
Academes: this will serve as contribution for higher education institution especially in

research courses.

Future Researchers and Developers: this study will provide future researchers on

developing a Word Translator Device for Translating Four Common Filipino Dialects in

the Philippines: Tagalog, Cebuano, Hiligaynon and Ilokano which they can further improve

and develop in the future.

1.5. Scope and Limitations of the Study

1.5.6. Scopes

• The device can translate word inputs only.

• The device can output the translation via word display.

• The device can translate the four common Filipino dialect: Tagalog, Cebuano,

Hiligaynon, Ilocano

1.5.7. Limitations

• The device cannot translate language or dialect other than four common Filipino

dialects.

• The device does not have sound output.

• Some of the words may not be translated accurately.

• The device did not consider some of the aspects of linguistics.

• The device cannot translate long sentences.

• The device cannot be used by two users at once.

• The words that the device can translate is limited.

• The device doesn’t consider special character

6
1.6. Definition of Terms

C#. The programming language used for the functions of the system.

Census. the official count or survey of population.

Dialect. The variety of a talked language exceptional to a locale, group, social gathering

or word related gathering.

Extensible Application Markup Language. The programming language used for the

User Interface

Language Barrier. the problem that the researchers wanted to find for a solution.

LCD. the technology that the researcher going to use in order to display the projects user

interface.

Neural Machine Learning. an approach that the researchers going to use for the

translation system and over-all function of the project.

Raspberry Pi 3. A microcomputer that will act as the heart and brain of the project.

Translation. The main function of the project.

Universal Windows Platform. The new way for Microsoft developer to build their

Windows apps, this used by the researcher in order to integrate the system in the device.

Visual Studio. It is an environment which the researchers used to code the system and its

user interface.

Wireless. the term used by the researcher in order to make the project mobile and offline.

7
1.7. Acronyms

• LCD – Liquid Crystal Display

• CPH - Census of Population and Housing

• IBM - International Business Machine

• ISO – International Organization for Standardization

• SQA – Software Quality Assurance

• SQC – Software Quality Control

• XAML – Extensible Application Markup Language

8
Chapter II

Review of Related Literature

This chapter discusses the review of related literature and studies in which the

researchers used for the concept of the study. Different bases, whether multimedia or from

the internet, were meticulously studied for the accusation of the general concepts for this

project.

2.1. Overview

Language is a channel to express your thoughts and emotions. To express

persons’ thoughts, they must speak using their local dialect. Language is very important to

the citizen of a country. In the Philippines, there are more than 170 dialects that are being

used.

Since, the Philippines has a lot of dialects to know and to understand by each

Filipino. Users always used software application translator to understand different

languages. While others seek help to someone that understand the dialect and translate or

interpret it to them for easier comprehending of the dialect. According to Ms. Janet Bailey,

it will take years to be fluent in one language.

With these, the group will develop a device that can translate a dialect into your

chosen dialect. The device uses word inputs for translation.

9
2.2. Topical Presentation

The following selection is the discussion of prior studies and documents that used

technology in the augmentation and innovation in relation with translating.

Tools and ideas for translating languages and dialects are develop thru researchs.

For example, the study by Mr. Nogami, Mr. Miike, Mr. Takeda, Mr. Amano and Mr.

Aoyama (Japan Patent No. US4962452A, 1986), They have developed a machine system

that can analyze a sentence that has an inputted comment from a first language

automatically and correctly with a help of a dictionary. The dictionary is comprising of two

dictionaries, the first and the second dictionary. The first dictionary obtains and analyze

the inputted comment then second dictionary analyzes some parts of the sentence. In order

to acquire the analysis of the whole sentence, an evaluation of the analysis on both the first

and second dictionary are compiled. The combined analysis of the sentences generates the

translation of the second language.

Continues studies on language translator leads to more progress and innovations,

for example, the study work of Mr. Chin and his colleagues (United States of America

Patent No. US20010029455A1, 2000). This is a method for electronically translating text

provides an electronic language translator. Source language text is received as an input to

the electronic language translator. The source language text is translated at the electronic

language translator at the time of submission into one or more target language texts. A user

is then provided with an option of viewing one or more of the target language texts with or

without the source language texts.

His paper claims that he had develop a method for translating text presents an

electronic language translator. The translator receives first language or source text as an

10
input. Then the translator translates it after submitting. Viewing, either one or more,

expected language text, whether with or without, the source language text are the options

provided for the user.

In addition to that, the study of Mr. Furuta (United States of America Patent No.

US20030009320A1, 2001) the automatic language translation system is available for

translating original language text obtained from a server via the Internet. This system can

be configured more easily than conventional systems. An automatic language translation

system translates original language text information that a user has obtained from a server

through a user terminal. The translation is graded by the user When the user gives the

translation a low grade, the translation mechanism has a translator revise it, and the

revisions are registered in a translation dictionary. Thus, the registered revisions can be

reflected in the next translations.

According to (United States of America Patent No. US7319949B2, 2003), A

translator proficient with text inputs from other translators. The translator uses text inputs

from either a user or other. The translation process covers in three parts. The first machine

translator translates the inputted text to a second language text input. Both the first and

second text inputs are analyzed and move to an architecture (training). Then a transfer

mapping and a bilingual dictionary is created. The second machine is then uses these

components when translating other inputs.

As stated in (United States of America Patent No. US6917920B1, 2005), “A

translation device which has both advantages of a table look-up translation device and

advantages of a machine translation device by leading the user's utterance through a

sentence template suitable for the user's intent of speech is realized. Since the translation

11
device searches for sentence templates suitable for the user's intent of speech with an orally

inputted keyword and displays retrieved sentences, the user's utterance can be lead. In

addition, the user is free from a troublesome manipulation for replacing a word since an

expression uttered by the user is inserted into a replaceable portion (slot) within the

sentence template, and the translation device translates a resulting sentence with the

replaced expression embedded in the slot”.

According in (United States of America Patent No. US20050240406A1, 2005), A

computing device having a display screen and a speech recognition module, and related

method of operation. Received audio input is processed with the speech recognition module

to convert the received audio input to text. At least a portion of the converted audio input

is displayed as text on the display screen, including a first segment having a first format

and a second segment having a second format. The first segment text is indicative of more

recently received audio input as compared to the second segment. The first format is

visually different from the second format. With this method, the user can readily

distinguish the most recently spoken words when viewing the display screen.

According to (United States of America Patent No. US20090048820A1, 2007), A

method, information processing system, and a wireless device which translate text captured

from an image. One image at least, is received image from a wireless device. A location

where the image was captured by the wireless device is determined. A set of text characters

is identified within the image. A language associated with the set of text characters is

determined based on at least the location that has been determined. The set of text

characters is translated into a language that is different than language that has been

determined.

12
The (United States of America Patent No. US20110307241A1, 2008), Claims that

it developed a speech translation system and methods for cross-lingual communication in

which enables the user to enhance and alter contents and usage of the system and cancel or

reset the translation process. The system has a speech recognition module, a machine

translation module, a correction module and additional module for storage of favorites,

altering the mode of language, identifying language automatically and some relevant

modules. Process starts when the speech recognition module obtain utterance from the user.

The machine translation module provides an interface that allow the user to communicate

with it. The corrections module filters the obtained utterance, it has an abort action unit

that terminates translation and removes hypotheses.

(United States of America Patent No. US20030208352A1, 2008), Claims that a

computer system with suitable set of instructions that serves as a translator to be used in a

structured interview where, the first language is from the interviewer and the second

language is from the interviewee, which lessen or disregard the use of human translator

during the said process.

As stated in (United States of America Patent No. US20100223047A1, 2009), A

method of translating a first language to a target second language that involves the

following processes: receiving of raw data, identifying and selecting target text in relation

with the received data, and outputting the selected target text, all of these are computer

implemented

As stated in (United States of America Patent No. US20120035907A1, 2010), a

translation method done in a server that uses received audio in the first language from a

13
mobile device, and outputs the audio of a second language. It also indicates location

changes and in response to the indication, an audio data is sent.

In the year 2011 (United States of America Patent No. US20130030789A1, 2011)

The universal language translator is developed. It can translate either a word or a phrase

spoken by a source. The translator includes some features such as noise filter that lessen

the present noise and ensure the accuracy when there are many language present, a voice

synthesizer and a dialect detector the selects target dialects automatically.

Then another multilingual machine translator called Google Translate developed

by Google, that allow the users to translate inputted text to a target language or text. An

application that is built in Android devices and a web application. Google Translate also is

using Vision API for capturing images that containing foreign words and it will translate

to the chosen language. Language API for processing the translation system. Speech API

for the voice recognition system. Google Translate supports over 100 languages as of May

2013 according to (Google, 2017).

According to (Morrison, 2017), Ili is a translator device that can translate in

Japanese, Chinese and Spanish. It is a one-way communication device. Ili is a Wi-Fi free

device, it does not need Wi-Fi to translate the language that the user said.

As stated in (Prigg, 2017) The first smart earpiece that can translate two languages

called the Pilot Translator. The Pilot Translator by using its translating technology, can

allow two different language speakers understand one another. According to Waverly Labs.

It can support five languages: English, French, Italian, Portuguese and Spanish. The two

14
smart-earpiece are connected to two smart phones that have a mobile application for

speaking purpose using Bluetooth. This language translator is Wi-Fi needed.

According to (Linder, 2017), The Travis translating device has two sets of

languages, if it has SIM or Wi-Fi Connection, it can support eighty languages. If its offline,

there are only twenty languages. The system uses multiple (and unspecified) translation

engines, and it’s supposed to be able to automatically pick the best one for the language

pairing you’re using. Travis has a built-in speaker but also supports wired and wireless

headsets, so you can use it in public or private settings, or in situations where not everyone

needs to hear the translation. Features include a 240 x 240-pixel display, a touch surface

for controls, and a battery that should last for up to 12 hours of offline use, 6 hours of online

use, or 7 days in standby.

As stated in (Microsoft, 2017) , Microsoft Translator is an application that can

translate the conversation between two or more users. The application let the users to

choose if they want to type on keyboard or press the spacebar to capture their spoken words.

This is a cloud-based application that supports more than 60 languages.

An apparatus and methods for translating provided spoken language. It uses speech

input for data acquisition, can be words, sentences and phrases. Then rendered synthesized

output.

(United States of America Patent No. US6356865B1, 1999) An apparatus and

methods for translating provided spoken language. It uses speech input for data acquisition,

can be words, sentences and phrases. Then rendered synthesized output.

15
(Buhat, Matitio, & Ornedo, 2014), Using Android Philippine Dialect Translator is

an application that can translate thousands of word and phrase that are commonly used in

different dialects here in the Philippines. It provides images and audio pronunciation. The

mobile application can translate into Cebuano, Ilokano, Ilonggo, Kapampangan,

Pangasinense, Tagalog, Waray and English. It can be downloaded in google play store.

Addition to these topics is the International Standard regarding software quality,

where the proposed project needs to be evaluated according to it.

According to (Fleming, n.d.), “ISO 9126 is an international standard for the

evaluation of software. The standard is divided into four parts which addresses,

respectively, the following subjects: quality model; external metrics; internal metrics; and

quality in use metrics. ISO 9126 Part one, referred to as ISO 9126-1 is an extension of

previous work done by McCall (1977), Boehm (1978), FURPS and others in defining a set

of software quality characteristics. ISO9126-1 represents the latest (and ongoing) research

into characterizing software for the purposes of software quality control, software quality

assurance and software process improvement (SPI). This article defines the characteristics

identified by ISO 9126-1. The other parts of ISO 9126, concerning metrics or

measurements for these characteristics, are essential for SQC, SQA and SPI but the main

concern of this article is the definition of the basic ISO 9126 Quality Model.”.

16
2.3. Synthesis

Table 2.3.1. Comparison Table for the Related Stu dies

17
These studies are also relevant to the project of the researchers. The Google

Translate is an application made by Google. A free multilingual translation service that

translates text from one language into another. This is a free software application that can

be downloaded in different types devices. It is also a web application. Google Translate

supports over 100 languages as of May 2013.

In the Philippines, there are students that developed an Android Application that

can translate Filipino Dialects and it supports 8 dialects in the Philippines. It is a Wi-Fi free

application, but it has a predictive input.

18
Table 2.3.2. Additional Comparison Table for the Related Studies

19
But before the Google Translate developed, there was a study by Mr. Dlace that

can translate multiple languages. The Universal Language Translator automatically

translates a spoken word or phrase between two speakers.

As the concept grows, the technology also risen up. A group of innovators

developed a device that can translates 20-80 languages. 80 languages when it has a sim and

20 when it is offline. But it doesn’t support Filipino language or any Filipino dialect. It is

a handy device that can translate languages using a voice recognition and will generate a

computer-generated voice system.

As the same concept from the previous study, it innovates the way of

communication by means of Wireless Fidelity and a wearable earpiece device. Weaverly

labs developed an application that can translate five languages. It is a two-way

communication design powered by two smart earphones that have a mobile application for

speaking purposes using Bluetooth.

Since the world needs a portable device that is hassle free, Mr. Yoshida and Mr.

Yamazaki design a device that can translate languages without a support of internet. The

Ili translator device is a Wi-Fi free dive that can translate 4 languages. It is a one-way

communication device.

20
2.4 Framework of the Study

Input Process Output

• Search for related • Design the word • Word Translator


studies and translator device Device for
literature. • Fabricate the word Translating Four
• Materials translator device. Common Filipino
• C# Programming • Program the Dialects in the
Language translator system in Philippines:
• Raspberry Pi 3 Universal Windows Tagalog, Cebuano,
Windows IoT Core Platform using Hiligaynon and
System program Visual Studio as Ilokano
• Word Translator compiler and C#
Program and XAML as the
programming
language.
• Test and evaluate
the functionalities of
the device

Feedback

Figure 2.4. Input, Objectives and Output Model

2.4.1. Input

The researchers search related studies and existing studies about the project. The

group also search the materials that will be needed to fabricate the prototype. Searching

components that will be used in the prototype. C# programming language that will be used

to develop the system in Raspberry Pi 3 and the OS running is Windows IoT Core. Neural

Machine Translation to process the translation system that has Text Translator System.

21
2.4.2. Process

The basis of the process is the objectives set by the group for the development of

the project. The process the first part involves the designing of the project, wherein each

components, models and sketch is studied thoroughly by the group. Second is the

fabrication of the project, the implementation of all the specified dimensions set by the

group for the fabrication of the project and the prototype’s output that the group foresaw is

the concern of this part.

The third part is the crucial part, the development of the program, the text and voice

translator will be programmed by using Visual studio as compiler and C# as the

programming language. Since the Raspberry PI 3 is a minicomputer that needs an operating

system, the group will be using Windows IoT core operating system.

The fourth part is the testing and evaluation of the functionality of the project. The

testing that the group will conduct is testing each systems and components for several

times. After each systems and components tested, the systems and components will

combine to test it several times to assure that the prototype is working well.

The evaluation will be based from the objectives of the study and from the testing

that will be done, the group will check the table of testing if the objectives of the project

has been satisfied, if not, the group will make the necessary revisions on the program to

satisfy the objectives.

22
2.4.3. Output

The output of this project is the development of the Word Translator Device for

Translating Four Common Filipino Dialects in the Philippines: Tagalog, Cebuano,

Hiligaynon and Ilokano.

2.4.4. Feedback

Feedback, by definition, is the modification or control of a process or system by its

result or effects. Meaning, in order to finish the project successfully, using feedback the

group will know whether the project is in good shape or not. If any faulty is determined,

the group will have to check whether the problem is in the process or at the input. After

finding the cause, the group will troubleshoot or fix the problem with ease. Feedback

doesn’t only used for problem determination, it can be used for revision and innovation

depending on what the outcome will be.

23
Chapter III

Methods of the Study

This chapter represents the methods that the researchers used to develop the Word

Translator Device for Translating Four Common Filipino Dialects in the Philippines:

Tagalog, Cebuano, Hiligaynon and Ilokano in patterned to the objectives of the study. The

methodology used by the researchers is developmental methodology thru prototyping. This

the methodology is divided to four different sections: Project Design, Project Development,

Operation and Testing & Evaluation.

Project Project Operation and


Evaluation
Design Development Testing
3.1. Project Design

The group researched data to gathered it to design the proposed project. Through

documents from library, internet, articles and the previous studies the researchers had the

concept to develop a dialect translating device in four common dialects.

3.1.1. Specifications and System Requirements

Operating System Windows 10 IoT Core


Processor Raspberry PI 3 Model B
Memory Micro SD 64 GB
Display 5-inch LCD Touchscreen
Features Word Translator
Charger 5 Volts DC
Battery 10000mAh

24
3.1.2. Listed below the materials:

Based on the system requirements the following materials are needed:

• Raspberry Pi 3

• Micro SD Card 64 GB

• 10000mAh Li-Ion Battery

• 5 Inch LCD Touch Screen

3.1.3. Proposed Model

The project is composed of different devices, each device or component has its own

function. Each device or component are integrated, creating a one device that can use all

the functions needed in order to operate correctly.

Figure 3.1.2.1. Model Diagram of IoT Filipino Dialect Translator Device

In this figure, it shows the connection diagram of the whole project. It illustrates

the interconnecting of each components. To develop the system the group will use

Raspberry Pi 3 as the central board of the project. Using Raspberry Pi 10000 mAh Li-ion

25
battery makes the project wireless and rechargeable. The LCD Touch Screen will show the

selection of the dialects.

3.2. Fabrication

To implement and fabricate the proposed design of the project. The researchers will

use different components. Raspberry PI as the central board of the device in which all

components are connected. The translating system is embedded in the Raspberry PI. The

material that the researcher will use to produce a hard case is acrylic.

Figure 3.2.3.1. Isometric view of the prototype

In this figure, it shows the isometric view of the design. It has the LCD touch screen,

holes for the microphone, a USB port for charger, a power button and speaker for making

sounds.

3.3. Project Development

The translation device has an automatic translating system that translates into four

common dialects of the Philippines, to achieve the Word Translator Device a program

26
development will be needed. The researchers will take account of all the codes that will be

used in the device. In this case the Raspberry Pi 3 module was chosen. It has an embedded

translation system.

The device will give the user options to decide what dialect he wants to translate

and translated to. The user can also choose how his phrases will be translated. He may use

an on-screen keypad in device to type his phrases. The system will develop using the

universal windows platform. The front end developing of the device is XAML

programming and the back end developing is C#.

27
Figure 3.3.1. Flowchart of the prototype

In this figure, it shows the flowchart system of the prototype. When the user opens

the device, it will show the main menu of the device application. The main menu consists

28
of three buttons: Translate, Tutorial and About Buttons. If the user selects the “About”

Button, the user will see the description about the device. For the “Tutorial” Page, there

will be images that showing guides on how to use the device for the first timers. Lastly, the

“Translate” page is the translation system of the device. When the user selects the

“Translate” page, there will be have a selection on how the user wants to translate the

dialect.

The figure also shows when the user chose translation the application will show

choices of available dialects. For type mode, there are 5 available dialects or languages:

English, Cebuano, Hiligaynon, Ilokano and Tagalog (Filipino). After the user selects his

chosen language or dialect, he may now proceed to the translation system by clicking the

proceed button. When he proceeds to the translation system, the on-screen keyboard will

automatically appear when the user presses the text box column. The device let the user

type his words or phrases. The system will now process his typed words by using Translator

API and it will have a text output.

3.4. Operation and Testing Procedure

3.4.1. Operation

1. The device will ask what language or dialect the user needs to be translated.

2. An on-screen keyboard will appear enabling the user to type a phrase as input

to be translated by the system. then the system will automatically recognize the

language or dialect used and translate into the chosen dialect or language, and

the output will be a text generated translation.

29
3.4.2. Testing

After the assembly of the prototype, the testing procedure will have a table for the

acquired results of the materials of the project. It will be subject to test the device

performance. This includes:

1. Check all the components and systems if it is working, so that if the prototype

will be assembled, the researchers will know what the problem is.

2. Test the device if it is translating to English, Filipino, Tagalog, Cebuano,

Hiligaynon and Ilokano

3. Run an overall testing for the prototype.

3.4.3. Evaluation

For the reliability of the prototype it will be evaluated based on the following

criteria’s:

1. The prototype must be 100% completed and functioning.

2. The device can change the selection of dialect.

3. The device should have an output in the LCD.

4. The system should have an accurate battery indicator.

As part of the requirements, the project must comply the standards set by the

International Organization for Standardization (ISO). Through this, the researchers come

up with a survey questionnaire in relation to the said standards. To validate the question

set by the group, questions must be checked by a panel of experts in order to come up with

a short yet relevant questionnaire that will help the study’s evaluation.

30
The ISO 9126-1 Software quality model identifies 6 main quality characteristics, namely:

• Functionality

• Reliability

• Usability

• Efficiency

• Maintainability

• Portability

• A WORD TRASLATOR DEVICE FOR TRANSLATING FOUR COMMON FILIPINO

DIALECTS IN THE PHILIPPINES: TAGALOG, CEBUANO, HILIGAYNON AND

ILOKANO

Survey Questionnaire

Upon answering this questionnaire, kindly refer to the legend. Indicate a check to
Direction:
your desired answer.

5 Strongly Agree

4 Agree

Legend 3 Neutral

2 Disagree

1 Strongly Disagree

Functionality 5 4 3 2 1

1 Does it accurately translate the language?


Accurateness
2 Is the device operating base on the hardware specification?

31
3 Does the device’s software appropriately function?

4 Can the device communicate with other modules?

Interoperability Does it provide access to other software for further


5
innovation?

Reliability

Maturity 6 Does the software encounter problem or malfunction?

Does it automatically restart whenever it encounters system


7
Fault Tolerance failure?

8 Does it provide fast and reliable network connections?

9 Is it able to withstand viruses and system failure?

Recoverability Does the device able to reconnect whenever it loses internet


10
connection?

Usability

11 Does the systems function easily to understood?


Understandability
12 Does the user understand the whole process?

13 Does the user learn how to use the device?

Learnability Do you think the use of this device help you to communicate
14
with other people?

Operability 15 Does the device and the system were easily to operated?

Maintainability

Did the team use thoroughly the source code to make the
Analyzability 16
system of the device?

Does the device accumulate more words stored in the


Changeability 17
database?

32
Will the device be able to apprehend the mother tongue of
18
the user?

Stability Will the screen function well when exposed to dirt or water

19 causing the device touch glitches often used by sweaty

hands?

Testability 20 Does the device perform load testing and free from bugs?

This survey is confidential, and you need not provide any personally identifiable
Note:
information.

Name:

Spoken

Province: Dialect:

Table 3.3.3 Table Survey Questionnaire

The survey questionnaire is patterned to the given standards. Not all characteristics

are used in the questionnaire. The researchers filter the characteristics and as a result, only

relevant characteristics are obtained namely Functionality, Reliability, Usability and

Maintainability.

After the device has been develop, the questionnaire would also be used to describe

using ISO 9126 with a 5 - point rating scale. A post-test would now be followed. A

minimum 30 respondents would be asked to evaluate the device. Afterwards, the data

would be treated statistically.

33
3.4.4. Testing of Text Translator System

Testing Trial 1 Trial 2 Trial 3 Remarks

Table 3.4.4 Table for Testing of Text Translator System

Table 3.4.4 show a table for test if the text translator system. First test is for the

on-screen, if it can display the text being typed and transmit to the Raspberry PI. Second

to fifth are for the dialects, Tagalog, Cebuano, Hiligaynon and Ilocano respectively.

3.4.5. Testing of the over-all Device

Testing Trial 1 Trial 2 Trial 3 Trial 4 Remarks

Table 3.4.5. Testing of the overall device

Table 3.3.5 is for the testing of the project as a whole. First is for the text translation,

the system needs to be tested with the component associated to it. Troubleshooting and

debugging will be done if necessary.

34
Chapter IV

Results and Discussion

This chapter presents the result of the project development of Word Translator for

translating Four Common Filipino Dialects in the Philippines: Tagalog, Cebuano, Ilocano,

Hiligaynon; this is the response to the problem that was posed in Chapter I.

4.1. A Word Translator for Translating Four Common Filipino Dialects in the

Philippines: Tagalog, Cebuano, Hiligaynon, Ilokano

By designing this project, the researchers decided on what software application will

be used. To program the features for the Word Translator for translating Four Common

Filipino Dialects in the Philippines: Tagalog, Cebuano, Ilocano, Hiligaynon the researchers

used C# and XAML programming language. This provides universal windows platform

which is very applicable to the functions of the prototype.

By creating this project, the researchers used Raspberry Pi 3 Microcomputer for the

Word Translator Device to run properly. Aside from microcomputer, the needs of

equipment to work, it will need a power supply for its power consumption, switch for the

on and off power, and an LCD touchscreen for the display and user interface.

35
Figure 4.1.1. Top View

In this view provides the LCD screen which will be used to operate the translating

device, also in this view you will see at the lower left of the LCD. The hole on the outer

most right will provide exhaust to the Raspberry PI 3.

Figure 4.1.2. Inside of the Prototype

36
In this figure shows the parts of the prototype which consist of almost all of the

electronic devices, it includes the battery, and the Raspberry Pi III.

Figure 4.1.3. Application Main Menu User Interface

In this figure it shows the main menu of the application. It has three buttons:

Translate is for the translating system, Tutorial is a page for step by step process on how

to use the devices and About page is about the device and application.

Figure 4.1.4. About Page

37
In this figure, it shows a brief statement on what the application is all about.

Figure 4.1.5. About the Developer Page

This figure shows the images of the team that develop the application.

Figure 4.1.6. Type Page

This figure shows the type page, wherein the text translation occurs. Same in the

Speak Page, The Translate From option allows the user to choose what the input language

38
they desire. The Translate To option allows the user to choose what dialect should the input

language be translated. The Translate button initiates the translation process.

Figure 4.1.7. 10000 mAh Power Bank Schematic Diagram

In this figure, It shows the schematic diagram of a 10000 mAh Power Bank.

39
Figure 4.1.8. Raspberry Pi Schematic Diagram

The Researcher has chosen Raspberry Pi 3 for the Wireless Neural Machine

Translation Device because this microcomputer because of it has 24 GPIO pins that can

provide proper functions of the component for the research.

Figure 4.1.9. LCD Schematic Diagram

In this figure it shows the schematic diagram of the LCD.

40
4.2. Testing and Evaluation

4.2.1. Testing of Text Translator System

Trial 1 Trial 2 Trial 3


Testing Remarks
“I Love You” “Be Careful” “How are you”
The device
successfully
1 Pass Pass Pass
displayed the User
Interface.
The system
2
successfully
Pass Pass Pass
Tagalog translated the
phrases in Tagalog
The system
3
successfully
Pass Pass Pass
Cebuano translated the
phrases in Cebuano
The system

4 successfully
Pass Pass Pass translated the
Hiligaynon
phrases in
Hiligaynon
The system cannot
find the second
5
phrase but
Pass Failed Pass
Ilocano successfully
translate the two
phrases.
Table 4.2.1. Table for Testing of Text Translator System

41
Table 4.2.1 show a table for test if the text translator system. First test is for the

on-screen, if it can display the text being typed and transmit to the Raspberry PI. Second

to fifth are for the dialects, Tagalog, Cebuano, Hiligaynon and Ilocano respectively.

In the second to Fifth testing, the researchers set each trial different phrases, in the

first trial, the phrase used is “I Love You”, second is “Be careful?” and the third is “How

are you?”. All the trial passed beside the Ilocano translation of the term “Be Careful”.

4.2.2. Testing of the over-all Device

Testing Trial 1 Trial 2 Trial 3 Trial 4 Remarks

Tagalog Cebuano Hiligaynon Ilocano

The text

1 Pass Pass Pass Pass translation work

efficiently.

Table 4.2.2. Table for Testing of the over -all device

Table 4.2.2 is for the testing of the project as a whole. First is for the text translation,

the system needs to be tested with the component associated to it. Troubleshooting and

debugging will be done if necessary.

Each trial represents the four dialects, which are Tagalog, Cebuano, Hiligaynon,

Ilocano respectively. By using a phrase in English language as input, the researchers test

each language translation. The phrase used for trial 1 is “I love you”, the voice and text

translation translated the phrase successfully and the output was the Tagalog translation

which is “Mahal Kita”. The phrase used for trial 2 is “How are you?”, the voice and text

42
translation translated the phrase successfully and the output was the Cebuano translation

which is “Giunsa ka?”. The phrase used for trial 3 is “Where did you come from?”, the

voice and text translation translated the phrase successfully and the output was the

Hiligaynon translation which is “Diin ini naghalin”. The phrase used for trial 4 is “I like

you”, the voice and text translation translated the phrase successfully and the output was

the Ilocano translation which is “Kayat ka”.

4.2.3. Interpretation of acquired data

In this section the acquired data will be statistically treated by getting the mean.

The researchers have asked 30 respondents randomly to fill out the survey sheets. Upon

acquiring the filled – out sheets, the researchers processed the data and get the mean of

each question.

Each five questions correspond with a category in the ISO 9216, first is

Functionality Then Reliability, Usability and Maintainability respectively. In

Functionality, the data show that the respondents are satisfied to it. In Reliability,

respondents are in the middle of satisfied and neutral. In Usability, the respondents are

satisfied. And in the Maintainability, the respondents are satisfied with it. Based on the

information on Table 4.2.3, the mean of each questions are in the neutral and satisfied

field, meaning respondents are neutral or satisfied to the performance of the project.

43
Table 4.2.3 Survey Results Table

50
Chapter V

Summary, Conclusions, and Recommendations

Summary of the Findings

The researchers able to accomplish their study and develop a translating device that

translate four most common Filipino dialects. Several materials are used for the development of

the device, such as LCD screen for the display of the User Interface, Battery for power source

and Raspberry PI 3 as the processor. The Word Translator Device for Translating Four Common

Filipino Dialects in the Philippines: Tagalog, Cebuano, Hiligaynon and Ilocano, is a device that

translate the top four dialects present in our country, allowing people without any knowledge of

the said dialects to communicate with the natives that uses the said dialects. The system is

developed to create a solution to the problem that the researchers saw, which is the language

barrier. The device aims to lessen the language present in our country, making people more

unified.

Raspberry PI is the heart of the device, where in all the components are connected and

where the translation process takes place. The device has its own application called Smart Pinoys

where the user interface and functions of the device are embedded.

The researchers conducted a series of testing to ensure that the project is efficient and

effective. During the testing period, the project exhibits an outstanding performance. Though

there are some faults, the researchers immediately troubleshoot the problem.

51
Conclusions

Based on the results acquired from the development of the device, the researchers come up

with the following conclusions:

The researchers were able to design the project that is capable of converting a dialect via

word inputs. The project allows all possible users to translate a word or phrase. Additionally, the

project lessens the need for interpreters or translators be of its translating function.

The fabricated project is comprised of LCD Touchscreen, Battery, and Raspberry PI. The

LCD Touchscreen is used to display the user interface and the text output of the translation, Battery

is for the power source and Raspberry Pi as the overall processor where all components are

connected. All of it are placed in an acrylic case.

The system of the project is run by the Raspberry PI. the translator system was coded using

Visual Studio as compiler and Universal Windows Platform. The Raspberry Pi is responsible to

all data processing.

The project goes through a series of test and troubleshooting in order to achieve the desired

results. The functionalities of the device whether the system runs according to its requirements,

ensuring the smooth translation process and to lessen unwanted faults.

52
Recommendations

For the improvement of the capabilities of the device, the following recommendations

are proposed:

1. Add more possible features such as voice translation with voice output.

2. In the prototype side, making the device more compact by reducing some of the

dimensions can be done.

3. Calibrate the sensitivity of the LCD.

4. Improve the user interface and user experience.

5. Add more possible dialects.

53
APPENDICES

54
APPENDIX A
References

55
References

Andrews, R. (2009, October 29). The Essence of Good Communication Skills. Retrieved from

Ezine @rticles: http://ezinearticles.com/?The-Essence-of-Good-Communication-

Skills&id=3112495

Atsuko Koizumi, H. K. (2005). United States of America Patent No. US6917920B1.

Buccella, C. J. (2007). United States of America Patent No. US20090048820A1.

Buhat, K., Matitio, A., & Ornedo, A. (2014, September 1). Selected Philipine Dialect Translator:

An interactive Android Application System. Retrieved from Prezi:

https://prezi.com/dpc7ay_dqg5s/selected-philippine-dialect-translator-an-interactive-

andro/

Caroll, D. (2005). United States of America Patent No. US20050240406A1.

Christ, O. (2009). United States of America Patent No. US20100223047A1.

Dlace, R. (2011). United States of America Patent No. US20130030789A1.

Fleming, I. (n.d.). Retrieved from ISO 9126 Software Quality Characteristics:

http://www.sqa.net/iso9126.html

Franz, A. M., Horiguchi, K., Duan, L., & Ecker, D. (1999). United States of America Patent No.

US6356865B1.

Furuta, T. (2001). United States of America Patent No. US20030009320A1.

56
Google. (2017). Google Translate. Retrieved from Google:

https://translate.google.com/intl/en_ALL/about/index.html

Jeffrey ChinChristopher Callison-BurchRaymond FlournoyPria HidisyanRina HoriuchiYannick

Kassum, K. L. (2000). United States of America Patent No. US20010029455A1.

Jose Ramon G. Albert, P. (2000). Many Voices, One Nation: . Retrieved from Philippine Statistics

Authority: http://nap.psa.gov.ph/sexystats/2013/SS20130830_dialects.asp

Lee, C.-S. (2008). United States of America Patent No. US20030208352A1.

Linder, B. (2017, 20 April). Travis is a handheld translator with 80-language support

(crowdfunding). Retrieved from Liliputing: https://liliputing.com/2017/04/travis-is-a-

handheld-translator-with-80-language-support-crowdfunding.html

Michael J. Lebeau, J. N. (2010). United States of America Patent No. US20120035907A1.

Microsoft. (2017). Microsoft Translator. Retrieved from Microsoft:

https://translator.microsoft.com/

Mishra, S. (2015, September 11). Language Barriers to Communication. Retrieved from

BUSINESSTOPIA: https://www.businesstopia.net/communication/language-barriers

Morrison, G. (2017, May 31). Ili (Semi-) Universal Translator Preview: Almost Real-Time

Translation. Retrieved from Forbes:

https://www.forbes.com/sites/geoffreymorrison/2017/05/31/ili-semi-universal-translator-

preview-almost-real-time-translation/#443f224f340a

Nogami, H., Miike, S., Takeda, K., Amano, S.-y., & Aoyama, C. (1986). Japan Patent No.

US4962452A.

57
Pinkham, J. (2003). United States of America Patent No. US7319949B2.

Pioneering Machine-Aided Translation. (n.d.). Retrieved from IBM100: http://www-

03.ibm.com/ibm/history/ibm100/us/en/icons/translation/

Prigg, M. (2017, March 3). Dont! Panic $249 'BabelFish' Pilot earphones can translate foreign

languages in real-time. Retrieved from Mail Online:

http://www.dailymail.co.uk/sciencetech/article-4276880/249-earphones-translate-foreign-

languages-real-time.html

Sabornido, L. R. (2015, October 12). Top 10 Languages Used in the Philippines. Retrieved from

FAQ.ph: http://faq.ph/top-10-languages-used-in-the-philippines/

Waibel, A., & Lane, I. R. (2008). United States of America Patent No. US20110307241A1.

58
APPENDIX B
Source code

59
Source Code
Main Page

using System;

using System.Collections.Generic;

using System.IO;

using System.Linq;

using System.Runtime.InteropServices.WindowsRuntime;

using Windows.Foundation;

using Windows.Foundation.Collections;

using Windows.UI.Xaml;

using Windows.UI.Xaml.Controls;

using Windows.UI.Xaml.Controls.Primitives;

using Windows.UI.Xaml.Data;

using Windows.UI.Xaml.Input;

using Windows.UI.Xaml.Media;

using Windows.UI.Xaml.Navigation;

// The Blank Page item template is documented at

https://go.microsoft.com/fwlink/?LinkId=402352&clcid=0x409

namespace Wireless_Neural_Machine

/// <summary>

/// An empty page that can be used on its own or navigated to within a Frame.

/// </summary>

public sealed partial class MainPage : Page

60
{

public MainPage()

this.InitializeComponent();

private void TranslateBtn_Click(object sender, RoutedEventArgs e)

this.Frame.Navigate(typeof(TranslatePage));

private void AboutBtn_Click(object sender, RoutedEventArgs e)

this.Frame.Navigate(typeof(AboutPage));

<Page

x:Class="Wireless_Neural_Machine.MainPage"

xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"

xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

xmlns:local="using:Wireless_Neural_Machine"

xmlns:d="http://schemas.microsoft.com/expression/blend/2008"

xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"

mc:Ignorable="d">

61
<Grid Background="DarkSlateGray">

<TextBlock x:Name="TitleBlk"

HorizontalAlignment="Left"

Margin="119,160,0,0"

Text="Smart PINOYS"

TextWrapping="Wrap"

TextAlignment="Center"

FontFamily="Arial"

FontSize="70"

Foreground="White"

VerticalAlignment="Top"/>

<Button x:Name="TranslateBtn"

Content="Translate"

Foreground="White"

FontFamily="Arial"

FontSize="40"

Background="Gray"

BorderBrush="WhiteSmoke"

BorderThickness="2"

HorizontalAlignment="Left"

Margin="40,325,0,0"

VerticalAlignment="Top"

62
Height="53" Width="215" Click="TranslateBtn_Click"/>

<Button x:Name="TutorialBtn"

Content="Tutorial"

Foreground="White"

FontFamily="Arial"

FontSize="40"

Background="Gray"

BorderBrush="WhiteSmoke"

BorderThickness="2"

HorizontalAlignment="Left"

Margin="280,325,0,0"

VerticalAlignment="Top"

Height="53" Width="215"/>

<Button x:Name="AboutBtn"

Content="About"

Foreground="White"

FontFamily="Arial"

FontSize="40"

Background="Gray"

BorderBrush="WhiteSmoke"

BorderThickness="2"

HorizontalAlignment="Left"

Margin="525,325,0,0"

63
VerticalAlignment="Top"

Height="53" Width="215" Click="AboutBtn_Click"/>

</Grid>

</Page>

About Page

using System;

using System.Collections.Generic;

using System.IO;

using System.Linq;

using System.Runtime.InteropServices.WindowsRuntime;

using Windows.Foundation;

using Windows.Foundation.Collections;

using Windows.UI.Xaml;

using Windows.UI.Xaml.Controls;

using Windows.UI.Xaml.Controls.Primitives;

using Windows.UI.Xaml.Data;

using Windows.UI.Xaml.Input;

using Windows.UI.Xaml.Media;

using Windows.UI.Xaml.Navigation;

// The Blank Page item template is documented at

https://go.microsoft.com/fwlink/?LinkId=234238

64
namespace Wireless_Neural_Machine

/// <summary>

/// An empty page that can be used on its own or navigated to within a Frame.

/// </summary>

public sealed partial class AboutPage : Page

public AboutPage()

this.InitializeComponent();

private void BackBtn_Click(object sender, RoutedEventArgs e)

this.Frame.Navigate(typeof(MainPage));

private void TitleAbout_SelectionChanged(object sender, RoutedEventArgs e)

private void DeveloperBtn_Click(object sender, RoutedEventArgs e)

this.Frame.Navigate(typeof(DeveloperPage));

65
}

<Page

x:Class="Wireless_Neural_Machine.AboutPage"

xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"

xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

xmlns:local="using:Wireless_Neural_Machine"

xmlns:d="http://schemas.microsoft.com/expression/blend/2008"

xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"

mc:Ignorable="d">

<Grid Background="DarkSlateGray">

<Button x:Name="BackBtn"

Content="Back"

Foreground="White"

Background="Gray"

BorderBrush="WhiteSmoke"

BorderThickness="2"

FontFamily="Arial"

FontSize="25"

HorizontalAlignment="Left"

VerticalAlignment="Top"

Height="50" Width="130" Click="BackBtn_Click"

/>

<TextBlock x:Name="TitleAbout"

66
HorizontalAlignment="Left"

Text="About"

FontWeight="Bold"

Foreground="White"

FontFamily="Arial"

FontSize="50"

TextWrapping="Wrap"

VerticalAlignment="Top" Margin="306,35,0,0"

SelectionChanged="TitleAbout_SelectionChanged"/>

<TextBlock x:Name="DescBlk"

HorizontalAlignment="Left"

Margin="-10,102,0,0"

Text="Smart PINOYS is a word translation for translating four common Filipino

dialects in the Philippines:"

TextWrapping="WrapWholeWords"

Foreground="White"

FontFamily="Arial"

FontSize="30"

TextAlignment="Center"

VerticalAlignment="Top" Width="800" Height="123"/>

<TextBlock x:Name="DialectBlk"

HorizontalAlignment="Left"

Margin="235,210,0,0"

67
Text="Cebuano Hiligaynon Ilocano Tagalog"

TextWrapping="WrapWholeWords"

Foreground="White"

FontFamily="Arial"

FontSize="35"

FontWeight="ExtraBold"

TextAlignment="Center"

VerticalAlignment="Top" Width="300"/>

<Button x:Name="DeveloperBtn"

Content="About the Developers"

Foreground="White"

Background="Gray"

BorderBrush="WhiteSmoke"

BorderThickness="2"

FontFamily="Arial"

FontSize="30"

HorizontalAlignment="Left"

Margin="131,383,0,0"

VerticalAlignment="Top" Width="514" Click="DeveloperBtn_Click"/>

</Grid>

</Page>

About the Developers Page

68
using System;

using System.Collections.Generic;

using System.IO;

using System.Linq;

using System.Runtime.InteropServices.WindowsRuntime;

using Windows.Foundation;

using Windows.Foundation.Collections;

using Windows.UI.Xaml;

using Windows.UI.Xaml.Controls;

using Windows.UI.Xaml.Controls.Primitives;

using Windows.UI.Xaml.Data;

using Windows.UI.Xaml.Input;

using Windows.UI.Xaml.Media;

using Windows.UI.Xaml.Navigation;

// The Blank Page item template is documented at

https://go.microsoft.com/fwlink/?LinkId=234238

namespace Wireless_Neural_Machine

/// <summary>

/// An empty page that can be used on its own or navigated to within a Frame.

/// </summary>

public sealed partial class DeveloperPage : Page

69
public DeveloperPage()

this.InitializeComponent();

private void BackBtn_Click(object sender, RoutedEventArgs e)

this.Frame.Navigate(typeof(AboutPage));

private void JhuBlk_SelectionChanged(object sender, RoutedEventArgs e)

private void DarBlk_SelectionChanged(object sender, RoutedEventArgs e)

<Page

x:Class="Wireless_Neural_Machine.DeveloperPage"

xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"

xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

xmlns:local="using:Wireless_Neural_Machine"

xmlns:d="http://schemas.microsoft.com/expression/blend/2008"

xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"

70
mc:Ignorable="d">

<Grid Background="DarkSlateGray">

<Button x:Name="BackBtn"

Content="Back"

Foreground="White"

Background="Gray"

BorderBrush="WhiteSmoke"

BorderThickness="2"

FontFamily="Arial"

FontSize="25"

HorizontalAlignment="Left"

VerticalAlignment="Top"

Height="50" Width="130" Click="BackBtn_Click"

/>

<TextBlock x:Name="DeveloperBlk"

HorizontalAlignment="Left"

Text="About the Developers"

FontFamily="Arial"

FontSize="40"

FontWeight="Bold"

Foreground="White"

TextWrapping="Wrap"

VerticalAlignment="Top" Margin="182,54,0,0"/>

71
<Image x:Name="ConchImg"

Image.Source="Concha.jpg"

HorizontalAlignment="Left"

Height="110"

Margin="290,115,0,0"

VerticalAlignment="Top"

Width="125"/>

<Image x:Name="DarImg"

Image.Source="Dela Pena.jpg"

HorizontalAlignment="Left"

Height="110"

Margin="520,115,0,0"

VerticalAlignment="Top"

Width="125"/>

<Image x:Name="RedImg"

Image.Source="2x2Red.jpg"

HorizontalAlignment="Left"

Height="110"

Margin="175,295,0,0"

VerticalAlignment="Top"

Width="125"/>

<Image x:Name="JhuImg"

Image.Source="Mag-Isa.jpg"

72
HorizontalAlignment="Left"

Height="110"

Margin="445,295,0,0"

VerticalAlignment="Top"

Width="125"/>

<TextBlock x:Name="ThonBlk"

HorizontalAlignment="Left"

Text="Thon Emmanuel T. Blanco"

TextWrapping="WrapWholeWords"

FontFamily="Arial"

Foreground="White"

TextAlignment="Center"

FontSize="25"

FontWeight="SemiBold"

VerticalAlignment="Top" RenderTransformOrigin="0.456,8.676"

Margin="5,235,0,0" Width="243"/>

<TextBlock x:Name="ConchBlk"

HorizontalAlignment="Left"

Text="Arnulfo H. Concha III"

TextWrapping="WrapWholeWords"

FontFamily="Arial"

Foreground="White"

TextAlignment="Center"

73
FontSize="25"

FontWeight="SemiBold"

VerticalAlignment="Top" Margin="281,233,0,0" Width="129"/>

<TextBlock x:Name="DarBlk"

HorizontalAlignment="Left"

Margin="503,235,0,0"

Text="Darrius S. Dela Peña"

TextWrapping="WrapWholeWords"

FontFamily="Arial"

Foreground="White"

TextAlignment="Center"

FontSize="25"

FontWeight="SemiBold"

VerticalAlignment="Top" Width="162"

SelectionChanged="DarBlk_SelectionChanged"/>

<TextBlock x:Name="RedBlk"

HorizontalAlignment="Left"

Text="Redney John M. Evangelista"

TextWrapping="WrapWholeWords"

FontFamily="Arial"

Foreground="White"

TextAlignment="Center"

FontSize="25"

74
FontWeight="SemiBold"

VerticalAlignment="Top" Margin="110,420,0,0" Width="240"/>

<TextBlock x:Name="JhuBlk"

Text="Jhuliuz Hernes B. Mag-Isa"

HorizontalAlignment="Left"

Margin="380,420,0,0"

TextWrapping="WrapWholeWords"

FontFamily="Arial"

Foreground="White"

TextAlignment="Center"

FontSize="25"

FontWeight="SemiBold"

VerticalAlignment="Top" Width="260"

SelectionChanged="JhuBlk_SelectionChanged" RenderTransformOrigin="0.558,0.351"/>

<Image x:Name="thonImg"

Image.Source ="thon.png"

HorizontalAlignment="Left"

Height="110"

Margin="80,120,0,0"

VerticalAlignment="Top"

Width="125"/>

75
</Grid>

</Page>

Tutorial Page 1

using System;

using System.Collections.Generic;

using System.IO;

using System.Linq;

using System.Runtime.InteropServices.WindowsRuntime;

using Windows.Foundation;

using Windows.Foundation.Collections;

using Windows.UI.Xaml;

using Windows.UI.Xaml.Controls;

using Windows.UI.Xaml.Controls.Primitives;

using Windows.UI.Xaml.Data;

using Windows.UI.Xaml.Input;

using Windows.UI.Xaml.Media;

using Windows.UI.Xaml.Navigation;

// The Blank Page item template is documented at

https://go.microsoft.com/fwlink/?LinkId=234238

namespace Wireless_Neural_Machine

/// <summary>

/// An empty page that can be used on its own or navigated to within a Frame.

76
/// </summary>

public sealed partial class TutorialPage : Page

public TutorialPage()

this.InitializeComponent();

private void BackBtn_Click(object sender, RoutedEventArgs e)

this.Frame.Navigate(typeof(MainPage));

private void nextbtn_Click(object sender, RoutedEventArgs e)

this.Frame.Navigate(typeof(TutorialPage2));

<Page

x:Class="Wireless_Neural_Machine.TutorialPage"

xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"

xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

77
xmlns:local="using:Wireless_Neural_Machine"

xmlns:d="http://schemas.microsoft.com/expression/blend/2008"

xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"

mc:Ignorable="d">

<Grid Background="DarkSlateGray">

<Button x:Name="BackBtn"

Content="Back"

Foreground="White"

Background="Gray"

BorderBrush="WhiteSmoke"

BorderThickness="2"

FontFamily="Arial"

FontSize="25"

HorizontalAlignment="Left"

VerticalAlignment="Top"

Height="50" Width="130"

Click="BackBtn_Click"/>

<Image x:Name="image"

Image.Source="SP (1).jpg"

HorizontalAlignment="Left"

Height="262"

Margin="142,76,0,0"

VerticalAlignment="Top"

78
Width="516"/>

<Button x:Name="nextbtn"

Content="Next"

FontSize="20"

FontFamily="Arial"

Foreground="White"

Background="Gray"

BorderBrush="WhiteSmoke"

BorderThickness="2"

HorizontalAlignment="Left"

Margin="656,174,0,0"

VerticalAlignment="Top"

Height="55" Width="100" Click="nextbtn_Click"/>

<TextBlock x:Name="textBlock"

HorizontalAlignment="Left"

Margin="104,324,0,0"

FontSize="20"

FontFamily="Arial"

FontWeight="SemiBold"

Foreground="White"

TextAlignment="Center"

Text="Main Page of the Application. It has 3 buttons: Translate, Tutorial and About"

79
TextWrapping="WrapWholeWords" VerticalAlignment="Top" Height="58"

Width="546"/>

</Grid>

</Page>

Tutorial Page 2

<Page

x:Class="Wireless_Neural_Machine.TutorialPage2"

xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"

xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

xmlns:local="using:Wireless_Neural_Machine"

xmlns:d="http://schemas.microsoft.com/expression/blend/2008"

xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"

mc:Ignorable="d">

<Grid Background="DarkSlateGray">

<Button x:Name="BackBtn"

Content="Back"

Foreground="White"

Background="Gray"

BorderBrush="WhiteSmoke"

BorderThickness="2"

FontFamily="Arial"

FontSize="25"

HorizontalAlignment="Left"

80
VerticalAlignment="Top"

Height="50" Width="130"

Click="BackBtn_Click"/>

<Image x:Name="image"

Image.Source="SP (2).jpg"

HorizontalAlignment="Left"

Height="262"

Margin="142,76,0,0"

VerticalAlignment="Top"

Width="516"/>

<Button x:Name="nextbtn"

Content="Next"

FontSize="20"

FontFamily="Arial"

Foreground="White"

Background="Gray"

BorderBrush="WhiteSmoke"

BorderThickness="2"

HorizontalAlignment="Left"

Margin="656,174,0,0"

VerticalAlignment="Top"

Height="55" Width="100" Click="nextbtn_Click"/>

<Button x:Name="prevbtn"

81
Content="Previous"

FontSize="20"

FontFamily="Arial"

Foreground="White"

Background="Gray"

BorderBrush="WhiteSmoke"

BorderThickness="2"

HorizontalAlignment="Left"

Margin="12,174,0,0"

VerticalAlignment="Top" Height="55" Width="100" Click="prevbtn_Click"/>

<TextBlock x:Name="textBlock"

HorizontalAlignment="Left"

Margin="104,324,0,0"

FontSize="20"

FontFamily="Arial"

FontWeight="SemiBold"

Foreground="White"

TextAlignment="Center"

Text="About Page of the Application"

TextWrapping="WrapWholeWords" VerticalAlignment="Top" Height="58"

Width="546"/>

</Grid>

82
</Page>

using System;

using System.Collections.Generic;

using System.IO;

using System.Linq;

using System.Runtime.InteropServices.WindowsRuntime;

using Windows.Foundation;

using Windows.Foundation.Collections;

using Windows.UI.Xaml;

using Windows.UI.Xaml.Controls;

using Windows.UI.Xaml.Controls.Primitives;

using Windows.UI.Xaml.Data;

using Windows.UI.Xaml.Input;

using Windows.UI.Xaml.Media;

using Windows.UI.Xaml.Navigation;

// The Blank Page item template is documented at

https://go.microsoft.com/fwlink/?LinkId=234238

namespace Wireless_Neural_Machine

/// <summary>

/// An empty page that can be used on its own or navigated to within a Frame.

/// </summary>

public sealed partial class TutorialPage2 : Page

83
{

public TutorialPage2()

this.InitializeComponent();

private void BackBtn_Click(object sender, RoutedEventArgs e)

this.Frame.Navigate(typeof(MainPage));

private void prevbtn_Click(object sender, RoutedEventArgs e)

this.Frame.Navigate(typeof(TutorialPage));

private void nextbtn_Click(object sender, RoutedEventArgs e)

this.Frame.Navigate(typeof(TutorialPage3));

Tutorial Page 3

<Page

x:Class="Wireless_Neural_Machine.TutorialPage3"

xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"

84
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

xmlns:local="using:Wireless_Neural_Machine"

xmlns:d="http://schemas.microsoft.com/expression/blend/2008"

xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"

mc:Ignorable="d">

<Grid Background="DarkSlateGray">

<Button x:Name="BackBtn"

Content="Back"

Foreground="White"

Background="Gray"

BorderBrush="WhiteSmoke"

BorderThickness="2"

FontFamily="Arial"

FontSize="25"

HorizontalAlignment="Left"

VerticalAlignment="Top"

Height="50" Width="130"

Click="BackBtn_Click"/>

<Image x:Name="image"

Image.Source="SP (3).jpg"

HorizontalAlignment="Left"

Height="262"

Margin="142,76,0,0"

85
VerticalAlignment="Top"

Width="516"/>

<Button x:Name="nextbtn"

Content="Next"

FontSize="20"

FontFamily="Arial"

Foreground="White"

Background="Gray"

BorderBrush="WhiteSmoke"

BorderThickness="2"

HorizontalAlignment="Left"

Margin="656,174,0,0"

VerticalAlignment="Top"

Height="55" Width="100" Click="nextbtn_Click"/>

<Button x:Name="prevbtn"

Content="Previous"

FontSize="20"

FontFamily="Arial"

Foreground="White"

Background="Gray"

BorderBrush="WhiteSmoke"

BorderThickness="2"

HorizontalAlignment="Left"

86
Margin="12,174,0,0"

VerticalAlignment="Top" Height="55" Width="100" Click="prevbtn_Click"/>

<TextBlock x:Name="textBlock"

HorizontalAlignment="Left"

Margin="106,350,0,0"

FontSize="20"

FontFamily="Arial"

FontWeight="SemiBold"

Foreground="White"

TextAlignment="Center"

Text="About the Developers page"

TextWrapping="WrapWholeWords" VerticalAlignment="Top" Height="58"

Width="546"/>

</Grid>

</Page>

using System;

using System.Collections.Generic;

using System.IO;

using System.Linq;

using System.Runtime.InteropServices.WindowsRuntime;

using Windows.Foundation;

using Windows.Foundation.Collections;

using Windows.UI.Xaml;

87
using Windows.UI.Xaml.Controls;

using Windows.UI.Xaml.Controls.Primitives;

using Windows.UI.Xaml.Data;

using Windows.UI.Xaml.Input;

using Windows.UI.Xaml.Media;

using Windows.UI.Xaml.Navigation;

// The Blank Page item template is documented at

https://go.microsoft.com/fwlink/?LinkId=234238

namespace Wireless_Neural_Machine

/// <summary>

/// An empty page that can be used on its own or navigated to within a Frame.

/// </summary>

public sealed partial class TutorialPage3 : Page

public TutorialPage3()

this.InitializeComponent();

private void nextbtn_Click(object sender, RoutedEventArgs e)

this.Frame.Navigate(typeof(TutorialPage4));

88
private void prevbtn_Click(object sender, RoutedEventArgs e)

this.Frame.Navigate(typeof(TutorialPage2));

private void BackBtn_Click(object sender, RoutedEventArgs e)

this.Frame.Navigate(typeof(MainPage));

Tutorial Page 4

<Page

x:Class="Wireless_Neural_Machine.TutorialPage4"

xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"

xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

xmlns:local="using:Wireless_Neural_Machine"

xmlns:d="http://schemas.microsoft.com/expression/blend/2008"

xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"

mc:Ignorable="d">

<Grid Background="DarkSlateGray">

<Button x:Name="BackBtn"

Content="Back"

Foreground="White"

89
Background="Gray"

BorderBrush="WhiteSmoke"

BorderThickness="2"

FontFamily="Arial"

FontSize="25"

HorizontalAlignment="Left"

VerticalAlignment="Top"

Height="50" Width="130"

Click="BackBtn_Click"/>

<Image x:Name="image"

Image.Source="SP (4).jpg"

HorizontalAlignment="Left"

Height="262"

Margin="142,76,0,0"

VerticalAlignment="Top"

Width="516"/>

<Button x:Name="nextbtn"

Content="Next"

FontSize="20"

FontFamily="Arial"

Foreground="White"

Background="Gray"

BorderBrush="WhiteSmoke"

90
BorderThickness="2"

HorizontalAlignment="Left"

Margin="656,174,0,0"

VerticalAlignment="Top"

Height="55" Width="100" Click="nextbtn_Click"/>

<Button x:Name="prevbtn"

Content="Previous"

FontSize="20"

FontFamily="Arial"

Foreground="White"

Background="Gray"

BorderBrush="WhiteSmoke"

BorderThickness="2"

HorizontalAlignment="Left"

Margin="12,174,0,0"

VerticalAlignment="Top" Height="55" Width="100" Click="prevbtn_Click"/>

<TextBlock x:Name="textBlock"

HorizontalAlignment="Left"

Margin="104,336,0,0"

FontSize="20"

FontFamily="Arial"

FontWeight="SemiBold"

Foreground="White"

91
TextAlignment="Center"

Text="Mode of Translation selection page"

TextWrapping="WrapWholeWords" VerticalAlignment="Top" Height="58"

Width="546"/>

</Grid>

</Page>

using System;

using System.Collections.Generic;

using System.IO;

using System.Linq;

using System.Runtime.InteropServices.WindowsRuntime;

using Windows.Foundation;

using Windows.Foundation.Collections;

using Windows.UI.Xaml;

using Windows.UI.Xaml.Controls;

using Windows.UI.Xaml.Controls.Primitives;

using Windows.UI.Xaml.Data;

using Windows.UI.Xaml.Input;

using Windows.UI.Xaml.Media;

using Windows.UI.Xaml.Navigation;

// The Blank Page item template is documented at

https://go.microsoft.com/fwlink/?LinkId=234238

92
namespace Wireless_Neural_Machine

/// <summary>

/// An empty page that can be used on its own or navigated to within a Frame.

/// </summary>

public sealed partial class TutorialPage4 : Page

public TutorialPage4()

this.InitializeComponent();

private void nextbtn_Click(object sender, RoutedEventArgs e)

this.Frame.Navigate(typeof(TutorialPage5));

private void prevbtn_Click(object sender, RoutedEventArgs e)

this.Frame.Navigate(typeof(TutorialPage3));

private void BackBtn_Click(object sender, RoutedEventArgs e)

this.Frame.Navigate(typeof(MainPage));

93
}

Tutorial Page 5

<Page

x:Class="Wireless_Neural_Machine.TutorialPage5"

xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"

xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

xmlns:local="using:Wireless_Neural_Machine"

xmlns:d="http://schemas.microsoft.com/expression/blend/2008"

xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"

mc:Ignorable="d">

<Grid Background="DarkSlateGray">

<Button x:Name="BackBtn"

Content="Back"

Foreground="White"

Background="Gray"

BorderBrush="WhiteSmoke"

BorderThickness="2"

FontFamily="Arial"

FontSize="25"

HorizontalAlignment="Left"

VerticalAlignment="Top"

Height="50" Width="130"

94
Click="BackBtn_Click"/>

<Image x:Name="image"

Image.Source="SP (5).jpg"

HorizontalAlignment="Left"

Height="262"

Margin="142,76,0,0"

VerticalAlignment="Top"

Width="516"/>

<Button x:Name="nextbtn"

Content="Next"

FontSize="20"

FontFamily="Arial"

Foreground="White"

Background="Gray"

BorderBrush="WhiteSmoke"

BorderThickness="2"

HorizontalAlignment="Left"

Margin="656,174,0,0"

VerticalAlignment="Top"

Height="55" Width="100" Click="nextbtn_Click"/>

<Button x:Name="prevbtn"

Content="Previous"

FontSize="20"

95
FontFamily="Arial"

Foreground="White"

Background="Gray"

BorderBrush="WhiteSmoke"

BorderThickness="2"

HorizontalAlignment="Left"

Margin="12,174,0,0"

VerticalAlignment="Top" Height="55" Width="100" Click="prevbtn_Click"/>

<TextBlock x:Name="textBlock"

HorizontalAlignment="Left"

Margin="104,324,0,0"

FontSize="20"

FontFamily="Arial"

FontWeight="SemiBold"

Foreground="White"

TextAlignment="Center"

Text="Speech Translation Page that has Selection box for English and Tagalog"

TextWrapping="WrapWholeWords" VerticalAlignment="Top" Height="58"

Width="546"/>

</Grid>

</Page>

using System;

using System.Collections.Generic;

96
using System.IO;

using System.Linq;

using System.Runtime.InteropServices.WindowsRuntime;

using Windows.Foundation;

using Windows.Foundation.Collections;

using Windows.UI.Xaml;

using Windows.UI.Xaml.Controls;

using Windows.UI.Xaml.Controls.Primitives;

using Windows.UI.Xaml.Data;

using Windows.UI.Xaml.Input;

using Windows.UI.Xaml.Media;

using Windows.UI.Xaml.Navigation;

// The Blank Page item template is documented at

https://go.microsoft.com/fwlink/?LinkId=234238

namespace Wireless_Neural_Machine

/// <summary>

/// An empty page that can be used on its own or navigated to within a Frame.

/// </summary>

public sealed partial class TutorialPage5 : Page

public TutorialPage5()

97
this.InitializeComponent();

private void BackBtn_Click(object sender, RoutedEventArgs e)

this.Frame.Navigate(typeof(MainPage));

private void nextbtn_Click(object sender, RoutedEventArgs e)

this.Frame.Navigate(typeof(TutorialPage6));

private void prevbtn_Click(object sender, RoutedEventArgs e)

this.Frame.Navigate(typeof(TutorialPage4));

Tutorial Page 6

<Page

x:Class="Wireless_Neural_Machine.TutorialPage6"

xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"

xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

xmlns:local="using:Wireless_Neural_Machine"

xmlns:d="http://schemas.microsoft.com/expression/blend/2008"

98
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"

mc:Ignorable="d">

<Grid Background="DarkSlateGray">

<Button x:Name="BackBtn"

Content="Back"

Foreground="White"

Background="Gray"

BorderBrush="WhiteSmoke"

BorderThickness="2"

FontFamily="Arial"

FontSize="25"

HorizontalAlignment="Left"

VerticalAlignment="Top"

Height="50" Width="130"

Click="BackBtn_Click"/>

<Image x:Name="image"

Image.Source="SP (6).jpg"

HorizontalAlignment="Left"

Height="262"

Margin="142,76,0,0"

VerticalAlignment="Top"

Width="516"/>

<Button x:Name="prevbtn"

99
Content="Previous"

FontSize="20"

FontFamily="Arial"

Foreground="White"

Background="Gray"

BorderBrush="WhiteSmoke"

BorderThickness="2"

HorizontalAlignment="Left"

Margin="12,174,0,0"

VerticalAlignment="Top" Height="55" Width="100" Click="prevbtn_Click"/>

<TextBlock x:Name="textBlock"

HorizontalAlignment="Left"

Margin="104,324,0,0"

FontSize="20"

FontFamily="Arial"

FontWeight="SemiBold"

Foreground="White"

TextAlignment="Center"

Text="Type Translation Page that has Selection box for English, Cebuano,

Hiligaynon, Ilokano and Tagalog"

TextWrapping="WrapWholeWords" VerticalAlignment="Top" Height="58"

Width="546"/>

100
</Grid>

</Page>

using System;

using System.Collections.Generic;

using System.IO;

using System.Linq;

using System.Runtime.InteropServices.WindowsRuntime;

using Windows.Foundation;

using Windows.Foundation.Collections;

using Windows.UI.Xaml;

using Windows.UI.Xaml.Controls;

using Windows.UI.Xaml.Controls.Primitives;

using Windows.UI.Xaml.Data;

using Windows.UI.Xaml.Input;

using Windows.UI.Xaml.Media;

using Windows.UI.Xaml.Navigation;

// The Blank Page item template is documented at

https://go.microsoft.com/fwlink/?LinkId=234238

namespace Wireless_Neural_Machine

/// <summary>

/// An empty page that can be used on its own or navigated to within a Frame.

/// </summary>

101
public sealed partial class TutorialPage6 : Page

public TutorialPage6()

this.InitializeComponent();

private void prevbtn_Click(object sender, RoutedEventArgs e)

this.Frame.Navigate(typeof(TutorialPage5));

private void BackBtn_Click(object sender, RoutedEventArgs e)

this.Frame.Navigate(typeof(MainPage));

Speech Translation Page

<Page

x:Class="Wireless_Neural_Machine.SpeechTransPage"

xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"

xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

xmlns:local="using:Wireless_Neural_Machine"

xmlns:d="http://schemas.microsoft.com/expression/blend/2008"

102
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"

mc:Ignorable="d">

<Grid Background="DarkSlateGray">

<Button x:Name="BackBtn"

Content="Back"

Foreground="White"

Background="Gray"

BorderBrush="WhiteSmoke"

BorderThickness="2"

FontFamily="Arial"

FontSize="25"

HorizontalAlignment="Left"

VerticalAlignment="Top"

Height="50" Width="130"

Click="BackBtn_Click"/

<ComboBox x:Name="TransFromBox"

Header="Translate From:"

FontSize="30"

Foreground="White"

FontFamily="Arial"

HorizontalAlignment="Left"

Margin="42,83,0,0"

VerticalAlignment="Top"

103
Height="80"

Width="257"

>

<ComboBoxItem Content="English"

FontFamily="Arial"

FontSize="25"

Foreground="DarkSlateGray"

Background="WhiteSmoke"

Height="90"

Width="418"

HorizontalAlignment="Center"/>

<ComboBoxItem Content="Tagalog"

FontFamily="Arial"

FontSize="25"

Foreground="DarkSlateGray"

Background="WhiteSmoke"

Height="90"

Width="418"

HorizontalAlignment="Center"

/>

</ComboBox>

<ComboBox x:Name="TransToBox"

Header="Translate To:"

104
FontSize="30"

Foreground="White"

FontFamily="Arial"

HorizontalAlignment="Left"

Margin="332,83,0,0"

VerticalAlignment="Top"

Height="80"

Width="257"

>

<ComboBoxItem Content="English"

FontFamily="Arial"

FontSize="25"

Foreground="DarkSlateGray"

Background="WhiteSmoke"

Height="90"

Width="418"

HorizontalAlignment="Center"/>

<ComboBoxItem Content="Tagalog"

FontFamily="Arial"

FontSize="25"

Foreground="DarkSlateGray"

Background="WhiteSmoke"

Height="90"

105
Width="418"

HorizontalAlignment="Center"

/>

</ComboBox>

<Button x:Name="StartBtn"

Content="Start"

HorizontalAlignment="Left"

Margin="96,192,0,0"

FontSize="25"

VerticalAlignment="Top"

FontFamily="Arial"

Foreground="White"

Background="Gray"

BorderBrush="WhiteSmoke"

BorderThickness="2"

Height="44"

Width="107"/>

<Button x:Name="StopBtn"

Content="Stop"

HorizontalAlignment="Left"

Margin="268,192,0,0"

FontSize="25"

FontFamily="Arial"

106
Foreground="White"

Background="Gray"

BorderBrush="WhiteSmoke"

BorderThickness="2"

VerticalAlignment="Top"

Height="44"

Width="107"/>

<Button x:Name="SoundBtn"

Content="Sound"

FontSize="25"

FontFamily="Arial"

Foreground="White"

Background="Gray"

BorderBrush="WhiteSmoke"

BorderThickness="2"

HorizontalAlignment="Left"

Margin="440,192,0,0"

VerticalAlignment="Top"

Height="44"

Width="107"/>

<TextBlock x:Name="OutputBlk"

HorizontalAlignment="Left"

Margin="86,264,0,0"

107
Text=""

FontSize="25"

FontFamily="Arial"

Foreground="White"

TextWrapping="Wrap"

VerticalAlignment="Top"

Height="174"

Width="452"/>

</Grid>

</Page>

using System;

using System.Collections.Generic;

using System.IO;

using System.Linq;

using System.Runtime.InteropServices.WindowsRuntime;

using Windows.Foundation;

using Windows.Foundation.Collections;

using Windows.UI.Xaml;

using Windows.UI.Xaml.Controls;

using Windows.UI.Xaml.Controls.Primitives;

using Windows.UI.Xaml.Data;

using Windows.UI.Xaml.Input;

using Windows.UI.Xaml.Media;

108
using Windows.UI.Xaml.Navigation;

// The Blank Page item template is documented at https://go.microsoft.com/fwlink/?LinkId=23423

namespace Wireless_Neural_Machine

/// <summary>

/// An empty page that can be used on its own or navigated to within a Frame.

/// </summary>

public sealed partial class SpeechTransPage : Page

public SpeechTransPage()

this.InitializeComponent();

private void BackBtn_Click(object sender, RoutedEventArgs e)

this.Frame.Navigate(typeof(TranslatePage));

Type Text Page

<Page

x:Class="Wireless_Neural_Machine.TypeTextPage"

xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"

109
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

xmlns:local="using:Wireless_Neural_Machine"

xmlns:d="http://schemas.microsoft.com/expression/blend/2008"

xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"

mc:Ignorable="d">

<Grid Background="DarkSlateGray">

<Button x:Name="BackBtn"

Content="Back"

Foreground="White"

Background="Gray"

BorderBrush="WhiteSmoke"

BorderThickness="2"

FontFamily="Arial"

FontSize="25"

HorizontalAlignment="Left"

VerticalAlignment="Top"

Height="50" Width="130"

Click="BackBtn_Click"/>

<ComboBox x:Name="TransFromBox"

Header="Translate From:"

FontSize="30"

Foreground="White"

FontFamily="Arial"

110
HorizontalAlignment="Left"

Margin="102,81,0,0"

VerticalAlignment="Top"

Height="90"

Width="285"

>

<ComboBoxItem Content="English"

FontFamily="Arial"

FontSize="25"

Foreground="DarkSlateGray"

Background="WhiteSmoke"

Height="90"

Width="418"

HorizontalAlignment="Center"/>

<ComboBoxItem Content="Tagalog"

FontFamily="Arial"

FontSize="25"

Foreground="DarkSlateGray"

Background="WhiteSmoke"

Height="90"

Width="418"

HorizontalAlignment="Center"

/>

111
<ComboBoxItem Content="Cebuano"

Background="WhiteSmoke"

FontFamily="Arial"

FontSize="25"

Foreground="DarkSlateGray"

Height="90"

Width="418"

HorizontalAlignment="Center"/>

<ComboBoxItem Content="Hiligaynon"

Background="WhiteSmoke"

FontFamily="Arial"

FontSize="25"

Foreground="DarkSlateGray"

Height="90"

Width="418"

HorizontalAlignment="Center"/>

<ComboBoxItem Content="Ilokano"

Background="WhiteSmoke"

FontFamily="Arial"

FontSize="25"

Foreground="DarkSlateGray"

Height="90"

Width="418"

112
HorizontalAlignment="Center"/>

</ComboBox>

<ComboBox x:Name="TransToBox"

Header="Translate To:"

FontSize="30"

Foreground="White"

FontFamily="Arial"

HorizontalAlignment="Left"

Margin="417,80,0,0"

VerticalAlignment="Top"

Height="90"

Width="285"

>

<ComboBoxItem Content="English"

FontFamily="Arial"

FontSize="25"

Foreground="DarkSlateGray"

Background="WhiteSmoke"

Height="90"

Width="418"

HorizontalAlignment="Center"/>

<ComboBoxItem Content="Tagalog"

FontFamily="Arial"

113
FontSize="25"

Foreground="DarkSlateGray"

Background="WhiteSmoke"

Height="90"

Width="418"

HorizontalAlignment="Center"

/>

<ComboBoxItem Content="Cebuano"

Background="WhiteSmoke"

FontFamily="Arial"

FontSize="25"

Foreground="DarkSlateGray"

Height="90"

Width="418"

HorizontalAlignment="Center"/>

<ComboBoxItem Content="Hiligaynon"

Background="WhiteSmoke"

FontFamily="Arial"

FontSize="25"

Foreground="DarkSlateGray"

Height="90"

Width="418"

HorizontalAlignment="Center"/>

114
<ComboBoxItem Content="Ilokano"

Background="WhiteSmoke"

FontFamily="Arial"

FontSize="25"

Foreground="DarkSlateGray"

Height="90"

Width="418"

HorizontalAlignment="Center"/>

</ComboBox>

<TextBox x:Name="InputBox"

HorizontalAlignment="Left"

Margin="107,191,0,0"

Text=""

FontFamily="Arial"

Foreground="DarkSlateGray"

FontSize="20"

FontWeight="Bold"

Background="WhiteSmoke"

BorderThickness="2"

BorderBrush="Black"

VerticalAlignment="Top"

Height="130"

Width="281"/>

115
<TextBlock x:Name="OutputBlk"

HorizontalAlignment="Left"

Margin="420,196,0,0"

Foreground="White"

FontFamily="Arial"

FontWeight="Bold"

Text=""

FontSize="20"

TextWrapping="WrapWholeWords"

VerticalAlignment="Top"

Height="118"

Width="260"/>

<Button x:Name="TranslateBtn"

Content="Translate"

HorizontalAlignment="Left"

Margin="330,359,0,0"

VerticalAlignment="Top"

FontFamily="Arial"

FontSize="25"

FontWeight="Bold"

Foreground="White"

Background="Gray"

BorderBrush="WhiteSmoke"

116
BorderThickness="2"

Height="49"

Width="155" Click="TranslateBtn_Click"

/>

</Grid>

</Page>

using RestSharp;

using System;

using System.Collections.Generic;

using System.IO;

using System.Linq;

using System.Runtime.InteropServices.WindowsRuntime;

using Windows.Foundation;

using Windows.Foundation.Collections;

using Windows.UI.Xaml;

using Windows.UI.Xaml.Controls;

using Windows.UI.Xaml.Controls.Primitives;

using Windows.UI.Xaml.Data;

using Windows.UI.Xaml.Input;

using Windows.UI.Xaml.Media;

using Windows.UI.Xaml.Navigation;

117
// The Blank Page item template is documented at

https://go.microsoft.com/fwlink/?LinkId=234238

namespace Wireless_Neural_Machine

/// <summary>

/// An empty page that can be used on its own or navigated to within a Frame.

/// </summary>

public sealed partial class TypeTextPage : Page

public TypeTextPage()

this.InitializeComponent();

private void BackBtn_Click(object sender, RoutedEventArgs e)

this.Frame.Navigate(typeof(TranslatePage));

private void TranslateBtn_Click(object sender, RoutedEventArgs e)

TextBox text = this.FindName("InputBox") as TextBox;

TextBlock text1 = this.FindName("OutputBlk") as TextBlock;

ComboBox box = this.FindName("TransFromBox") as ComboBox;

ComboBox box1 = this.FindName("TransToBox") as ComboBox;

118
ComboBoxItem item = box.SelectedItem as ComboBoxItem;

item.Content.ToString();

ComboBoxItem item1 = box1.SelectedItem as ComboBoxItem;

item1.Content.ToString();

//Tagalog-English

if (item.Content.ToString().Equals("Tagalog") &&

item1.Content.ToString().Equals("English"))

var client = new

RestClient("https://www.googleapis.com/language/translate/v2?key=AIzaSyBDARrX6nFwzYC

vFMRs1VHC7_v-IIWqcF8&source=tl&target=en&q=" + InputBox.Text);

var request = new RestRequest(Method.GET);

IRestResponse response = client.Execute(request);

dynamic json = Newtonsoft.Json.JsonConvert.DeserializeObject(response.Content);

OutputBlk.Text = json.data.translations[0].translatedText;

//Tagalog-Cebuano

if (item.Content.ToString().Equals("Tagalog") &&

item1.Content.ToString().Equals("Cebuano"))

119
var client = new

RestClient("https://www.googleapis.com/language/translate/v2?key=AIzaSyBDARrX6nFwzYC

vFMRs1VHC7_v-IIWqcF8&source=tl&target=ceb&q=" + InputBox.Text);

var request = new RestRequest(Method.GET);

IRestResponse response = client.Execute(request);

dynamic json = Newtonsoft.Json.JsonConvert.DeserializeObject(response.Content);

OutputBlk.Text = json.data.translations[0].translatedText;

//Tagalog-Hiligaynon

if (item.Content.ToString().Equals("Tagalog") &&

item1.Content.ToString().Equals("Hiligaynon"))

if (text.Text.Equals("kamusta ka ngayong araw?") || text.Text.Equals("kumusta ka

ngayong araw?") || text.Text.Equals("kamusta ka ngayong araw") || text.Text.Equals("kumusta ka

ngayong araw"))

text1.Text = "paano sang subong?";

if (text.Text.Equals("sigurado ka ba?") || text.Text.Equals("sigurado ka ba"))

text1.Text = "napat-od mo imo?";

120
if (text.Text.Equals("siya nga pala"))

text1.Text = "paagi sa";

if (text.Text.Equals("kumpara sa"))

text1.Text = "ginapaangid sa";

if (text.Text.Equals("ginagamit mo ba iyon?") || text.Text.Equals("ginagamit mo ba

iyon"))

text1.Text = "ni ninyo gamito inyo agod";

if (text.Text.Equals("sumasang ayon ka ba?") || text.Text.Equals("sumasang ayon ka

ba"))

text1.Text = "nagaugyon";

if (text.Text.Equals("naiisip mo ba?") || text.Text.Equals("naiisip mo ba"))

text1.Text = "ginahunahuna mo?";

121
if (text.Text.Equals("naranasan mo ba?") || text.Text.Equals("naranasan mo ba"))

text1.Text = "nagsulod na bala";

if (text.Text.Equals("paano kung"))

text1.Text = "ginastorya mo";

if (text.Text.Equals("paano dumating?") || text.Text.Equals("paano dumating"))

text1.Text = "daw ano katahom";

if (text.Text.Equals("gaano kadalas?") || text.Text.Equals("gaano kadalas"))

text1.Text = "kon daw ano kasunson";

if (text.Text.Equals("gaano katagal?") || text.Text.Equals("gaano katagal"))

text1.Text = "daw ano ka dugay?";

if (text.Text.Equals("hindi na ako makapaghintay"))

text1.Text = "gusto ko na gid";

122
}

if (text.Text.Equals("ayoko sayo") || text.Text.Equals("ayoko sa iyo"))

text1.Text = "ako sa pagdumot";

if (text.Text.Equals("mahal kita"))

text1.Text = "palangga ko gid ikaw";

if (text.Text.Equals("wala akong ideya"))

text1.Text = "wala makahibalo kon ako";

if (text.Text.Equals("kailangan ko ng umalis"))

text1.Text = "gintugutan ko nga mabihag";

if (text.Text.Equals("takot ako"))

text1.Text = "ako nahadlok";

if (text.Text.Equals("tatawagan kita"))

123
text1.Text = "nga tawgon ka";

if (text.Text.Equals("itetext kita"))

text1.Text = "nga teksto mo";

if (text.Text.Equals("mabuti ba ito?") || text.Text.Equals("mabuti ba ito"))

text1.Text = "kalain sina";

if (text.Text.Equals("masama ba ito?") || text.Text.Equals("masama ba ito"))

text1.Text = "ginakabig nga indi maayo";

if (text.Text.Equals("ako ay umaasa"))

text1.Text = "si magpaabot";

if (text.Text.Equals("ikaw na"))

text1.Text = "imo naman turno";

124
if (text.Text.Equals("bakit kaya?") || text.Text.Equals("bakit kaya"))

text1.Text = "ngapalibog ako kong ngaa";

if (text.Text.Equals("kahit ano pa"))

text1.Text = "ang bisan ano man";

if (text.Text.Equals("salamat"))

text1.Text = "pagpasalamat";

if (text.Text.Equals("ano ang maaari kong gawin para sayo?") || text.Text.Equals("ano

ang maaari kong gawin para sayo"))

text1.Text = "ano ang mabulig ko sa imo";

if (text.Text.Equals("anung ibig mong sabihin?") || text.Text.Equals("anung ibig mong

sabihin"))

text1.Text = "ano ang buot mo silingon?";

125
if (text.Text.Equals("anung masasabi mo?") || text.Text.Equals("anung masasabi mo"))

text1.Text = "ano ang masiling mo?";

if (text.Text.Equals("paano kung"))

text1.Text = "paano kon";

if (text.Text.Equals("anung paborito mo?") || text.Text.Equals("anung paborito mo"))

text1.Text = "ano imo paborito nga?";

if (text.Text.Equals("bakit hindi?") || text.Text.Equals("bakit hindi"))

text1.Text = "pamangkuta";

if (text.Text.Equals("wag ka mag alala"))

text1.Text = "no kabalaka";

if (text.Text.Equals("alam ito ng lahat"))

text1.Text = "ang tagsa tawo nakahibalo";

126
}

if (text.Text.Equals("handa na ang lahat"))

text1.Text = "tanan sa handa";

if (text.Text.Equals("magandang ideya"))

text1.Text = "maayo mga ideya";

if (text.Text.Equals("tama sya"))

text1.Text = "gintadlong niya";

if (text.Text.Equals("mali sya"))

text1.Text = "sia nagsayop";

if (text.Text.Equals("kamusta ka?") || text.Text.Equals("kumusta ka?") ||

text.Text.Equals("kamusta ka") || text.Text.Equals("kumusta ka") || text.Text.Equals("kamusta") ||

text.Text.Equals("kumusta"))

text1.Text = "ano ang imo?";

127
if (text.Text.Equals("kumain na ako"))

text1.Text = "imo naman turno";

if (text.Text.Equals("hindi kita marinig"))

text1.Text = "ako wala pamatigan";

if (text.Text.Equals("hindi ko siya gusto") || text.Text.Equals("hindi ko sya gusto"))

text1.Text = "ako dili kaangay iya";

if (text.Text.Equals("hindi ko yan gusto"))

text1.Text = "ako dili luyag ini";

if (text.Text.Equals("maganda ang pakiramdam ko"))

text1.Text = "nga ko luyag";

if (text.Text.Equals("gusto kita"))

128
text1.Text = "nanamian ako inyo";

if (text.Text.Equals("ako ang magbabayad"))

text1.Text = "ngako talupangdon";

if (text.Text.Equals("kukunin ko"))

text1.Text = "ngako ginakuha";

if (text.Text.Equals("masaya ako"))

text1.Text = "si malipayon";

if (text.Text.Equals("malungkot ako"))

text1.Text = "kahimtagan";

if (text.Text.Equals("okay lang ako"))

text1.Text = "si kaayo nga";

129
if (text.Text.Equals("kailangan ko na umuwi"))

text1.Text = "ako kinahanglan ko na magpauli";

if (text.Text.Equals("masarap"))

text1.Text = "namit";

if (text.Text.Equals("kita tayo mamaya"))

text1.Text = "makita imo sang ulihi";

if (text.Text.Equals("kita tayo bukas"))

text1.Text = "makita ninyo karon";

if (text.Text.Equals("maraming salamat sa lahat"))

text1.Text = "magpasalamat kamo tungod sa tanan butang";

if (text.Text.Equals("salamat sa tulong"))

text1.Text = "salamat gid sa nga bulig";

130
}

if (text.Text.Equals("maraming salamat"))

text1.Text = "madamo gid nga salamat";

if (text.Text.Equals("magandang umaga"))

text1.Text = "maayong aga";

if (text.Text.Equals("magandang hapon"))

text1.Text = "maayong hapon";

if (text.Text.Equals("magandang gabi"))

text1.Text = "maayong gabi";

//Tagalog-Ilokano

if (item.Content.ToString().Equals("Tagalog") &&

item1.Content.ToString().Equals("Ilokano"))

131
if (text.Text.Equals("sigurado ka ba"))

text1.Text = "siguradoka aya";

if (text.Text.Equals("mag iingat ka"))

text1.Text = "naannad tayo kadagiti";

if (text.Text.Equals("naiisip mo ba"))

text1.Text = "napanunot";

if (text.Text.Equals("naranasan mo ba"))

text1.Text = "napadasam ba";

if (text.Text.Equals("paano kung"))

text1.Text = "kasatnu";

if (text.Text.Equals("paano dumating"))

text1.Text = "kasatnu nakasangpet";

132
}

if (text.Text.Equals("gaano katagal"))

text1.Text = "kasano kabayag";

if (text.Text.Equals("hindi ako makatulong"))

text1.Text = "haan naka nakatulong";

if (text.Text.Equals("hindi na ako makapaghintay"))

text1.Text = "haan ko maurayen";

if (text.Text.Equals("gusto ko"))

text1.Text = "kayat ko";

if (text.Text.Equals("ayoko sa iyo"))

text1.Text = "madi ka kayat";

if (text.Text.Equals("mahal kita"))

133
text1.Text = "ayayaten kita";

if (text.Text.Equals("kailangan ko na umalis"))

text1.Text = "masapol ko pumanawen";

if (text.Text.Equals("takot ako"))

text1.Text = "mabuteng nak";

if (text.Text.Equals("tatawagan kita"))

text1.Text = "tawagan kanto";

if (text.Text.Equals("mabuti ba ito"))

text1.Text = "nasyaat kadi daytoy";

if (text.Text.Equals("ako ay umaasa"))

text1.Text = "siyak ket agnamnama";

134
if (text.Text.Equals("ikaw na"))

text1.Text = "sika lattan";

if (text.Text.Equals("bakit kaya"))

text1.Text = "apay ngata";

if (text.Text.Equals("kahit ano pa"))

text1.Text = "uray anya pay";

if (text.Text.Equals("pagsasalita ukol sa"))

text1.Text = "sao maypanggep iti";

if (text.Text.Equals("maraming salamat sayo"))

text1.Text = "agyaman nak la unay kenka";

if (text.Text.Equals("salamat sayo"))

135
text1.Text = "agyaman nak kenka";

if (text.Text.Equals("ano ang maaari kong gawin para sayo"))

text1.Text = "anya ti mabalin ko nga maaramid kenka";

if (text.Text.Equals("anong ibig mong sabihin"))

text1.Text = "anya kayat mo sawen";

if (text.Text.Equals("anong sinabi mo"))

text1.Text = "anya ti maibagam";

if (text.Text.Equals("paano kung"))

text1.Text = "kasano";

if (text.Text.Equals("anong paborito mo"))

text1.Text = "anya ti maibagam";

if (text.Text.Equals("bakit hindi"))

136
{

text1.Text = "apaya nga madi";

if (text.Text.Equals("mag ingat sa"))

text1.Text = "aggannad ka jay ti";

if (text.Text.Equals("wag ka mag alala"))

text1.Text = "haan ka agdanag";

if (text.Text.Equals("alam ito ng lahat"))

text1.Text = "ammo iti amin daytoy";

if (text.Text.Equals("handa na ang lahat"))

text1.Text = "naurnos iti aminen";

if (text.Text.Equals("magandang ideya"))

text1.Text = "mayat nga kapanunutan";

137
if (text.Text.Equals("tama siya"))

text1.Text = "";

if (text.Text.Equals("mali siya"))

text1.Text = "haan nga usto isuna";

if (text.Text.Equals("kumain na ako"))

text1.Text = "nangan nakun";

if (text.Text.Equals("hindi kita marinig"))

text1.Text = "haan ko nga nanggeg";

if (text.Text.Equals("hindi ko siya gusto"))

text1.Text = "haan ko kayat isuna";

if (text.Text.Equals("hindi ko yan gusto"))

138
text1.Text = "haan ko kayat dayjay";

if (text.Text.Equals("maganda ang pakiramdam ko"))

text1.Text = "maya ti panagriknak";

if (text.Text.Equals("gusto kita"))

text1.Text = "kayat ka";

if (text.Text.Equals("ako ang magbabayad"))

text1.Text = "siyak to agbayad";

if (text.Text.Equals("kukunin ko ito"))

text1.Text = "alaek daytoy";

if (text.Text.Equals("masaya ako"))

text1.Text = "naragsak nak";

if (text.Text.Equals("malungkot ako"))

139
{

text1.Text = "naliday nak";

if (text.Text.Equals("okay lang ako"))

text1.Text = "nasyaat nak met";

if (text.Text.Equals("kailangan ko na umuwi"))

text1.Text = "masapol ko agawiden";

if (text.Text.Equals("masarap"))

text1.Text = "naimas dayta";

if (text.Text.Equals("kita tayo mamaya"))

text1.Text = "makita ka damdama";

if (text.Text.Equals("kita tayo bukas"))

text1.Text = "agkita ta nu bigat";

140
if (text.Text.Equals("makita ka ngayong gabi"))

text1.Text = "makita ka atta rabii";

if (text.Text.Equals("maraming salamat sa lahat"))

text1.Text = "agyaman nak la unay iti amin kanyayo";

if (text.Text.Equals("salamat sa tulong"))

text1.Text = "agyaman nak iti tulong";

if (text.Text.Equals("maraming salamat"))

text1.Text = "agyaman nak la unay";

if (text.Text.Equals("magandang umaga"))

text1.Text = "maayong aga";

if (text.Text.Equals("maayong hapon"))

141
text1.Text = "magandang hapon";

if (text.Text.Equals("magandang tanghali"))

text1.Text = "maayong ugto";

if (text.Text.Equals("magandang gabi"))

text1.Text = "maayong gabi-i";

if (text.Text.Equals("maligayang pista"))

text1.Text = "malipayong fiesta";

if (text.Text.Equals("anong ngalan mo"))

text1.Text = "ano imo ngalan";

if (text.Text.Equals("saan ka nang galing"))

text1.Text = "di-in ka halin";

142
if (text.Text.Equals("kumain ka na ba"))

text1.Text = "ka kaon ka na";

//Cebuano-Hiligaynon

if (item.Content.ToString().Equals("Cebuano") &&

item1.Content.ToString().Equals("Hiligaynon"))

if (text.Text.Equals("giunsa ka karon"))

text1.Text = "paano sang subong";

if (text.Text.Equals("sigurado ka"))

text1.Text = "napat-od mo imo";

if (text.Text.Equals("siya mao"))

text1.Text = "paagi sa";

if (text.Text.Equals("itandi sa"))

143
text1.Text = "ginapaangid sa";

if (text.Text.Equals("gigamit nimo kini"))

text1.Text = "ni ninyo gamito inyo agod";

if (text.Text.Equals("uyon uban kanino"))

text1.Text = "nagaugyon";

if (text.Text.Equals("sa imong hunahuna"))

text1.Text = "ginahunahuna mo";

if (text.Text.Equals("nakasinati ka na ba sukad"))

text1.Text = "nagsulod na bala";

if (text.Text.Equals("unsa kaha kung"))

text1.Text = "ginastorya mo";

if (text.Text.Equals("giunsa moabut"))

144
{

text1.Text = "daw ano katahom";

if (text.Text.Equals("unsa ka sagad"))

text1.Text = "kon daw ano kasunson";

if (text.Text.Equals("unsa kini kadugay"))

text1.Text = "daw ano ka dugay";

if (text.Text.Equals("dili ako makahulat"))

text1.Text = "gusto ko na gid";

if (text.Text.Equals("ikaw wala"))

text1.Text = "ako sa pagdumot";

if (text.Text.Equals("gihigugma ko ikaw"))

text1.Text = "palangga ko gid ikaw";

145
if (text.Text.Equals("wala akoy ideya"))

text1.Text = "wala makahibalo kon ako";

if (text.Text.Equals("kinahinanglan kong moadto"))

text1.Text = "gintugutan ko nga mabihag";

if (text.Text.Equals("nahadlok man ko"))

text1.Text = "ako nahadlok";

if (text.Text.Equals("tawgon ko ikaw"))

text1.Text = "nga tawgon ka";

if (text.Text.Equals("magpapadala ako og mensahe"))

text1.Text = "nga teksto mo";

if (text.Text.Equals("maayo ba"))

146
text1.Text = "kalain sina";

if (text.Text.Equals("makadaot ba kini"))

text1.Text = "ginakabig nga indi maayo";

if (text.Text.Equals("nanghinaut ko"))

text1.Text = "si magpaabot";

if (text.Text.Equals("ikaw na"))

text1.Text = "imo naman turno";

if (text.Text.Equals("nganong ingon niananganong ingon niana"))

text1.Text = "ngapalibog ako kong ngaa";

if (text.Text.Equals("bisan unsa pa"))

text1.Text = "ang bisan ano man";

147
if (text.Text.Equals("salamat"))

text1.Text = "pagpasalamat";

if (text.Text.Equals("unsay akong mahimo alang kanimo"))

text1.Text = "ano ang mabulig ko sa imo";

if (text.Text.Equals("unsay imong gipasabut"))

text1.Text = "ano ang buot mo silingon";

if (text.Text.Equals("unsay imong gisulti"))

text1.Text = "ano ang masiling mo";

if (text.Text.Equals("unsa kaha kung"))

text1.Text = "paano kon";

if (text.Text.Equals("unsa imong paborito"))

text1.Text = "ano imo paborito nga";

148
}

if (text.Text.Equals("nganong dili"))

text1.Text = "pamangkuta";

if (text.Text.Equals("ayaw kabalaka"))

text1.Text = "no kabalaka";

if (text.Text.Equals("ang tanan nakahibalo niini"))

text1.Text = "ang tagsa tawo nakahibalo";

if (text.Text.Equals("andam na ang tanan"))

text1.Text = "tanan sa handa";

if (text.Text.Equals("maayong ideya"))

text1.Text = "maayo mga ideya";

if (text.Text.Equals("tama sya"))

149
text1.Text = "gintadlong niya";

if (text.Text.Equals("kini sayup"))

text1.Text = "sia nagsayop";

if (text.Text.Equals("giunsa ka karon"))

text1.Text = "ano ang imo";

if (text.Text.Equals("nakakaon ako"))

text1.Text = "imo naman turno";

if (text.Text.Equals("wala akong makadungog kanimo"))

text1.Text = "ako wala pamatigan";

if (text.Text.Equals("dili nako sya gusto"))

text1.Text = "ako dili kaangay iya";

150
if (text.Text.Equals("dili ko gusto niini"))

text1.Text = "ako dili luyag ini";

if (text.Text.Equals("gibati ko nga maayo"))

text1.Text = "nga ko luyag";

if (text.Text.Equals("gusto ko nimo"))

text1.Text = "nanamian ako inyo";

if (text.Text.Equals("ako mobayad"))

text1.Text = "ngako talupangdon";

if (text.Text.Equals("kuhaon ko kini"))

text1.Text = "ngako ginakuha";

if (text.Text.Equals("nalipay ko"))

text1.Text = "si malipayon";

151
}

if (text.Text.Equals("naguol ko"))

text1.Text = "kahimtagan";

if (text.Text.Equals("ako okay"))

text1.Text = "si kaayo nga";

if (text.Text.Equals("kinahanglan kong mopauli"))

text1.Text = "ako kinahanglan ko na magpauli";

if (text.Text.Equals("lami"))

text1.Text = "namit";

if (text.Text.Equals("makita nimo sa ulahi"))

text1.Text = "makita imo sang ulihi";

if (text.Text.Equals("ania kita karon ugma"))

152
text1.Text = "makita ninyo karon";

if (text.Text.Equals("daghang salamat"))

text1.Text = "magpasalamat kamo tungod sa tanan butang";

if (text.Text.Equals("salamat sa tabang"))

text1.Text = "salamat gid sa nga bulig";

if (text.Text.Equals("salamat kaayo"))

text1.Text = "madamo gid nga salamat";

//Cebuano-Ilokano

if (item.Content.ToString().Equals("Cebuano") &&

item1.Content.ToString().Equals("Ilokano"))

if (text.Text.Equals("sigurado ka"))

text1.Text = "siguradoka aya";

153
if (text.Text.Equals("sa imong hunahuna"))

text1.Text = "napanunot";

if (text.Text.Equals("nakasinati ka na ba sukad"))

text1.Text = "napadasam ba";

if (text.Text.Equals("unsa kaha kung"))

text1.Text = "kasatnu";

if (text.Text.Equals("giunsa moabut"))

text1.Text = "kasatnu nakasangpet";

if (text.Text.Equals("unsa kini kadugay"))

text1.Text = "kasano kabayag";

if (text.Text.Equals("dili ako makatabang"))

154
text1.Text = "haan naka nakatulong";

if (text.Text.Equals("dili ako makahulat"))

text1.Text = "haan ko maurayen";

if (text.Text.Equals("ganahan ko niini"))

text1.Text = "kayat ko";

if (text.Text.Equals("ikaw wala"))

text1.Text = "madi ka kayat";

if (text.Text.Equals("gihigugma ko ikaw"))

text1.Text = "ayayaten kita";

if (text.Text.Equals("kinahinanglan kong moadto"))

text1.Text = "masapol ko pumanawen";

if (text.Text.Equals("nahadlok man ko"))

155
{

text1.Text = "mabuteng nak ";

if (text.Text.Equals("tawgon ko ikaw "))

text1.Text = "tawagan kanto";

if (text.Text.Equals("maayo ba"))

text1.Text = "nasyaat kadi daytoy ";

if (text.Text.Equals("nanghinaut ko"))

text1.Text = "siyak ket agnamnama";

if (text.Text.Equals("ikaw na"))

text1.Text = "sika lattan";

if (text.Text.Equals("nganong ingon niana"))

text1.Text = "apay ngata ";

156
if (text.Text.Equals("bisan unsa pa"))

text1.Text = "uray anya pay ";

if (text.Text.Equals("pagsulti"))

text1.Text = "sao maypanggep iti";

if (text.Text.Equals("daghang salamat"))

text1.Text = "agyaman nak la unay kenka ";

if (text.Text.Equals("salamat"))

text1.Text = "agyaman nak kenka";

if (text.Text.Equals("unsay akong mahimo alang kanimo"))

text1.Text = "anya ti mabalin ko nga maaramid kenka";

if (text.Text.Equals("unsay imong gipasabut"))

157
text1.Text = "anya kayat mo sawen";

if (text.Text.Equals("unsay imong gisulti"))

text1.Text = "anya ti maibagam";

if (text.Text.Equals("unsa kaha kung"))

text1.Text = "kasano ";

if (text.Text.Equals("unsa imong paborito"))

text1.Text = "anya ti maibagam";

if (text.Text.Equals("nganong dili"))

text1.Text = "apaya nga madi";

if (text.Text.Equals("pagbantay sa"))

text1.Text = "aggannad ka jay ti ";

158
if (text.Text.Equals("ayaw kabalaka"))

text1.Text = "haan ka agdanag ";

if (text.Text.Equals("ang tanan nakahibalo niini"))

text1.Text = "ammo iti amin daytoy";

if (text.Text.Equals("andam na ang tanan"))

text1.Text = "naurnos iti aminen";

if (text.Text.Equals("maayong ideya"))

text1.Text = "mayat nga kapanunutan ";

if (text.Text.Equals("tama sya"))

text1.Text = "usto isuna ";

if (text.Text.Equals("kini sayup"))

text1.Text = "haan nga usto isuna ";

159
}

if (text.Text.Equals("nakakaon ako"))

text1.Text = "nangan nakun ";

if (text.Text.Equals("wala ako makadungog kanimo"))

text1.Text = "haan ko nga nanggeg";

if (text.Text.Equals("dili nako sya gusto"))

text1.Text = "haan ko kayat isuna ";

if (text.Text.Equals("dili ko ganahan niana"))

text1.Text = "haan ko kayat dayjay ";

if (text.Text.Equals("gibati ko nga maayo"))

text1.Text = "maya ti panagriknak ";

if (text.Text.Equals("gusto ko nimo"))

160
text1.Text = "kayat ka";

if (text.Text.Equals("ako mobayad"))

text1.Text = "siyak to agbayad ";

if (text.Text.Equals("kuhaon ko kini"))

text1.Text = "alaek daytoy";

if (text.Text.Equals("nalipay ko"))

text1.Text = "naragsak nak ";

if (text.Text.Equals("naguol ko"))

text1.Text = "naliday nak";

if (text.Text.Equals("ako okay"))

text1.Text = "nasyaat nak met";

161
if (text.Text.Equals("kinahanglan kong mopauli"))

text1.Text = "masapol ko agawiden";

if (text.Text.Equals("kana igo na"))

text1.Text = "naimas dayta ";

if (text.Text.Equals("makita nimo sa ulahi"))

text1.Text = "makita ka damdama";

if (text.Text.Equals("ania kita karon ugma"))

text1.Text = "agkita ta nu bigat ";

if (text.Text.Equals("tan-awa ikaw karong gabhiona"))

text1.Text = "makita ka atta rabii";

if (text.Text.Equals("daghang salamat"))

text1.Text = "agyaman nak la unay iti amin kanyayo ";

162
}

if (text.Text.Equals("salamat sa tabang"))

text1.Text = "agyaman nak iti tulong ";

if (text.Text.Equals("salamat kaayo"))

text1.Text = "agyaman nak la unay";

if (text.Text.Equals("maayong buntag"))

text1.Text = "maayong aga";

if (text.Text.Equals("maayong hapon"))

text1.Text = "maayong hapon";

if (text.Text.Equals("maayong ugto"))

text1.Text = "maayong udto";

if (text.Text.Equals("maayong gabi"))

163
text1.Text = "maayong gabi-i";

if (text.Text.Equals("malipayon nga fiesta"))

text1.Text = "malipayong fiesta";

if (text.Text.Equals("unsa ang imong pangalan"))

text1.Text = "ano imo ngalan";

if (text.Text.Equals("diin ka gikan"))

text1.Text = "di-in ka halin";

if (text.Text.Equals("diin ka gikan"))

text1.Text = "ka kaon ka na";

//Cebuano-Tagalog

if (item.Content.ToString().Equals("Cebuano") &&

item1.Content.ToString().Equals("Tagalog"))

164
var client = new

RestClient("https://www.googleapis.com/language/translate/v2?key=AIzaSyBDARrX6nFwzYC

vFMRs1VHC7_v-IIWqcF8&source=ceb&target=tl&q=" + InputBox.Text);

var request = new RestRequest(Method.GET);

IRestResponse response = client.Execute(request);

dynamic json = Newtonsoft.Json.JsonConvert.DeserializeObject(response.Content);

OutputBlk.Text = json.data.translations[0].translatedText

//Cebuano-English

if (item.Content.ToString().Equals("Cebuano") &&

item1.Content.ToString().Equals("English"))

var client = new

RestClient("https://www.googleapis.com/language/translate/v2?key=AIzaSyBDARrX6nFwzYC

vFMRs1VHC7_v-IIWqcF8&source=ceb&target=en&q=" + InputBox.Text);

var request = new RestRequest(Method.GET);

IRestResponse response = client.Execute(request);

dynamic json = Newtonsoft.Json.JsonConvert.DeserializeObject(response.Content);

OutputBlk.Text = json.data.translations[0].translatedText;

165
//Hiligaynon-Cebuano

if (item.Content.ToString().Equals("Hiligaynon") &&

item1.Content.ToString().Equals("Cebuano"))

if (text.Text.Equals("paano sang subong"))

text1.Text = "giunsa ka karon";

if (text.Text.Equals("napat-od mo imo"))

text1.Text = "sigurado ka";

if (text.Text.Equals("paagi sa"))

text1.Text = "siya mao";

if (text.Text.Equals("ginapaangid sa"))

text1.Text = "itandi sa";

if (text.Text.Equals("ni ninyo gamito inyo agod"))

text1.Text = "gigamit nimo kini";

166
}

if (text.Text.Equals("nagaugyon"))

text1.Text = "uyon uban kanino";

if (text.Text.Equals("ginahunahuna mo"))

text1.Text = "sa imong hunahuna";

if (text.Text.Equals("nagsulod na bala"))

text1.Text = "nakasinati ka na ba sukad";

if (text.Text.Equals("ginastorya mo"))

text1.Text = "unsa kaha kung";

if (text.Text.Equals("daw ano katahom"))

text1.Text = "giunsa moabut";

if (text.Text.Equals("kon daw ano kasunson"))

167
text1.Text = "unsa ka sagad";

if (text.Text.Equals("daw ano ka dugay"))

text1.Text = "unsa kini kadugay";

if (text.Text.Equals("gusto ko na gid"))

text1.Text = "dili ako makahulat";

if (text.Text.Equals("ako sa pagdumot"))

text1.Text = "ikaw wala";

if (text.Text.Equals("palangga ko gid ikaw"))

text1.Text = "gihigugma ko ikaw";

if (text.Text.Equals("wala makahibalo kon ako"))

text1.Text = "wala akoy ideya";

168
if (text.Text.Equals("gintugutan ko nga mabihag"))

text1.Text = "kinahinanglan kong moadto";

if (text.Text.Equals("ako nahadlok"))

text1.Text = "nahadlok man ko";

if (text.Text.Equals("nga tawgon ka"))

text1.Text = "tawgon ko ikaw";

if (text.Text.Equals("nga teksto mo"))

text1.Text = "magpapadala ako og mensahe";

if (text.Text.Equals("kalain sina"))

text1.Text = "maayo ba";

if (text.Text.Equals("ginakabig nga indi maayo"))

text1.Text = "makadaot ba kini";

169
}

if (text.Text.Equals("si magpaabot"))

text1.Text = "nanghinaut ko";

if (text.Text.Equals("imo naman turno"))

text1.Text = "ikaw na";

if (text.Text.Equals("ngapalibog ako kong ngaa"))

text1.Text = "nganong ingon niana";

if (text.Text.Equals("ang bisan ano man"))

text1.Text = "bisan unsa pa";

if (text.Text.Equals("pagpasalamat"))

text1.Text = "salamat";

if (text.Text.Equals("ano ang mabulig ko sa imo"))

170
text1.Text = "unsay akong mahimo alang kanimo";

if (text.Text.Equals("ano ang buot mo silingon"))

text1.Text = "unsay imong gipasabut";

if (text.Text.Equals("ano ang masiling mo"))

text1.Text = "unsay imong gisulti";

if (text.Text.Equals("paano kon"))

text1.Text = "unsa kaha kung";

if (text.Text.Equals("ano imo paborito nga"))

text1.Text = "unsa imong paborito";

if (text.Text.Equals("pamangkuta"))

text1.Text = "nganong dili";

171
if (text.Text.Equals("no kabalaka"))

text1.Text = "ayaw kabalaka";

if (text.Text.Equals("ang tagsa tawo nakahibalo"))

text1.Text = "ang tanan nakahibalo niini";

if (text.Text.Equals("tanan sa handa"))

text1.Text = "andam na ang tanan";

if (text.Text.Equals("maayo mga ideya"))

text1.Text = "maayong ideya";

if (text.Text.Equals("gintadlong niya"))

text1.Text = "tama sya";

if (text.Text.Equals("sia nagsayop"))

text1.Text = "kini sayup";

172
}

if (text.Text.Equals("ano ang imo"))

text1.Text = "giunsa ka karon";

if (text.Text.Equals("imo naman turno"))

text1.Text = "nakakaon ako";

if (text.Text.Equals("ako wala pamatigan"))

text1.Text = "wala akong makadungog kanimo";

if (text.Text.Equals("ako dili kaangay iya"))

text1.Text = "dili nako sya gusto";

if (text.Text.Equals("ako dili luyag ini"))

text1.Text = "dili ko gusto niini";

if (text.Text.Equals("nga ko luyag"))

173
text1.Text = "gibati ko nga maayo";

if (text.Text.Equals("nanamian ako inyo"))

text1.Text = "gusto ko nimo";

if (text.Text.Equals("ngako talupangdon"))

text1.Text = "ako mobayad";

if (text.Text.Equals("ngako ginakuha"))

text1.Text = "kuhaon ko kini";

if (text.Text.Equals("si malipayon"))

text1.Text = "nalipay ko";

if (text.Text.Equals("kahimtagan"))

text1.Text = "naguol ko";

if (text.Text.Equals("si kaayo nga"))

174
{

text1.Text = "ako okay";

if (text.Text.Equals("ako kinahanglan ko na magpauli"))

text1.Text = "kinahanglan kong mopauli";

if (text.Text.Equals("namit"))

text1.Text = "lami";

if (text.Text.Equals("makita imo sang ulihi"))

text1.Text = "makita nimo sa ulahi";

if (text.Text.Equals("makita ninyo karon"))

text1.Text = "ania kita karon ugma";

if (text.Text.Equals("magpasalamat kamo tungod sa tanan butang"))

text1.Text = "daghang salamat";

175
if (text.Text.Equals("salamat gid sa nga bulig"))

text1.Text = "salamat sa tabang";

if (text.Text.Equals("madamo gid nga salamat"))

text1.Text = "salamat kaayo";

//Hiligaynon-Ilokano

if (item.Content.ToString().Equals("Hiligaynon") &&

item1.Content.ToString().Equals("Ilokano"))

if (text.Text.Equals("napat od mo imo"))

text1.Text = "siguradoka aya";

if (text.Text.Equals("ginahunahuna mo"))

text1.Text = "napanunot";

if (text.Text.Equals("nagsulod na bala"))

176
text1.Text = "napadasam ba";

if (text.Text.Equals("ginastorya mo"))

text1.Text = "kasatnu";

if (text.Text.Equals("daw ano katahom"))

text1.Text = "kasatnu nakasangpet";

if (text.Text.Equals("daw ano ka dugay"))

text1.Text = "kasano kabayag";

if (text.Text.Equals("gusto ko na gid"))

text1.Text = "haan ko maurayen";

if (text.Text.Equals("ako sa pagdumot"))

text1.Text = "madi ka kayat";

177
if (text.Text.Equals("palangga ko gid ikaw"))

text1.Text = "ayayaten kita";

if (text.Text.Equals("gintugutan ko nga mabihag"))

text1.Text = "masapol ko pumanawen";

if (text.Text.Equals("ako nahadlok"))

text1.Text = "mabuteng nak";

if (text.Text.Equals("nga tawgon ka"))

text1.Text = "tawagan kanto";

if (text.Text.Equals("kalain sina"))

text1.Text = "nasyaat kadi daytoy";

if (text.Text.Equals("si magpaabot"))

text1.Text = "siyak ket agnamnama";

178
}

if (text.Text.Equals("imo naman turno"))

text1.Text = "sika lattan";

if (text.Text.Equals("nagapalibog ako kon ngaa"))

text1.Text = "apay ngata";

if (text.Text.Equals("ang bisan ano man"))

text1.Text = "uray anya pay";

if (text.Text.Equals("nagsiling sang"))

text1.Text = "sao maypanggep iti";

if (text.Text.Equals("magapasalamat imo sa"))

text1.Text = "agyaman nak la unay kenka";

if (text.Text.Equals("pagpasalamat"))

179
text1.Text = "agyaman nak kenka";

if (text.Text.Equals("ano ang mabulig ko sa imo"))

text1.Text = "anya ti mabalin ko nga maaramid kenka";

if (text.Text.Equals("ano ang buot mo silingon"))

text1.Text = "anya kayat mo sawen";

if (text.Text.Equals("ano ang masiling mo"))

text1.Text = "anya ti maibagam";

if (text.Text.Equals("paano kon"))

text1.Text = "kasano ";

if (text.Text.Equals("ano imo paborito nga"))

text1.Text = "anya ti maibagam";

180
if (text.Text.Equals("pamangkuta"))

text1.Text = "apaya nga madi";

if (text.Text.Equals("halungi ang"))

text1.Text = "aggannad ka jay ti";

if (text.Text.Equals("no kabalaka"))

text1.Text = "haan ka agdanag";

if (text.Text.Equals("ang tagsa tawo nakahibalo"))

text1.Text = "ammo iti amin daytoy";

if (text.Text.Equals("tanan sa handa"))

text1.Text = "naurnos iti aminen";

if (text.Text.Equals("maayo mga ideya"))

text1.Text = "mayat nga kapanunutan";

181
}

if (text.Text.Equals("gintadling niya"))

text1.Text = "usto isuna";

if (text.Text.Equals("sia nagsayop"))

text1.Text = "haan nga usto isuna";

if (text.Text.Equals("imo naman turno"))

text1.Text = "nangan nakun";

if (text.Text.Equals("ako wala pamatian"))

text1.Text = "haan ko nga nanggeg";

if (text.Text.Equals("ako dili kaangay iya"))

text1.Text = "haan ko kayat isuna";

if (text.Text.Equals("ako dili layug ini"))

182
text1.Text = "haan ko kayat dayjay";

if (text.Text.Equals("ngako luyag"))

text1.Text = "maya ti panagriknak";

if (text.Text.Equals("namian ako inyo"))

text1.Text = "kayat ka";

if (text.Text.Equals("ngako talupangdon"))

text1.Text = "siyak to agbayad";

if (text.Text.Equals("ngako ginakuha"))

text1.Text = "alaek daytoy";

if (text.Text.Equals("si malipayon"))

text1.Text = "naragsak nak";

if (text.Text.Equals("si kahimtangan"))

183
{

text1.Text = "naliday nak";

if (text.Text.Equals("si kaayo nga"))

text1.Text = "nasyaat nak met";

if (text.Text.Equals("ako kinahanglan ko na magpauli"))

text1.Text = "masapol ko agawiden";

if (text.Text.Equals("kinamit gid"))

text1.Text = "naimas dayta";

if (text.Text.Equals("makita imo sang ulihi"))

text1.Text = "makita ka damdama";

if (text.Text.Equals("makita ninyo karon"))

text1.Text = "agkita ta nu bigat";

184
if (text.Text.Equals("makita ninyo gab-i"))

text1.Text = "makita ka atta rabii";

if (text.Text.Equals("magpasalamat kamo tungod sa tanan butang"))

text1.Text = "agyaman nak la unay iti amin kanyayo";

if (text.Text.Equals("salamat gid sa nga bulig"))

text1.Text = "agyaman nak iti tulong";

if (text.Text.Equals("madamo gid nga salamat"))

text1.Text = "agyaman nak la unay";

if (text.Text.Equals("maayong aga"))

text1.Text = "maayong aga";

if (text.Text.Equals("maayong hapon"))

185
text1.Text = "maayong hapon";

if (text.Text.Equals("maayong ugto"))

text1.Text = "maayong ugto";

if (text.Text.Equals("maayong gabi"))

text1.Text = "maayong gabi-i";

if (text.Text.Equals("malipayong fiesta"))

text1.Text = "malipayong fiesta";

if (text.Text.Equals("ano ang imo pangalan"))

text1.Text = "ano imo ngalan";

if (text.Text.Equals("diin ini naghain"))

text1.Text = "di-in ka halin";

if (text.Text.Equals("nakakaon kana"))

186
{

text1.Text = "ka kaon ka na";

//Hiligaynon-Tagalog

if (item.Content.ToString().Equals("Hiligaynon") &&

item1.Content.ToString().Equals("Tagalog"))

if (text.Text.Equals("paano sang subong?"))

text1.Text = "kamusta ka ngayon?";

if (text.Text.Equals("napat-od mo imo?") || text.Text.Equals("napat-od mo imo"))

text1.Text = "sigurado ka ba?";

if (text.Text.Equals("paagi sa"))

text1.Text = "siya nga pala";

if (text.Text.Equals("ginapaangid sa"))

text1.Text = "kumpara sa";

187
}

if (text.Text.Equals("ni ninyo gamito inyo agod?") || text.Text.Equals("ni ninyo gamito

inyo agod"))

text1.Text = "ginagamit mo ba iyon?";

if (text.Text.Equals("nagaugyon?") || text.Text.Equals("nagaugyon"))

text1.Text = "sumasang ayon ka ba?";

if (text.Text.Equals("ginahunahuna mo?") || text.Text.Equals("ginahunahuna mo"))

text1.Text = "naiisip mo ba?";

if (text.Text.Equals("nagsulod na bala?") || text.Text.Equals("nagsulod na bala"))

text1.Text = "naranasan mo ba?";

if (text.Text.Equals("ginastorya mo"))

text1.Text = "paano kung";

if (text.Text.Equals("daw ano katahom? ") || text.Text.Equals("daw ano katahom"))

188
{

text1.Text = "paano dumatin?";

if (text.Text.Equals("kon daw ano kasunson?") || text.Text.Equals("kon daw ano

kasunson"))

text1.Text = "gaano kadalas";

if (text.Text.Equals("daw ano ka dugay?") || text.Text.Equals("daw ano ka dugay"))

text1.Text = "gaano katagal";

if (text.Text.Equals("gusto ko na gid"))

text1.Text = "hindi na ako makapaghintay";

if (text.Text.Equals("ako sa pagdumot"))

text1.Text = "ayoko sa iyo";

if (text.Text.Equals("palangga ko gid ikaw"))

text1.Text = "mahal kita";

189
}

if (text.Text.Equals("wala makahibalo kon ako"))

text1.Text = "wala akong ideya";

if (text.Text.Equals("gintugutan ko nga mabihag"))

text1.Text = "kailangan ko ng umalis";

if (text.Text.Equals("ako nahadlok"))

text1.Text = "takot ako";

if (text.Text.Equals("nga tawgon ka"))

text1.Text = "tatawagan kita";

if (text.Text.Equals("nga teksto mo"))

text1.Text = "itetext kita";

if (text.Text.Equals("kalain sina?") || text.Text.Equals("kalain sina"))

190
text1.Text = "mabuti ba ito?";

if (text.Text.Equals("ginakabig nga indi maayo?") || text.Text.Equals("ginakabig nga

indi maayo"))

text1.Text = "masama ba ito?";

if (text.Text.Equals("si magpaabot"))

text1.Text = "ako ay umaasa";

if (text.Text.Equals("imo naman turno"))

text1.Text = "ikaw na";

if (text.Text.Equals("ngapalibog ako kong ngaa?") || text.Text.Equals("ngapalibog ako

kong ngaa"))

text1.Text = "bakit kaya?";

if (text.Text.Equals("ang bisan ano man"))

text1.Text = "kahit ano pa";

191
}

if (text.Text.Equals("pagpasalamat"))

text1.Text = "salamat";

if (text.Text.Equals("ano ang mabulig ko sa imo") )

text1.Text = "ano ang maaari kong gawin para sayo?";

if (text.Text.Equals("ano ang buot mo silingon"))

text1.Text = "anung ibig mong sabihin";

if (text.Text.Equals("ano ang masiling mo") )

text1.Text = "anung masasabi mo";

if (text.Text.Equals("paano kon"))

text1.Text = "paano kung";

if (text.Text.Equals("ano imo paborito nga"))

192
text1.Text = "anung paborito mo";

if (text.Text.Equals("pamangkuta"))

text1.Text = "bakit hindi";

if (text.Text.Equals("no kabalaka"))

text1.Text = "wag ka mag alala";

if (text.Text.Equals("ang tagsa tawo nakahibalo"))

text1.Text = "alam ito ng lahat";

if (text.Text.Equals("tanan sa handa"))

text1.Text = "handa na ang lahat";

if (text.Text.Equals("maayo mga ideya"))

text1.Text = "magandang ideya";

if (text.Text.Equals("gintadlong niya"))

193
{

text1.Text = "tama sya";

if (text.Text.Equals("sia nagsayop"))

text1.Text = "mali sya";

if (text.Text.Equals("ano ang imo"))

text1.Text = "kumusta ka";

if (text.Text.Equals("imo naman turno"))

text1.Text = "kumain na ako";

if (text.Text.Equals("ako wala pamatigan"))

text1.Text = "hindi kita marinig";

if (text.Text.Equals("ako dili kaangay iya") )

text1.Text = "hindi ko siya gusto";

194
if (text.Text.Equals("ako dili luyag ini"))

text1.Text = "hindi ko yan gusto";

if (text.Text.Equals("maganda ang pakiramdam ko"))

text1.Text = "maganda ang pakiramdam konga ko luyag";

if (text.Text.Equals("nanamian ako inyo"))

text1.Text = "gusto kita";

if (text.Text.Equals("ngako talupangdon"))

text1.Text = "ako ang magbabayad";

if (text.Text.Equals("ngako ginakuha"))

text1.Text = "kukunin ko";

if (text.Text.Equals("si malipayon"))

text1.Text = "masaya ako";

195
}

if (text.Text.Equals("kahimtagan"))

text1.Text = "malungkot ako";

if (text.Text.Equals("si kaayo nga"))

text1.Text = "okay lang ako";

if (text.Text.Equals("ako kinahanglan ko na magpauli"))

text1.Text = "kailangan ko na umuwi";

if (text.Text.Equals("namit"))

text1.Text = "masarap";

if (text.Text.Equals("makita imo sang ulihi"))

text1.Text = "kita tayo mamaya";

if (text.Text.Equals("makita ninyo karon"))

196
text1.Text = "kita tayo bukas";

if (text.Text.Equals("magpasalamat kamo tungod sa tanan butang"))

text1.Text = "maraming salamat sa lahat";

if (text.Text.Equals("salamat gid sa nga bulig"))

text1.Text = "salamat sa tulong";

if (text.Text.Equals("madamo gid nga salamat"))

text1.Text = "maraming salamat";

if (text.Text.Equals("maayong aga"))

text1.Text = "magandang umaga";

if (text.Text.Equals("maayong hapon"))

text1.Text = "magandang hapon";

if (text.Text.Equals("maayong gabi"))

197
{

text1.Text = "magandang gabi";

//Hiligaynon-English

if (item.Content.ToString().Equals("Hiligaynon") &&

item1.Content.ToString().Equals("English"))

if (text.Text.Equals("paano sang subong"))

text1.Text = "how are you";

if (text.Text.Equals("napat-od mo imo"))

text1.Text = "are you sure?";

if (text.Text.Equals("paagi sa"))

text1.Text = "by the way";

if (text.Text.Equals("ginapaangid sa"))

text1.Text = "compared to";

198
}

if (text.Text.Equals("ni ninyo gamito inyo agod"))

text1.Text = "did you use it";

if (text.Text.Equals("nagaugyon"))

text1.Text = "do you agree";

if (text.Text.Equals("ginahunahuna mo"))

text1.Text = "do you mind";

if (text.Text.Equals("nagsulod na bala"))

text1.Text = "have you ever";

if (text.Text.Equals("ginastorya mo"))

text1.Text = "how about";

if (text.Text.Equals("daw ano katahom"))

199
text1.Text = "how come";

if (text.Text.Equals("kon daw ano kasunson"))

text1.Text = "how often";

if (text.Text.Equals("daw ano ka dugay"))

text1.Text = "how long does it take";

if (text.Text.Equals("gusto ko na gid"))

text1.Text = "i cannot wait";

if (text.Text.Equals("ako sa pagdumot"))

text1.Text = "i hate you";

if (text.Text.Equals("palangga ko gid ikaw"))

text1.Text = "i love you";

if (text.Text.Equals("wala makahibalo kon ako"))

200
{

text1.Text = "i have no idea";

if (text.Text.Equals("gintugutan ko nga mabihag"))

text1.Text = "i have to go";

if (text.Text.Equals("ako nahadlok"))

text1.Text = "im afraid";

if (text.Text.Equals("nga tawgon ka"))

text1.Text = "ill call you";

if (text.Text.Equals("nga teksto mo"))

text1.Text = "ill text you";

if (text.Text.Equals("kalain sina"))

text1.Text = "is it good";

201
if (text.Text.Equals("ginakabig nga indi maayo"))

text1.Text = "is it bad";

if (text.Text.Equals("si magpaabot"))

text1.Text = "im looking forward";

if (text.Text.Equals("imo naman turno"))

text1.Text = "its your turn";

if (text.Text.Equals("ngapalibog ako kong ngaa"))

text1.Text = "i wonder why";

if (text.Text.Equals("ang bisan ano man"))

text1.Text = "no matter what";

if (text.Text.Equals("pagpasalamat"))

text1.Text = "thanks";

202
}

if (text.Text.Equals("ano ang mabulig ko sa imo"))

text1.Text = "what can i do for you";

if (text.Text.Equals("ano ang buot mo silingon"))

text1.Text = "what do you mean";

if (text.Text.Equals("ano ang masiling mo"))

text1.Text = "what can you say";

if (text.Text.Equals("paano kon"))

text1.Text = "what if";

if (text.Text.Equals("ano imo paborito nga"))

text1.Text = "whats your favorite";

if (text.Text.Equals("pamangkuta"))

203
text1.Text = "why not";

if (text.Text.Equals("no kabalaka"))

text1.Text = "dont worry";

if (text.Text.Equals("ang tagsa tawo nakahibalo"))

text1.Text = "everyone knows it";

if (text.Text.Equals("tanan sa handa"))

text1.Text = "everything is ready";

if (text.Text.Equals("maayo mga ideya"))

text1.Text = "good idea";

if (text.Text.Equals("gintadlong niya"))

text1.Text = "he is right ";

if (text.Text.Equals("sia nagsayop"))

204
{

text1.Text = "he is wrong";

if (text.Text.Equals("ano ang imo"))

text1.Text = "how are you?";

if (text.Text.Equals("imo naman turno"))

text1.Text = "i ate already";

if (text.Text.Equals("ako wala pamatigan"))

text1.Text = "i cant hear you";

if (text.Text.Equals("ako dili kaangay iya"))

text1.Text = "i dont like him";

if (text.Text.Equals("ako dili luyag ini"))

text1.Text = "i dont want it";

205
if (text.Text.Equals("nga ko luyag"))

text1.Text = "i feel good";

if (text.Text.Equals("nanamian ako inyo"))

text1.Text = "i like you";

if (text.Text.Equals("ngako talupangdon"))

text1.Text = "ill pay it";

if (text.Text.Equals("ngako ginakuha"))

text1.Text = "ill take it";

if (text.Text.Equals("si malipayon"))

text1.Text = "im happy";

if (text.Text.Equals("kahimtagan"))

206
text1.Text = "im sad";

if (text.Text.Equals("si kaayo nga"))

text1.Text = "im fine";

if (text.Text.Equals("ako kinahanglan ko na magpauli"))

text1.Text = "i need to go home";

if (text.Text.Equals("namit"))

text1.Text = "delicious";

if (text.Text.Equals("makita imo sang ulihi"))

text1.Text = "see you later";

if (text.Text.Equals("makita ninyo karon"))

text1.Text = "see you tomorrow";

if (text.Text.Equals("magpasalamat kamo tungod sa tanan butang"))

207
{

text1.Text = "thanks for everything";

if (text.Text.Equals("salamat gid sa nga bulig"))

text1.Text = "thanks for the help";

if (text.Text.Equals("madamo gid nga salamat"))

text1.Text = "thank you very much";

//Ilokano-Cebuano

if (item.Content.ToString().Equals("Ilokano") &&

item1.Content.ToString().Equals("Cebuano"))

if (text.Text.Equals("siguradoka aya"))

text1.Text = "sigurado ka";

if (text.Text.Equals("napanunot"))

text1.Text = "sa imong hunahuna";

208
}

if (text.Text.Equals("napadasam ba"))

text1.Text = "nakasinati ka na ba sukad";

if (text.Text.Equals("kasatnu"))

text1.Text = "unsa kaha kung";

if (text.Text.Equals("kasatnu nakasangpet"))

text1.Text = "giunsa moabut";

if (text.Text.Equals("kasano kabayag"))

text1.Text = "unsa kini kadugay";

if (text.Text.Equals("haan naka nakatulong"))

text1.Text = "dili ako makatabang";

if (text.Text.Equals("haan ko maurayen"))

209
text1.Text = "dili ako makahulat";

if (text.Text.Equals("kayat ko"))

text1.Text = "ganahan ko niini";

if (text.Text.Equals("madi ka kayat"))

text1.Text = "ikaw wala";

if (text.Text.Equals("ayayaten kita"))

text1.Text = "gihigugma ko ikaw";

if (text.Text.Equals("masapol ko pumanawen"))

text1.Text = "kinahinanglan kong moadto";

if (text.Text.Equals("mabuteng nak"))

text1.Text = "nahadlok man ko ";

if (text.Text.Equals("tawagan kanto"))

210
{

text1.Text = "tawgon ko ikaw ";

if (text.Text.Equals("nasyaat kadi daytoy"))

text1.Text = "maayo ba ";

if (text.Text.Equals("siyak ket agnamnama"))

text1.Text = "nanghinaut ko";

if (text.Text.Equals("sika lattan"))

text1.Text = "ikaw na";

if (text.Text.Equals("apay ngata"))

text1.Text = "nganong ingon niana ";

if (text.Text.Equals("uray anya pay"))

text1.Text = "bisan unsa pa ";

211
if (text.Text.Equals("sao maypanggep iti"))

text1.Text = "pagsulti";

if (text.Text.Equals("agyaman nak la unay kenka"))

text1.Text = "daghang salamat ";

if (text.Text.Equals("agyaman nak kenka"))

text1.Text = "salamat";

if (text.Text.Equals("anya ti mabalin ko nga maaramid kenka"))

text1.Text = "unsay akong mahimo alang kanimo";

if (text.Text.Equals("anya kayat mo sawen"))

text1.Text = "unsay imong gipasabut";

if (text.Text.Equals("anya ti maibagam"))

212
text1.Text = "unsay imong gisulti";

if (text.Text.Equals("kasano"))

text1.Text = "unsa kaha kung ";

if (text.Text.Equals("anya ti maibagam"))

text1.Text = "unsa imong paborito";

if (text.Text.Equals("apaya nga madi"))

text1.Text = "nganong dili";

if (text.Text.Equals("aggannad ka jay ti"))

text1.Text = "pagbantay sa ";

if (text.Text.Equals("haan ka agdanag"))

text1.Text = "ayaw kabalaka ";

213
if (text.Text.Equals("ammo iti amin daytoy"))

text1.Text = "ang tanan nakahibalo niini";

if (text.Text.Equals("naurnos iti aminen"))

text1.Text = "andam na ang tanan";

if (text.Text.Equals("mayat nga kapanunutan"))

text1.Text = "maayong ideya ";

if (text.Text.Equals("usto isuna"))

text1.Text = "tama sya ";

if (text.Text.Equals("haan nga usto isuna"))

text1.Text = "kini sayup ";

if (text.Text.Equals("nangan nakun"))

text1.Text = "nakakaon ako ";

214
}

if (text.Text.Equals("haan ko nga nanggeg"))

text1.Text = "wala ako makadungog kanimo";

if (text.Text.Equals("haan ko kayat isuna"))

text1.Text = "dili nako sya gusto ";

if (text.Text.Equals("haan ko kayat dayjay"))

text1.Text = "dili ko ganahan niana ";

if (text.Text.Equals("maya ti panagriknak"))

text1.Text = "gibati ko nga maayo ";

if (text.Text.Equals("kayat ka"))

text1.Text = "gusto ko nimo";

if (text.Text.Equals("siyak to agbayad"))

215
text1.Text = "ako mobayad ";

if (text.Text.Equals("alaek daytoy"))

text1.Text = "kuhaon ko kini";

if (text.Text.Equals("naragsak nak"))

text1.Text = "nalipay ko ";

if (text.Text.Equals("naliday nak"))

text1.Text = "naguol ko";

if (text.Text.Equals("nasyaat nak met"))

text1.Text = "ako okay";

if (text.Text.Equals("masapol ko agawiden"))

text1.Text = "kinahanglan kong mopauli";

if (text.Text.Equals("naimas dayta"))

216
{

text1.Text = "kana igo na ";

if (text.Text.Equals("makita ka damdama"))

text1.Text = "makita nimo sa ulahi";

if (text.Text.Equals("agkita ta nu bigat"))

text1.Text = "ania kita karon ugma ";

if (text.Text.Equals("makita ka atta rabii"))

text1.Text = "tan-awa ikaw karong gabhiona";

if (text.Text.Equals("agyaman nak la unay iti amin kanyayo"))

text1.Text = "daghang salamat ";

if (text.Text.Equals("agyaman nak iti tulong"))

text1.Text = "salamat sa tabang ";

217
if (text.Text.Equals("agyaman nak la unay"))

text1.Text = "salamat kaayo";

if (text.Text.Equals("maayong aga"))

text1.Text = "maayong buntag";

if (text.Text.Equals("maayong hapon"))

text1.Text = "maayong hapon";

if (text.Text.Equals("maayong ugto"))

text1.Text = "maayong udto";

if (text.Text.Equals("maayong gabi-i"))

text1.Text = "maayong gabi";

if (text.Text.Equals("malipayong fiesta"))

218
text1.Text = "malipayon nga fiesta";

if (text.Text.Equals("ano imo ngalan"))

text1.Text = "unsa ang imong pangalan";

if (text.Text.Equals("di-in ka halin"))

text1.Text = "diin ka gikan";

if (text.Text.Equals("ka kaon ka na"))

text1.Text = "diin ka gikan";

//Ilokano-Hiligaynon

if (item.Content.ToString().Equals("Ilokano") &&

item1.Content.ToString().Equals("Hiligaynon"))

if (text.Text.Equals("siguradoka aya"))

text1.Text = "napat od mo imo";

219
if (text.Text.Equals("napanunot"))

text1.Text = "ginahunahuna mo";

if (text.Text.Equals("napadasam ba"))

text1.Text = "nagsulod na bala";

if (text.Text.Equals("kasatnu"))

text1.Text = "ginastorya mo";

if (text.Text.Equals("kasatnu nakasangpet"))

text1.Text = "daw ano katahom";

if (text.Text.Equals("kasano kabayag"))

text1.Text = "daw ano ka dugay";

if (text.Text.Equals("haan ko maurayen"))

220
text1.Text = "gusto ko na gid";

if (text.Text.Equals("madi ka kayat"))

text1.Text = "ako sa pagdumot";

if (text.Text.Equals("ayayaten kita"))

text1.Text = "palangga ko gid ikaw";

if (text.Text.Equals("masapol ko pumanawen"))

text1.Text = "gintugutan ko nga mabihag";

if (text.Text.Equals("mabuteng nak"))

text1.Text = "ako nahadlok";

if (text.Text.Equals("tawagan kanto"))

text1.Text = "nga tawgon ka";

if (text.Text.Equals("nasyaat kadi daytoy"))

221
{

text1.Text = "kalain sina";

if (text.Text.Equals("siyak ket agnamnama"))

text1.Text = "si magpaabot";

if (text.Text.Equals("sika lattan"))

text1.Text = "imo naman turno";

if (text.Text.Equals("apay ngata"))

text1.Text = "nagapalibog ako kon ngaa";

if (text.Text.Equals("uray anya pay"))

text1.Text = "ang bisan ano man";

if (text.Text.Equals("sao maypanggep iti"))

text1.Text = "nagsiling sang";

222
if (text.Text.Equals("agyaman nak la unay kenka"))

text1.Text = "magapasalamat imo sa";

if (text.Text.Equals("agyaman nak kenka"))

text1.Text = "pagpasalamat";

if (text.Text.Equals("anya ti mabalin ko nga maaramid kenka"))

text1.Text = "ano ang mabulig ko sa imo";

if (text.Text.Equals("anya kayat mo sawen"))

text1.Text = "ano ang buot mo silingon";

if (text.Text.Equals("anya ti maibagam"))

text1.Text = "ano ang masiling mo";

if (text.Text.Equals("kasano"))

text1.Text = "paano kon ";

223
}

if (text.Text.Equals("anya ti maibagam"))

text1.Text = "ano imo paborito nga";

if (text.Text.Equals("apaya nga madi"))

text1.Text = "pamangkuta";

if (text.Text.Equals("aggannad ka jay ti"))

text1.Text = "halungi ang";

if (text.Text.Equals("haan ka agdanag"))

text1.Text = "no kabalaka";

if (text.Text.Equals("ammo iti amin daytoy"))

text1.Text = "ang tagsa tawo nakahibalo";

if (text.Text.Equals("naurnos iti aminen"))

224
text1.Text = "tanan sa handa";

if (text.Text.Equals("mayat nga kapanunutan"))

text1.Text = "maayo mga ideya";

if (text.Text.Equals("usto isuna"))

text1.Text = "gintadling niya";

if (text.Text.Equals("haan nga usto isuna"))

text1.Text = "sia nagsayop";

if (text.Text.Equals("nangan nakun"))

text1.Text = "imo naman turno";

if (text.Text.Equals("haan ko nga nanggeg"))

text1.Text = "ako wala pamatian";

if (text.Text.Equals("haan ko kayat isun"))

225
{

text1.Text = "ako dili kaangay iyaa";

if (text.Text.Equals("haan ko kayat dayjay"))

text1.Text = "ako dili layug ini";

if (text.Text.Equals("maya ti panagriknak"))

text1.Text = "ngako luyag";

if (text.Text.Equals("kayat ka"))

text1.Text = "namian ako inyo";

if (text.Text.Equals("siyak to agbayad"))

text1.Text = "ngako talupangdon";

if (text.Text.Equals("alaek daytoy"))

text1.Text = "ngako ginakuha";

226
if (text.Text.Equals("naragsak nak"))

text1.Text = "si malipayon";

if (text.Text.Equals("naliday nak"))

text1.Text = "si kahimtangan";

if (text.Text.Equals("nasyaat nak met"))

text1.Text = "si kaayo nga";

if (text.Text.Equals("masapol ko agawiden"))

text1.Text = "ako kinahanglan ko na magpauli";

if (text.Text.Equals("naimas dayta"))

text1.Text = "kinamit gid";

if (text.Text.Equals("makita ka damdama"))

text1.Text = "makita imo sang ulihi";

227
}

if (text.Text.Equals("agkita ta nu bigat"))

text1.Text = "makita ninyo karon";

if (text.Text.Equals("makita ka atta rabii"))

text1.Text = "makita ninyo gab-i";

if (text.Text.Equals("agyaman nak la unay iti amin kanyayo"))

text1.Text = "magpasalamat kamo tungod sa tanan butang";

if (text.Text.Equals("agyaman nak iti tulong"))

text1.Text = "salamat gid sa nga bulig";

if (text.Text.Equals("agyaman nak la unay"))

text1.Text = "madamo gid nga salamat";

if (text.Text.Equals("maayong aga"))

228
text1.Text = "maayong aga";

if (text.Text.Equals("maayong hapon"))

text1.Text = "maayong hapon";

if (text.Text.Equals("maayong ugto"))

text1.Text = "maayong ugto";

if (text.Text.Equals("maayong gab-i"))

text1.Text = "maayong gabi";

if (text.Text.Equals("malipayong fiesta"))

text1.Text = "malipayong fiesta";

if (text.Text.Equals("ano imo ngalan"))

text1.Text = "ano ang imo pangalan";

if (text.Text.Equals("di-in ka halin"))

229
{

text1.Text = "diin ini naghain";

if (text.Text.Equals("ka kaon ka na"))

text1.Text = "nakakaon kana";

//Ilokano-Tagalog

if (item.Content.ToString().Equals("Ilokano") &&

item1.Content.ToString().Equals("Tagalog"))

if (text.Text.Equals("siguradoka aya"))

text1.Text = "sigurado ka ba";

if (text.Text.Equals("naannad tayo kadagiti"))

text1.Text = "mag iingat ka";

if (text.Text.Equals("napanunot"))

text1.Text = "naiisip mo ba";

230
}

if (text.Text.Equals("napadasam ba"))

text1.Text = "naranasan mo ba";

if (text.Text.Equals("kasatnu"))

text1.Text = "paano kung";

if (text.Text.Equals("kasatnu nakasangpet"))

text1.Text = "paano dumating";

if (text.Text.Equals("kasano kabayag"))

text1.Text = "gaano katagal";

if (text.Text.Equals("haan naka nakatulong"))

text1.Text = "hindi ako makatulong";

if (text.Text.Equals("haan ko maurayen"))

231
text1.Text = "hindi na ako makapaghintay";

if (text.Text.Equals("kayat ko"))

text1.Text = "gusto ko";

if (text.Text.Equals("madi ka kayat"))

text1.Text = "ayoko sa iyo";

if (text.Text.Equals("ayayaten kita"))

text1.Text = "mahal kita";

if (text.Text.Equals("masapol ko pumanawen"))

text1.Text = "kailangan ko na umalis";

if (text.Text.Equals("mabuteng nak"))

text1.Text = "takot ako";

if (text.Text.Equals("tawagan kanto"))

232
{

text1.Text = "tatawagan kita";

if (text.Text.Equals("nasyaat kadi daytoy"))

text1.Text = "mabuti ba ito";

if (text.Text.Equals("siyak ket agnamnama"))

text1.Text = "ako ay umaasa";

if (text.Text.Equals("sika lattan"))

text1.Text = "ikaw na";

if (text.Text.Equals("apay ngata"))

text1.Text = "bakit kaya";

if (text.Text.Equals("uray anya pay"))

text1.Text = "kahit ano pa";

233
if (text.Text.Equals("sao maypanggep iti"))

text1.Text = "pagsasalita ukol sa";

if (text.Text.Equals("agyaman nak la unay kenka"))

text1.Text = "maraming salamat sayo";

if (text.Text.Equals("agyaman nak kenka"))

text1.Text = "salamat sayo";

if (text.Text.Equals("anya ti mabalin ko nga maaramid kenka"))

text1.Text = "ano ang maaari kong gawin para sayo?";

if (text.Text.Equals("anya kayat mo sawen"))

text1.Text = "anong ibig mong sabihin";

if (text.Text.Equals("anya ti maibagam"))

text1.Text = "anong sinabi mo";

234
}

if (text.Text.Equals("kasano"))

text1.Text = "paano kung ";

if (text.Text.Equals("anya ti maibagam"))

text1.Text = "anong paborito mo";

if (text.Text.Equals("apaya nga madi"))

text1.Text = "bakit hindi";

if (text.Text.Equals("aggannad ka jay ti"))

text1.Text = "mag ingat sa";

if (text.Text.Equals("haan ka agdanag"))

text1.Text = "wag ka mag alala";

if (text.Text.Equals("ammo iti amin daytoy"))

235
text1.Text = "alam ito ng lahat";

if (text.Text.Equals("naurnos iti aminen"))

text1.Text = "handa na ang lahat";

if (text.Text.Equals("mayat nga kapanunutan"))

text1.Text = "magandang ideya";

if (text.Text.Equals("usto isuna"))

text1.Text = "tama siya";

if (text.Text.Equals("haan nga usto isuna"))

text1.Text = "mali siya";

if (text.Text.Equals("nangan nakun"))

text1.Text = "kumain na ako";

if (text.Text.Equals("haan ko nga nanggeg"))

236
{

text1.Text = "hindi kita marinig";

if (text.Text.Equals("haan ko kayat isuna"))

text1.Text = "hindi ko siya gusto";

if (text.Text.Equals("haan ko kayat dayjay"))

text1.Text = "hindi ko yan gusto";

if (text.Text.Equals("maya ti panagriknak"))

text1.Text = "maganda ang pakiramdam ko";

if (text.Text.Equals("kayat ka"))

text1.Text = "gusto kita";

if (text.Text.Equals("siyak to agbayad"))

text1.Text = "ako ang magbabayad";

237
if (text.Text.Equals("alaek daytoy"))

text1.Text = "kukunin ko ito";

if (text.Text.Equals("naragsak nak"))

text1.Text = "masaya ako";

if (text.Text.Equals("naliday nak"))

text1.Text = "malungkot ako";

if (text.Text.Equals("nasyaat nak met"))

text1.Text = "okay lang ako";

if (text.Text.Equals("masapol ko agawiden"))

text1.Text = "kailangan ko na umuwi";

if (text.Text.Equals("naimas dayta"))

text1.Text = "masarap";

238
}

if (text.Text.Equals("makita ka damdama"))

text1.Text = "kita tayo mamaya";

if (text.Text.Equals("agkita ta nu bigat"))

text1.Text = "kita tayo bukas";

if (text.Text.Equals("makita ka atta rabii"))

text1.Text = "makita ka ngayong gabi";

if (text.Text.Equals("agyaman nak la unay iti amin kanyayo"))

text1.Text = "maraming salamat sa lahat";

if (text.Text.Equals("agyaman nak iti tulong"))

text1.Text = "salamat sa tulong";

if (text.Text.Equals("agyaman nak la unay"))

239
text1.Text = "maraming salamat";

if (text.Text.Equals("maayong aga"))

text1.Text = "magandang umaga";

if (text.Text.Equals("maayong hapon"))

text1.Text = "magandang hapon";

if (text.Text.Equals("maayong ugto"))

text1.Text = "magandang tanghali";

if (text.Text.Equals("maayong gabi-i"))

text1.Text = "magandang gabi";

if (text.Text.Equals("malipayong fiesta"))

text1.Text = "maligayang pista";

if (text.Text.Equals("ano imo ngalan"))

240
{

text1.Text = "anong ngalan mo";

if (text.Text.Equals("di-in ka halin"))

text1.Text = "saan ka nang galing";

if (text.Text.Equals("ka kaon ka na"))

text1.Text = "kumain ka na ba";

//Ilokano-English

if (item.Content.ToString().Equals("Ilokano") &&

item1.Content.ToString().Equals("English"))

if (text.Text.Equals("siguradoka aya"))

text1.Text = "are you sure";

if (text.Text.Equals("naannad tayo kadagiti"))

text1.Text = "be careful with";

241
}

if (text.Text.Equals("napanunot"))

text1.Text = "do you mind";

if (text.Text.Equals("napadasam ba"))

text1.Text = "have you ever";

if (text.Text.Equals("kasatnu"))

text1.Text = "how about";

if (text.Text.Equals("kasatnu nakasangpet"))

text1.Text = "how come";

if (text.Text.Equals("kasano kabayag"))

text1.Text = "how long does it take";

if (text.Text.Equals("haan naka nakatulong"))

242
text1.Text = "i cant help";

if (text.Text.Equals("haan ko maurayen"))

text1.Text = "i cannot wait";

if (text.Text.Equals("kayat ko"))

text1.Text = "i like you";

if (text.Text.Equals("madi ka kayat"))

text1.Text = "i hate you";

if (text.Text.Equals("ayayaten kita"))

text1.Text = "i love you";

if (text.Text.Equals("masapol ko pumanawen"))

text1.Text = "i have to go";

if (text.Text.Equals("mabuteng nak"))

243
{

text1.Text = "im afraid";

if (text.Text.Equals("tawagan kanto"))

text1.Text = "ill call you";

if (text.Text.Equals("nasyaat kadi daytoy"))

text1.Text = "is it good";

if (text.Text.Equals("siyak ket agnamnama"))

text1.Text = "im looking forward";

if (text.Text.Equals("sika lattan"))

text1.Text = "its your turn";

if (text.Text.Equals("apay ngata"))

text1.Text = "i wonder why";

244
if (text.Text.Equals("uray anya pay"))

text1.Text = "no matter what";

if (text.Text.Equals("sao maypanggep iti"))

text1.Text = "speaking of";

if (text.Text.Equals("agyaman nak la unay kenka"))

text1.Text = "thanks to you";

if (text.Text.Equals("agyaman nak kenka"))

text1.Text = "thank you";

if (text.Text.Equals("anya ti mabalin ko nga maaramid kenka"))

text1.Text = "what can i do for you";

if (text.Text.Equals("anya kayat mo sawen"))

text1.Text = "what do you mean";

245
}

if (text.Text.Equals("anya ti maibagam"))

text1.Text = "what do you say";

if (text.Text.Equals("kasano"))

text1.Text = "what if ";

if (text.Text.Equals("anya ti maibagam"))

text1.Text = "whats your favorite";

if (text.Text.Equals("apaya nga madi"))

text1.Text = "why not";

if (text.Text.Equals("aggannad ka jay ti"))

text1.Text = "be careful with";

if (text.Text.Equals("haan ka agdanag"))

246
text1.Text = "dont worry";

if (text.Text.Equals("ammo iti amin daytoy"))

text1.Text = "everyone knows it";

if (text.Text.Equals("naurnos iti aminen"))

text1.Text = "everything is ready";

if (text.Text.Equals("mayat nga kapanunutan"))

text1.Text = "good idea";

if (text.Text.Equals("usto isuna"))

text1.Text = "he is right";

if (text.Text.Equals("haan nga usto isuna") )

text1.Text = "he is wrong";

if (text.Text.Equals("nangan nakun"))

247
{

text1.Text = "i ate already";

if (text.Text.Equals("haan ko nga nanggeg"))

text1.Text = "i cant hear you";

if (text.Text.Equals("haan ko kayat isuna"))

text1.Text = "i dont like him";

if (text.Text.Equals("haan ko kayat dayjay"))

text1.Text = "i dont want it";

if (text.Text.Equals("maya ti panagriknak"))

text1.Text = "i feel good";

if (text.Text.Equals("kayat ka"))

text1.Text = "i like you";

248
if (text.Text.Equals("siyak to agbayad"))

text1.Text = "ill pay";

if (text.Text.Equals("alaek daytoy"))

text1.Text = "ill take it";

if (text.Text.Equals("naragsak nak"))

text1.Text = "im happy";

if (text.Text.Equals("naliday nak"))

text1.Text = "im sad";

if (text.Text.Equals("nasyaat nak met"))

text1.Text = "im fine";

if (text.Text.Equals("masapol ko agawiden"))

249
text1.Text = "i need to go home";

if (text.Text.Equals("naimas dayta"))

text1.Text = "delicious";

if (text.Text.Equals("makita ka damdama"))

text1.Text = "see you later";

if (text.Text.Equals("agkita ta nu bigat"))

text1.Text = "see you tomorrow";

if (text.Text.Equals("makita ka atta rabii"))

text1.Text = "see you tonight";

if (text.Text.Equals("agyaman nak la unay iti amin kanyayo"))

text1.Text = "thanks for everything";

if (text.Text.Equals("agyaman nak iti tulong"))

250
{

text1.Text = "thanks for the help";

if (text.Text.Equals("agyaman nak la unay"))

text1.Text = "thank you very much";

if (text.Text.Equals("maayong aga"))

text1.Text = "good morning";

if (text.Text.Equals("maayong hapon"))

text1.Text = "good afternoon";

if (text.Text.Equals("maayong ugto"))

text1.Text = "good noon";

if (text.Text.Equals("maayong gabi-i"))

text1.Text = "good evening";

251
if (text.Text.Equals("malipayong fiesta"))

text1.Text = "happy fiesta";

if (text.Text.Equals("ano imo ngalan"))

text1.Text = "whats your name";

if (text.Text.Equals("di-in ka halin"))

text1.Text = "where did you come from";

if (text.Text.Equals("ka kaon ka na"))

text1.Text = "have you eaten yet";

//English-Cebuano

if (item.Content.ToString().Equals("English") &&

item1.Content.ToString().Equals("Cebuano"))

252
var client = new

RestClient("https://www.googleapis.com/language/translate/v2?key=AIzaSyBDARrX6nFwzYC

vFMRs1VHC7_v-IIWqcF8&source=en&target=ceb&q=" + InputBox.Text);

var request = new RestRequest(Method.GET);

IRestResponse response = client.Execute(request);

dynamic json = Newtonsoft.Json.JsonConvert.DeserializeObject(response.Content);

OutputBlk.Text = json.data.translations[0].translatedText;

//English-Hiligaynon

if (item.Content.ToString().Equals("English") &&

item1.Content.ToString().Equals("Hiligaynon"))

if (text.Text.Equals("how are you"))

text1.Text = "paano sang subong?";

if (text.Text.Equals("are you sure"))

text1.Text = "napat-od mo imo?";

if (text.Text.Equals("by the way"))

text1.Text = "paagi sa";

253
}

if (text.Text.Equals("compared to"))

text1.Text = "ginapaangid sa";

if (text.Text.Equals("did you use it"))

text1.Text = "ni ninyo gamito inyo agod";

if (text.Text.Equals("do you agree"))

text1.Text = "nagaugyon";

if (text.Text.Equals("do you mind"))

text1.Text = "ginahunahuna mo?";

if (text.Text.Equals("have you ever"))

text1.Text = "nagsulod na bala";

if (text.Text.Equals("how about"))

254
text1.Text = "ginastorya mo";

if (text.Text.Equals("how come"))

text1.Text = "daw ano katahom";

if (text.Text.Equals("how often"))

text1.Text = "kon daw ano kasunson";

if (text.Text.Equals("how long does it take"))

text1.Text = "daw ano ka dugay?";

if (text.Text.Equals("i cannot wait"))

text1.Text = "gusto ko na gid";

if (text.Text.Equals("i hate you"))

text1.Text = "ako sa pagdumot";

if (text.Text.Equals("i love you"))

255
{

text1.Text = "palangga ko gid ikaw";

if (text.Text.Equals("i have no idea"))

text1.Text = "wala makahibalo kon ako";

if (text.Text.Equals("i have to go"))

text1.Text = "gintugutan ko nga mabihag";

if (text.Text.Equals("im afraid"))

text1.Text = "ako nahadlok";

if (text.Text.Equals("ill call you"))

text1.Text = "nga tawgon ka";

if (text.Text.Equals("ill text you"))

text1.Text = "nga teksto mo";

256
if (text.Text.Equals("is it good"))

text1.Text = "kalain sina";

if (text.Text.Equals("is it bad"))

text1.Text = "ginakabig nga indi maayo";

if (text.Text.Equals("im looking forward"))

text1.Text = "si magpaabot";

if (text.Text.Equals("its your turn"))

text1.Text = "imo naman turno";

if (text.Text.Equals("i wonder why"))

text1.Text = "ngapalibog ako kong ngaa";

if (text.Text.Equals("no matter what"))

text1.Text = "ang bisan ano man";

257
}

if (text.Text.Equals("thanks"))

text1.Text = "pagpasalamat";

if (text.Text.Equals("what can i do for you"))

text1.Text = "ano ang mabulig ko sa imo";

if (text.Text.Equals("what do you mean"))

text1.Text = "ano ang buot mo silingon?";

if (text.Text.Equals("what can you say"))

text1.Text = "ano ang masiling mo?";

if (text.Text.Equals("what if"))

text1.Text = "paano kon";

if (text.Text.Equals("whats your favorite"))

258
text1.Text = "ano imo paborito nga?";

if (text.Text.Equals("why not"))

text1.Text = "pamangkuta";

if (text.Text.Equals("dont worry"))

text1.Text = "no kabalaka";

if (text.Text.Equals("everyone knows it"))

text1.Text = "ang tagsa tawo nakahibalo";

if (text.Text.Equals("everything is ready"))

text1.Text = "tanan sa handa";

if (text.Text.Equals("good idea"))

text1.Text = "maayo mga ideya";

if (text.Text.Equals("he is right") || text.Text.Equals("she is right"))

259
{

text1.Text = "gintadlong niya";

if (text.Text.Equals("he is wrong") || text.Text.Equals("she is wrong"))

text1.Text = "sia nagsayop";

if (text.Text.Equals("how are you"))

text1.Text = "ano ang imo?";

if (text.Text.Equals("i ate already"))

text1.Text = "imo naman turno";

if (text.Text.Equals("i cant hear you"))

text1.Text = "ako wala pamatigan";

if (text.Text.Equals("i dont like him") || text.Text.Equals("i dont like her"))

text1.Text = "ako dili kaangay iya";

260
if (text.Text.Equals("i dont want it"))

text1.Text = "ako dili luyag ini";

if (text.Text.Equals("i feel good"))

text1.Text = "nga ko luyag";

if (text.Text.Equals("i like you"))

text1.Text = "nanamian ako inyo";

if (text.Text.Equals("ill pay it"))

text1.Text = "ngako talupangdon";

if (text.Text.Equals("ill take it"))

text1.Text = "ngako ginakuha";

if (text.Text.Equals("im happy"))

261
text1.Text = "si malipayon";

if (text.Text.Equals("im sad"))

text1.Text = "kahimtagan";

if (text.Text.Equals("im fine"))

text1.Text = "si kaayo nga";

if (text.Text.Equals("i need to go home"))

text1.Text = "ako kinahanglan ko na magpauli";

if (text.Text.Equals("delicious"))

text1.Text = "namit";

if (text.Text.Equals("see you later"))

text1.Text = "makita imo sang ulihi";

if (text.Text.Equals("see you tomorrow"))

262
{

text1.Text = "makita ninyo karon";

if (text.Text.Equals("thanks for everything"))

text1.Text = "magpasalamat kamo tungod sa tanan butang";

if (text.Text.Equals("thanks for the help"))

text1.Text = "salamat gid sa nga bulig";

if (text.Text.Equals("thank you very much"))

text1.Text = "madamo gid nga salamat";

//English-Ilokano

if (item.Content.ToString().Equals("English") &&

item1.Content.ToString().Equals("Ilokano"))

if (text.Text.Equals("are you sure"))

text1.Text = "siguradoka aya";

263
}

if (text.Text.Equals("be careful with"))

text1.Text = "naannad tayo kadagiti";

if (text.Text.Equals("do you mind"))

text1.Text = "napanunot";

if (text.Text.Equals("have you ever"))

text1.Text = "napadasam ba";

if (text.Text.Equals("how about"))

text1.Text = "kasatnu";

if (text.Text.Equals("how come"))

text1.Text = "kasatnu nakasangpet";

if (text.Text.Equals("how long does it take"))

264
text1.Text = "kasano kabayag";

if (text.Text.Equals("i cant help"))

text1.Text = "haan naka nakatulong";

if (text.Text.Equals("i cannot wait"))

text1.Text = "haan ko maurayen";

if (text.Text.Equals("i like you"))

text1.Text = "kayat ko";

if (text.Text.Equals("i hate you"))

text1.Text = "madi ka kayat";

if (text.Text.Equals("i love you"))

text1.Text = "ayayaten kita";

if (text.Text.Equals("i have to go"))

265
{

text1.Text = "masapol ko pumanawen";

if (text.Text.Equals("im afraid"))

text1.Text = "mabuteng nak";

if (text.Text.Equals("ill call you"))

text1.Text = "tawagan kanto";

if (text.Text.Equals("is it good"))

text1.Text = "nasyaat kadi daytoy";

if (text.Text.Equals("im looking forward"))

text1.Text = "siyak ket agnamnama";

if (text.Text.Equals("its your turn"))

text1.Text = "sika lattan";

266
if (text.Text.Equals("i wonder why"))

text1.Text = "apay ngata";

if (text.Text.Equals("no matter what"))

text1.Text = "uray anya pay";

if (text.Text.Equals("speaking of"))

text1.Text = "sao maypanggep iti";

if (text.Text.Equals("thanks to you"))

text1.Text = "agyaman nak la unay kenka";

if (text.Text.Equals("thank you"))

text1.Text = "agyaman nak kenka";

if (text.Text.Equals("what can i do for you"))

267
text1.Text = "anya ti mabalin ko nga maaramid kenka";

if (text.Text.Equals("what do you mean"))

text1.Text = "anya kayat mo sawen";

if (text.Text.Equals("what do you say"))

text1.Text = "anya ti maibagam";

if (text.Text.Equals("what if"))

text1.Text = "kasano ";

if (text.Text.Equals("whats your favorite"))

text1.Text = "anya ti maibagam";

if (text.Text.Equals("why not"))

text1.Text = "apaya nga madi";

if (text.Text.Equals("be careful with"))

268
{

text1.Text = "aggannad ka jay ti";

if (text.Text.Equals("dont worry"))

text1.Text = "haan ka agdanag";

if (text.Text.Equals("everyone knows it"))

text1.Text = "ammo iti amin daytoy";

if (text.Text.Equals("everything is ready"))

text1.Text = "naurnos iti aminen";

if (text.Text.Equals("good idea"))

text1.Text = "mayat nga kapanunutan";

if (text.Text.Equals("he is right") || text.Text.Equals("she is right"))

text1.Text = "usto isuna";

269
if (text.Text.Equals("he is wrong") || text.Text.Equals("she is wrong"))

text1.Text = "haan nga usto isuna";

if (text.Text.Equals("i ate already"))

text1.Text = "nangan nakun";

if (text.Text.Equals("i cant hear you"))

text1.Text = "haan ko nga nanggeg";

if (text.Text.Equals("i dont like him") || text.Text.Equals("i dont like her"))

text1.Text = "haan ko kayat isuna";

if (text.Text.Equals("i dont want it"))

text1.Text = "haan ko kayat dayjay";

if (text.Text.Equals("i feel good"))

270
text1.Text = "maya ti panagriknak";

if (text.Text.Equals("i like you"))

text1.Text = "kayat ka";

if (text.Text.Equals("ill pay"))

text1.Text = "siyak to agbayad";

if (text.Text.Equals("ill take it"))

text1.Text = "alaek daytoy";

if (text.Text.Equals("im happy"))

text1.Text = "naragsak nak";

if (text.Text.Equals("im sad"))

text1.Text = "naliday nak";

if (text.Text.Equals("im fine"))

271
{

text1.Text = "nasyaat nak met";

if (text.Text.Equals("i need to go home"))

text1.Text = "masapol ko agawiden";

if (text.Text.Equals("delicious"))

text1.Text = "naimas dayta";

if (text.Text.Equals("see you later"))

text1.Text = "makita ka damdama";

if (text.Text.Equals("see you tomorrow"))

text1.Text = "agkita ta nu bigat";

if (text.Text.Equals("see you tonight"))

text1.Text = "makita ka atta rabii";

272
if (text.Text.Equals("thanks for everything"))

text1.Text = "agyaman nak la unay iti amin kanyayo";

if (text.Text.Equals("thanks for the help"))

text1.Text = "agyaman nak iti tulong";

if (text.Text.Equals("thank you very much"))

text1.Text = "agyaman nak la unay";

if (text.Text.Equals("good morning"))

text1.Text = "maayong aga";

if (text.Text.Equals("good afernon"))

text1.Text = "maayong hapon";

if (text.Text.Equals("good noon"))

273
text1.Text = "maayong ugto";

if (text.Text.Equals("good evening"))

text1.Text = "maayong gabi-i";

if (text.Text.Equals("happy fiesta"))

text1.Text = "malipayong fiesta";

if (text.Text.Equals("whats your name"))

text1.Text = "ano imo ngalan";

if (text.Text.Equals("where did you come from"))

text1.Text = "di-in ka halin";

if (text.Text.Equals("have you eaten yet"))

text1.Text = "ka kaon ka na";

274
//English-Tagalog

if (item.Content.ToString().Equals("English") &&

item1.Content.ToString().Equals("Tagalog"))

var client = new

RestClient("https://www.googleapis.com/language/translate/v2?key=AIzaSyBDARrX6nFwzYC

vFMRs1VHC7_v-IIWqcF8&source=en&target=tl&q=" + InputBox.Text);

var request = new RestRequest(Method.GET);

IRestResponse response = client.Execute(request);

dynamic json = Newtonsoft.Json.JsonConvert.DeserializeObject(response.Content);

OutputBlk.Text = json.data.translations[0].translatedText;

275
APPENDIX C
List of Materials

276
Costing

ITEMS PRICE QUANTITY

Raspberry Pi 3 model B 2,810.00 1

Powerbank 750 1

Memory Card 1,700.00 1

5' Touch Screen LCD 2,500.00 1

USB Hub 400.00 1

Acrylic 246.00 1

Casing 1,200.00 1

Hardware Tools 780.00 1

Card reader 250.00 1

Table list of materials to fabricate the device

277
APPENDIX D
Curriculum Vitae of the Researchers

278

You might also like