Filipino Dialect Translator Study
Filipino Dialect Translator Study
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
Table 1.2 Top 20 Language or Dialect Generally Spoken in the Household, Philippines, 2000.
TAGALOG, CEBUANO, HILIGAYNON AND ILOKANO” has been prepared and submitted by
___________________________
Research Adviser
_________________________________ _______________________
________________________
Accepted and approved in partial fulfillment of the requirements for the degree of
______________ _______________________
I
Dedication
In every challenging work, requires team work as well as guidance and support of those
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
We would like to thank our loving parent who never stop believing and trusting that we
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
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
1.1. Introduction
ideas. It’s the effective conveying of ideas and feelings through connection between
of good communication.
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
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
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
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
Number of Percent
Language / Dialect
Households Distribution
2
8 Pangasinan/Panggalato 237,181 1.3
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
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
Machine still find it difficult to translate languages or dialects for a reason each
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
1.3.1. General
Dialects in the Philippines: Tagalog, Cebuano, Hiligaynon and Ilokano that can translate
4
1.3.2. Specific
1. Design the word translator device capable of converting a dialect via word input.
3. Program the translator system in Universal Windows Platform using Visual Studio
4. Test and evaluate the functionalities of the device whether the system runs
This study aims to design a Word Translator Device for Translating Four Common
Filipino Dialects in the Philippines: Tagalog, Cebuano, Hiligaynon and Ilokano that
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
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
1.5.6. Scopes
• 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.
6
1.6. Definition of Terms
C#. The programming language used for the functions of the system.
Dialect. The variety of a talked language exceptional to a locale, group, social 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
Raspberry Pi 3. A microcomputer that will act as the heart and brain 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
8
Chapter II
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
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
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,
With these, the group will develop a device that can translate a dialect into your
9
2.2. Topical Presentation
The following selection is the discussion of prior studies and documents that used
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
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
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
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
In addition to that, the study of Mr. Furuta (United States of America Patent No.
translating original language text obtained from a server via the Internet. This system can
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
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
translation device which has both advantages of a table look-up translation device and
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
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.
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
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
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
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
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
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
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
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
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
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.
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.
methods for translating provided spoken language. It uses speech input for data acquisition,
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
Pangasinense, Tagalog, Waray and English. It can be downloaded in google play store.
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
17
These studies are also relevant to the project of the researchers. The Google
translates text from one language into another. This is a free software application that can
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
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
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
As the same concept from the previous study, it innovates the way of
communication design powered by two smart earphones that have a mobile application for
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
Feedback
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 third part is the crucial part, the development of the program, the text and voice
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
22
2.4.3. Output
The output of this project is the development of the Word Translator Device for
2.4.4. Feedback
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
23
Chapter III
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
the methodology is divided to four different sections: Project Design, Project Development,
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
24
3.1.2. Listed below the materials:
• Raspberry Pi 3
• Micro SD Card 64 GB
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
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
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.
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.
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
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
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
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
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.
3.4.3. Evaluation
For the reliability of the prototype it will be evaluated based on the following
criteria’s:
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
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
31
3 Does the device’s software appropriately function?
Reliability
Usability
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?
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
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:
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
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
33
3.4.4. 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.
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
34
Chapter IV
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
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
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
36
In this figure shows the parts of the prototype which consist of almost all of the
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.
37
In this figure, it shows a brief statement on what the application is all about.
This figure shows the images of the team that develop the application.
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
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
40
4.2. Testing and Evaluation
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”.
The text
efficiently.
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
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
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, 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
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
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
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
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,
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
53
APPENDICES
54
APPENDIX A
References
55
References
Andrews, R. (2009, October 29). The Essence of Good Communication Skills. Retrieved from
Skills&id=3112495
Buhat, K., Matitio, A., & Ornedo, A. (2014, September 1). Selected Philipine Dialect Translator:
https://prezi.com/dpc7ay_dqg5s/selected-philippine-dialect-translator-an-interactive-
andro/
http://www.sqa.net/iso9126.html
Franz, A. M., Horiguchi, K., Duan, L., & Ecker, D. (1999). United States of America Patent No.
US6356865B1.
56
Google. (2017). Google Translate. Retrieved from Google:
https://translate.google.com/intl/en_ALL/about/index.html
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
handheld-translator-with-80-language-support-crowdfunding.html
https://translator.microsoft.com/
BUSINESSTOPIA: https://www.businesstopia.net/communication/language-barriers
Morrison, G. (2017, May 31). Ili (Semi-) Universal Translator Preview: Almost Real-Time
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.
03.ibm.com/ibm/history/ibm100/us/en/icons/translation/
Prigg, M. (2017, March 3). Dont! Panic $249 'BabelFish' Pilot earphones can translate foreign
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;
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>
60
{
public MainPage()
this.InitializeComponent();
this.Frame.Navigate(typeof(TranslatePage));
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"
</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;
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 AboutPage()
this.InitializeComponent();
this.Frame.Navigate(typeof(MainPage));
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"
/>
<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"
TextWrapping="WrapWholeWords"
Foreground="White"
FontFamily="Arial"
FontSize="30"
TextAlignment="Center"
<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"
Foreground="White"
Background="Gray"
BorderBrush="WhiteSmoke"
BorderThickness="2"
FontFamily="Arial"
FontSize="30"
HorizontalAlignment="Left"
Margin="131,383,0,0"
</Grid>
</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;
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>
69
public DeveloperPage()
this.InitializeComponent();
this.Frame.Navigate(typeof(AboutPage));
<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"
/>
<TextBlock x:Name="DeveloperBlk"
HorizontalAlignment="Left"
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"
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"
TextWrapping="WrapWholeWords"
FontFamily="Arial"
Foreground="White"
TextAlignment="Center"
73
FontSize="25"
FontWeight="SemiBold"
<TextBlock x:Name="DarBlk"
HorizontalAlignment="Left"
Margin="503,235,0,0"
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"
TextWrapping="WrapWholeWords"
FontFamily="Arial"
Foreground="White"
TextAlignment="Center"
FontSize="25"
74
FontWeight="SemiBold"
<TextBlock x:Name="JhuBlk"
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;
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 TutorialPage()
this.InitializeComponent();
this.Frame.Navigate(typeof(MainPage));
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"
<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"
<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"
<TextBlock x:Name="textBlock"
HorizontalAlignment="Left"
Margin="104,324,0,0"
FontSize="20"
FontFamily="Arial"
FontWeight="SemiBold"
Foreground="White"
TextAlignment="Center"
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;
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>
83
{
public TutorialPage2()
this.InitializeComponent();
this.Frame.Navigate(typeof(MainPage));
this.Frame.Navigate(typeof(TutorialPage));
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"
<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"
<TextBlock x:Name="textBlock"
HorizontalAlignment="Left"
Margin="106,350,0,0"
FontSize="20"
FontFamily="Arial"
FontWeight="SemiBold"
Foreground="White"
TextAlignment="Center"
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;
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 TutorialPage3()
this.InitializeComponent();
this.Frame.Navigate(typeof(TutorialPage4));
88
private void prevbtn_Click(object sender, RoutedEventArgs e)
this.Frame.Navigate(typeof(TutorialPage2));
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"
<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"
<TextBlock x:Name="textBlock"
HorizontalAlignment="Left"
Margin="104,336,0,0"
FontSize="20"
FontFamily="Arial"
FontWeight="SemiBold"
Foreground="White"
91
TextAlignment="Center"
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;
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 TutorialPage4()
this.InitializeComponent();
this.Frame.Navigate(typeof(TutorialPage5));
this.Frame.Navigate(typeof(TutorialPage3));
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"
<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"
<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"
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;
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 TutorialPage5()
97
this.InitializeComponent();
this.Frame.Navigate(typeof(MainPage));
this.Frame.Navigate(typeof(TutorialPage6));
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"
<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,
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;
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();
this.Frame.Navigate(typeof(TutorialPage5));
this.Frame.Navigate(typeof(MainPage));
<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;
namespace Wireless_Neural_Machine
/// <summary>
/// An empty page that can be used on its own or navigated to within a Frame.
/// </summary>
public SpeechTransPage()
this.InitializeComponent();
this.Frame.Navigate(typeof(TranslatePage));
<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 TypeTextPage()
this.InitializeComponent();
this.Frame.Navigate(typeof(TranslatePage));
118
ComboBoxItem item = box.SelectedItem as ComboBoxItem;
item.Content.ToString();
item1.Content.ToString();
//Tagalog-English
if (item.Content.ToString().Equals("Tagalog") &&
item1.Content.ToString().Equals("English"))
RestClient("https://www.googleapis.com/language/translate/v2?key=AIzaSyBDARrX6nFwzYC
vFMRs1VHC7_v-IIWqcF8&source=tl&target=en&q=" + InputBox.Text);
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);
OutputBlk.Text = json.data.translations[0].translatedText;
//Tagalog-Hiligaynon
if (item.Content.ToString().Equals("Tagalog") &&
item1.Content.ToString().Equals("Hiligaynon"))
ngayong araw"))
120
if (text.Text.Equals("siya nga pala"))
if (text.Text.Equals("kumpara sa"))
iyon"))
ba"))
text1.Text = "nagaugyon";
121
if (text.Text.Equals("naranasan mo ba?") || text.Text.Equals("naranasan mo ba"))
if (text.Text.Equals("paano kung"))
122
}
if (text.Text.Equals("mahal kita"))
if (text.Text.Equals("kailangan ko ng umalis"))
if (text.Text.Equals("takot ako"))
if (text.Text.Equals("tatawagan kita"))
123
text1.Text = "nga tawgon ka";
if (text.Text.Equals("itetext kita"))
if (text.Text.Equals("ako ay umaasa"))
if (text.Text.Equals("ikaw na"))
124
if (text.Text.Equals("bakit kaya?") || text.Text.Equals("bakit kaya"))
if (text.Text.Equals("salamat"))
text1.Text = "pagpasalamat";
sabihin"))
125
if (text.Text.Equals("anung masasabi mo?") || text.Text.Equals("anung masasabi mo"))
if (text.Text.Equals("paano kung"))
text1.Text = "pamangkuta";
126
}
if (text.Text.Equals("magandang ideya"))
if (text.Text.Equals("tama sya"))
if (text.Text.Equals("mali sya"))
text.Text.Equals("kumusta"))
127
if (text.Text.Equals("kumain na ako"))
if (text.Text.Equals("gusto kita"))
128
text1.Text = "nanamian ako inyo";
if (text.Text.Equals("kukunin ko"))
if (text.Text.Equals("masaya ako"))
if (text.Text.Equals("malungkot ako"))
text1.Text = "kahimtagan";
129
if (text.Text.Equals("kailangan ko na umuwi"))
if (text.Text.Equals("masarap"))
text1.Text = "namit";
if (text.Text.Equals("salamat sa tulong"))
130
}
if (text.Text.Equals("maraming salamat"))
if (text.Text.Equals("magandang umaga"))
if (text.Text.Equals("magandang hapon"))
if (text.Text.Equals("magandang gabi"))
//Tagalog-Ilokano
if (item.Content.ToString().Equals("Tagalog") &&
item1.Content.ToString().Equals("Ilokano"))
131
if (text.Text.Equals("sigurado ka ba"))
if (text.Text.Equals("naiisip mo ba"))
text1.Text = "napanunot";
if (text.Text.Equals("naranasan mo ba"))
if (text.Text.Equals("paano kung"))
text1.Text = "kasatnu";
if (text.Text.Equals("paano dumating"))
132
}
if (text.Text.Equals("gaano katagal"))
if (text.Text.Equals("gusto ko"))
if (text.Text.Equals("ayoko sa iyo"))
if (text.Text.Equals("mahal kita"))
133
text1.Text = "ayayaten kita";
if (text.Text.Equals("kailangan ko na umalis"))
if (text.Text.Equals("takot ako"))
if (text.Text.Equals("tatawagan kita"))
if (text.Text.Equals("mabuti ba ito"))
if (text.Text.Equals("ako ay umaasa"))
134
if (text.Text.Equals("ikaw na"))
if (text.Text.Equals("bakit kaya"))
if (text.Text.Equals("salamat sayo"))
135
text1.Text = "agyaman nak kenka";
if (text.Text.Equals("paano kung"))
text1.Text = "kasano";
if (text.Text.Equals("bakit hindi"))
136
{
if (text.Text.Equals("magandang ideya"))
137
if (text.Text.Equals("tama siya"))
text1.Text = "";
if (text.Text.Equals("mali siya"))
if (text.Text.Equals("kumain na ako"))
138
text1.Text = "haan ko kayat dayjay";
if (text.Text.Equals("gusto kita"))
if (text.Text.Equals("kukunin ko ito"))
if (text.Text.Equals("masaya ako"))
if (text.Text.Equals("malungkot ako"))
139
{
if (text.Text.Equals("kailangan ko na umuwi"))
if (text.Text.Equals("masarap"))
140
if (text.Text.Equals("makita ka ngayong gabi"))
if (text.Text.Equals("salamat sa tulong"))
if (text.Text.Equals("maraming salamat"))
if (text.Text.Equals("magandang umaga"))
if (text.Text.Equals("maayong hapon"))
141
text1.Text = "magandang hapon";
if (text.Text.Equals("magandang tanghali"))
if (text.Text.Equals("magandang gabi"))
if (text.Text.Equals("maligayang pista"))
142
if (text.Text.Equals("kumain ka na ba"))
//Cebuano-Hiligaynon
if (item.Content.ToString().Equals("Cebuano") &&
item1.Content.ToString().Equals("Hiligaynon"))
if (text.Text.Equals("giunsa ka karon"))
if (text.Text.Equals("sigurado ka"))
if (text.Text.Equals("siya mao"))
if (text.Text.Equals("itandi sa"))
143
text1.Text = "ginapaangid sa";
text1.Text = "nagaugyon";
if (text.Text.Equals("nakasinati ka na ba sukad"))
if (text.Text.Equals("giunsa moabut"))
144
{
if (text.Text.Equals("unsa ka sagad"))
if (text.Text.Equals("ikaw wala"))
if (text.Text.Equals("gihigugma ko ikaw"))
145
if (text.Text.Equals("wala akoy ideya"))
if (text.Text.Equals("tawgon ko ikaw"))
if (text.Text.Equals("maayo ba"))
146
text1.Text = "kalain sina";
if (text.Text.Equals("makadaot ba kini"))
if (text.Text.Equals("nanghinaut ko"))
if (text.Text.Equals("ikaw na"))
147
if (text.Text.Equals("salamat"))
text1.Text = "pagpasalamat";
148
}
if (text.Text.Equals("nganong dili"))
text1.Text = "pamangkuta";
if (text.Text.Equals("ayaw kabalaka"))
if (text.Text.Equals("maayong ideya"))
if (text.Text.Equals("tama sya"))
149
text1.Text = "gintadlong niya";
if (text.Text.Equals("kini sayup"))
if (text.Text.Equals("giunsa ka karon"))
if (text.Text.Equals("nakakaon ako"))
150
if (text.Text.Equals("dili ko gusto niini"))
if (text.Text.Equals("gusto ko nimo"))
if (text.Text.Equals("ako mobayad"))
if (text.Text.Equals("kuhaon ko kini"))
if (text.Text.Equals("nalipay ko"))
151
}
if (text.Text.Equals("naguol ko"))
text1.Text = "kahimtagan";
if (text.Text.Equals("ako okay"))
if (text.Text.Equals("lami"))
text1.Text = "namit";
152
text1.Text = "makita ninyo karon";
if (text.Text.Equals("daghang salamat"))
if (text.Text.Equals("salamat sa tabang"))
if (text.Text.Equals("salamat kaayo"))
//Cebuano-Ilokano
if (item.Content.ToString().Equals("Cebuano") &&
item1.Content.ToString().Equals("Ilokano"))
if (text.Text.Equals("sigurado ka"))
153
if (text.Text.Equals("sa imong hunahuna"))
text1.Text = "napanunot";
if (text.Text.Equals("nakasinati ka na ba sukad"))
text1.Text = "kasatnu";
if (text.Text.Equals("giunsa moabut"))
154
text1.Text = "haan naka nakatulong";
if (text.Text.Equals("ganahan ko niini"))
if (text.Text.Equals("ikaw wala"))
if (text.Text.Equals("gihigugma ko ikaw"))
155
{
if (text.Text.Equals("maayo ba"))
if (text.Text.Equals("nanghinaut ko"))
if (text.Text.Equals("ikaw na"))
156
if (text.Text.Equals("bisan unsa pa"))
if (text.Text.Equals("pagsulti"))
if (text.Text.Equals("daghang salamat"))
if (text.Text.Equals("salamat"))
157
text1.Text = "anya kayat mo sawen";
if (text.Text.Equals("nganong dili"))
if (text.Text.Equals("pagbantay sa"))
158
if (text.Text.Equals("ayaw kabalaka"))
if (text.Text.Equals("maayong ideya"))
if (text.Text.Equals("tama sya"))
if (text.Text.Equals("kini sayup"))
159
}
if (text.Text.Equals("nakakaon ako"))
if (text.Text.Equals("gusto ko nimo"))
160
text1.Text = "kayat ka";
if (text.Text.Equals("ako mobayad"))
if (text.Text.Equals("kuhaon ko kini"))
if (text.Text.Equals("nalipay ko"))
if (text.Text.Equals("naguol ko"))
if (text.Text.Equals("ako okay"))
161
if (text.Text.Equals("kinahanglan kong mopauli"))
if (text.Text.Equals("daghang salamat"))
162
}
if (text.Text.Equals("salamat sa tabang"))
if (text.Text.Equals("salamat kaayo"))
if (text.Text.Equals("maayong buntag"))
if (text.Text.Equals("maayong hapon"))
if (text.Text.Equals("maayong ugto"))
if (text.Text.Equals("maayong gabi"))
163
text1.Text = "maayong gabi-i";
if (text.Text.Equals("diin ka gikan"))
if (text.Text.Equals("diin ka gikan"))
//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);
OutputBlk.Text = json.data.translations[0].translatedText
//Cebuano-English
if (item.Content.ToString().Equals("Cebuano") &&
item1.Content.ToString().Equals("English"))
RestClient("https://www.googleapis.com/language/translate/v2?key=AIzaSyBDARrX6nFwzYC
vFMRs1VHC7_v-IIWqcF8&source=ceb&target=en&q=" + InputBox.Text);
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("napat-od mo imo"))
if (text.Text.Equals("paagi sa"))
if (text.Text.Equals("ginapaangid sa"))
166
}
if (text.Text.Equals("nagaugyon"))
if (text.Text.Equals("ginahunahuna mo"))
if (text.Text.Equals("nagsulod na bala"))
if (text.Text.Equals("ginastorya mo"))
167
text1.Text = "unsa ka sagad";
if (text.Text.Equals("gusto ko na gid"))
if (text.Text.Equals("ako sa pagdumot"))
168
if (text.Text.Equals("gintugutan ko nga mabihag"))
if (text.Text.Equals("ako nahadlok"))
if (text.Text.Equals("kalain sina"))
169
}
if (text.Text.Equals("si magpaabot"))
if (text.Text.Equals("pagpasalamat"))
text1.Text = "salamat";
170
text1.Text = "unsay akong mahimo alang kanimo";
if (text.Text.Equals("paano kon"))
if (text.Text.Equals("pamangkuta"))
171
if (text.Text.Equals("no kabalaka"))
if (text.Text.Equals("tanan sa handa"))
if (text.Text.Equals("gintadlong niya"))
if (text.Text.Equals("sia nagsayop"))
172
}
if (text.Text.Equals("nga ko luyag"))
173
text1.Text = "gibati ko nga maayo";
if (text.Text.Equals("ngako talupangdon"))
if (text.Text.Equals("ngako ginakuha"))
if (text.Text.Equals("si malipayon"))
if (text.Text.Equals("kahimtagan"))
174
{
if (text.Text.Equals("namit"))
text1.Text = "lami";
175
if (text.Text.Equals("salamat gid sa nga bulig"))
//Hiligaynon-Ilokano
if (item.Content.ToString().Equals("Hiligaynon") &&
item1.Content.ToString().Equals("Ilokano"))
if (text.Text.Equals("napat od mo imo"))
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("gusto ko na gid"))
if (text.Text.Equals("ako sa pagdumot"))
177
if (text.Text.Equals("palangga ko gid ikaw"))
if (text.Text.Equals("ako nahadlok"))
if (text.Text.Equals("kalain sina"))
if (text.Text.Equals("si magpaabot"))
178
}
if (text.Text.Equals("nagsiling sang"))
if (text.Text.Equals("pagpasalamat"))
179
text1.Text = "agyaman nak kenka";
if (text.Text.Equals("paano kon"))
180
if (text.Text.Equals("pamangkuta"))
if (text.Text.Equals("halungi ang"))
if (text.Text.Equals("no kabalaka"))
if (text.Text.Equals("tanan sa handa"))
181
}
if (text.Text.Equals("gintadling niya"))
if (text.Text.Equals("sia nagsayop"))
182
text1.Text = "haan ko kayat dayjay";
if (text.Text.Equals("ngako luyag"))
if (text.Text.Equals("ngako talupangdon"))
if (text.Text.Equals("ngako ginakuha"))
if (text.Text.Equals("si malipayon"))
if (text.Text.Equals("si kahimtangan"))
183
{
if (text.Text.Equals("kinamit gid"))
184
if (text.Text.Equals("makita ninyo gab-i"))
if (text.Text.Equals("maayong aga"))
if (text.Text.Equals("maayong hapon"))
185
text1.Text = "maayong hapon";
if (text.Text.Equals("maayong ugto"))
if (text.Text.Equals("maayong gabi"))
if (text.Text.Equals("malipayong fiesta"))
if (text.Text.Equals("nakakaon kana"))
186
{
//Hiligaynon-Tagalog
if (item.Content.ToString().Equals("Hiligaynon") &&
item1.Content.ToString().Equals("Tagalog"))
if (text.Text.Equals("paagi sa"))
if (text.Text.Equals("ginapaangid sa"))
187
}
inyo agod"))
if (text.Text.Equals("nagaugyon?") || text.Text.Equals("nagaugyon"))
if (text.Text.Equals("ginastorya mo"))
188
{
kasunson"))
if (text.Text.Equals("gusto ko na gid"))
if (text.Text.Equals("ako sa pagdumot"))
189
}
if (text.Text.Equals("ako nahadlok"))
190
text1.Text = "mabuti ba ito?";
indi maayo"))
if (text.Text.Equals("si magpaabot"))
kong ngaa"))
191
}
if (text.Text.Equals("pagpasalamat"))
text1.Text = "salamat";
if (text.Text.Equals("paano kon"))
192
text1.Text = "anung paborito mo";
if (text.Text.Equals("pamangkuta"))
if (text.Text.Equals("no kabalaka"))
if (text.Text.Equals("tanan sa handa"))
if (text.Text.Equals("gintadlong niya"))
193
{
if (text.Text.Equals("sia nagsayop"))
194
if (text.Text.Equals("ako dili luyag ini"))
if (text.Text.Equals("ngako talupangdon"))
if (text.Text.Equals("ngako ginakuha"))
if (text.Text.Equals("si malipayon"))
195
}
if (text.Text.Equals("kahimtagan"))
if (text.Text.Equals("namit"))
text1.Text = "masarap";
196
text1.Text = "kita tayo bukas";
if (text.Text.Equals("maayong aga"))
if (text.Text.Equals("maayong hapon"))
if (text.Text.Equals("maayong gabi"))
197
{
//Hiligaynon-English
if (item.Content.ToString().Equals("Hiligaynon") &&
item1.Content.ToString().Equals("English"))
if (text.Text.Equals("napat-od mo imo"))
if (text.Text.Equals("paagi sa"))
if (text.Text.Equals("ginapaangid sa"))
198
}
if (text.Text.Equals("nagaugyon"))
if (text.Text.Equals("ginahunahuna mo"))
if (text.Text.Equals("nagsulod na bala"))
if (text.Text.Equals("ginastorya mo"))
199
text1.Text = "how come";
if (text.Text.Equals("gusto ko na gid"))
if (text.Text.Equals("ako sa pagdumot"))
200
{
if (text.Text.Equals("ako nahadlok"))
if (text.Text.Equals("kalain sina"))
201
if (text.Text.Equals("ginakabig nga indi maayo"))
if (text.Text.Equals("si magpaabot"))
if (text.Text.Equals("pagpasalamat"))
text1.Text = "thanks";
202
}
if (text.Text.Equals("paano kon"))
if (text.Text.Equals("pamangkuta"))
203
text1.Text = "why not";
if (text.Text.Equals("no kabalaka"))
if (text.Text.Equals("tanan sa handa"))
if (text.Text.Equals("gintadlong niya"))
if (text.Text.Equals("sia nagsayop"))
204
{
205
if (text.Text.Equals("nga ko luyag"))
if (text.Text.Equals("ngako talupangdon"))
if (text.Text.Equals("ngako ginakuha"))
if (text.Text.Equals("si malipayon"))
if (text.Text.Equals("kahimtagan"))
206
text1.Text = "im sad";
if (text.Text.Equals("namit"))
text1.Text = "delicious";
207
{
//Ilokano-Cebuano
if (item.Content.ToString().Equals("Ilokano") &&
item1.Content.ToString().Equals("Cebuano"))
if (text.Text.Equals("siguradoka aya"))
if (text.Text.Equals("napanunot"))
208
}
if (text.Text.Equals("napadasam ba"))
if (text.Text.Equals("kasatnu"))
if (text.Text.Equals("kasatnu nakasangpet"))
if (text.Text.Equals("kasano kabayag"))
if (text.Text.Equals("haan ko maurayen"))
209
text1.Text = "dili ako makahulat";
if (text.Text.Equals("kayat ko"))
if (text.Text.Equals("madi ka kayat"))
if (text.Text.Equals("ayayaten kita"))
if (text.Text.Equals("masapol ko pumanawen"))
if (text.Text.Equals("mabuteng nak"))
if (text.Text.Equals("tawagan kanto"))
210
{
if (text.Text.Equals("sika lattan"))
if (text.Text.Equals("apay ngata"))
211
if (text.Text.Equals("sao maypanggep iti"))
text1.Text = "pagsulti";
text1.Text = "salamat";
if (text.Text.Equals("anya ti maibagam"))
212
text1.Text = "unsay imong gisulti";
if (text.Text.Equals("kasano"))
if (text.Text.Equals("anya ti maibagam"))
if (text.Text.Equals("haan ka agdanag"))
213
if (text.Text.Equals("ammo iti amin daytoy"))
if (text.Text.Equals("usto isuna"))
if (text.Text.Equals("nangan nakun"))
214
}
if (text.Text.Equals("maya ti panagriknak"))
if (text.Text.Equals("kayat ka"))
if (text.Text.Equals("siyak to agbayad"))
215
text1.Text = "ako mobayad ";
if (text.Text.Equals("alaek daytoy"))
if (text.Text.Equals("naragsak nak"))
if (text.Text.Equals("naliday nak"))
if (text.Text.Equals("masapol ko agawiden"))
if (text.Text.Equals("naimas dayta"))
216
{
if (text.Text.Equals("makita ka damdama"))
if (text.Text.Equals("agkita ta nu bigat"))
217
if (text.Text.Equals("agyaman nak la unay"))
if (text.Text.Equals("maayong aga"))
if (text.Text.Equals("maayong hapon"))
if (text.Text.Equals("maayong ugto"))
if (text.Text.Equals("maayong gabi-i"))
if (text.Text.Equals("malipayong fiesta"))
218
text1.Text = "malipayon nga fiesta";
if (text.Text.Equals("di-in ka halin"))
//Ilokano-Hiligaynon
if (item.Content.ToString().Equals("Ilokano") &&
item1.Content.ToString().Equals("Hiligaynon"))
if (text.Text.Equals("siguradoka aya"))
219
if (text.Text.Equals("napanunot"))
if (text.Text.Equals("napadasam ba"))
if (text.Text.Equals("kasatnu"))
if (text.Text.Equals("kasatnu nakasangpet"))
if (text.Text.Equals("kasano kabayag"))
if (text.Text.Equals("haan ko maurayen"))
220
text1.Text = "gusto ko na gid";
if (text.Text.Equals("madi ka kayat"))
if (text.Text.Equals("ayayaten kita"))
if (text.Text.Equals("masapol ko pumanawen"))
if (text.Text.Equals("mabuteng nak"))
if (text.Text.Equals("tawagan kanto"))
221
{
if (text.Text.Equals("sika lattan"))
if (text.Text.Equals("apay ngata"))
222
if (text.Text.Equals("agyaman nak la unay kenka"))
text1.Text = "pagpasalamat";
if (text.Text.Equals("anya ti maibagam"))
if (text.Text.Equals("kasano"))
223
}
if (text.Text.Equals("anya ti maibagam"))
text1.Text = "pamangkuta";
if (text.Text.Equals("haan ka agdanag"))
224
text1.Text = "tanan sa handa";
if (text.Text.Equals("usto isuna"))
if (text.Text.Equals("nangan nakun"))
225
{
if (text.Text.Equals("maya ti panagriknak"))
if (text.Text.Equals("kayat ka"))
if (text.Text.Equals("siyak to agbayad"))
if (text.Text.Equals("alaek daytoy"))
226
if (text.Text.Equals("naragsak nak"))
if (text.Text.Equals("naliday nak"))
if (text.Text.Equals("masapol ko agawiden"))
if (text.Text.Equals("naimas dayta"))
if (text.Text.Equals("makita ka damdama"))
227
}
if (text.Text.Equals("agkita ta nu bigat"))
if (text.Text.Equals("maayong aga"))
228
text1.Text = "maayong aga";
if (text.Text.Equals("maayong hapon"))
if (text.Text.Equals("maayong ugto"))
if (text.Text.Equals("maayong gab-i"))
if (text.Text.Equals("malipayong fiesta"))
if (text.Text.Equals("di-in ka halin"))
229
{
//Ilokano-Tagalog
if (item.Content.ToString().Equals("Ilokano") &&
item1.Content.ToString().Equals("Tagalog"))
if (text.Text.Equals("siguradoka aya"))
if (text.Text.Equals("napanunot"))
230
}
if (text.Text.Equals("napadasam ba"))
if (text.Text.Equals("kasatnu"))
if (text.Text.Equals("kasatnu nakasangpet"))
if (text.Text.Equals("kasano kabayag"))
if (text.Text.Equals("haan ko maurayen"))
231
text1.Text = "hindi na ako makapaghintay";
if (text.Text.Equals("kayat ko"))
if (text.Text.Equals("madi ka kayat"))
if (text.Text.Equals("ayayaten kita"))
if (text.Text.Equals("masapol ko pumanawen"))
if (text.Text.Equals("mabuteng nak"))
if (text.Text.Equals("tawagan kanto"))
232
{
if (text.Text.Equals("sika lattan"))
if (text.Text.Equals("apay ngata"))
233
if (text.Text.Equals("sao maypanggep iti"))
if (text.Text.Equals("anya ti maibagam"))
234
}
if (text.Text.Equals("kasano"))
if (text.Text.Equals("anya ti maibagam"))
if (text.Text.Equals("haan ka agdanag"))
235
text1.Text = "alam ito ng lahat";
if (text.Text.Equals("usto isuna"))
if (text.Text.Equals("nangan nakun"))
236
{
if (text.Text.Equals("maya ti panagriknak"))
if (text.Text.Equals("kayat ka"))
if (text.Text.Equals("siyak to agbayad"))
237
if (text.Text.Equals("alaek daytoy"))
if (text.Text.Equals("naragsak nak"))
if (text.Text.Equals("naliday nak"))
if (text.Text.Equals("masapol ko agawiden"))
if (text.Text.Equals("naimas dayta"))
text1.Text = "masarap";
238
}
if (text.Text.Equals("makita ka damdama"))
if (text.Text.Equals("agkita ta nu bigat"))
239
text1.Text = "maraming salamat";
if (text.Text.Equals("maayong aga"))
if (text.Text.Equals("maayong hapon"))
if (text.Text.Equals("maayong ugto"))
if (text.Text.Equals("maayong gabi-i"))
if (text.Text.Equals("malipayong fiesta"))
240
{
if (text.Text.Equals("di-in ka halin"))
//Ilokano-English
if (item.Content.ToString().Equals("Ilokano") &&
item1.Content.ToString().Equals("English"))
if (text.Text.Equals("siguradoka aya"))
241
}
if (text.Text.Equals("napanunot"))
if (text.Text.Equals("napadasam ba"))
if (text.Text.Equals("kasatnu"))
if (text.Text.Equals("kasatnu nakasangpet"))
if (text.Text.Equals("kasano kabayag"))
242
text1.Text = "i cant help";
if (text.Text.Equals("haan ko maurayen"))
if (text.Text.Equals("kayat ko"))
if (text.Text.Equals("madi ka kayat"))
if (text.Text.Equals("ayayaten kita"))
if (text.Text.Equals("masapol ko pumanawen"))
if (text.Text.Equals("mabuteng nak"))
243
{
if (text.Text.Equals("tawagan kanto"))
if (text.Text.Equals("sika lattan"))
if (text.Text.Equals("apay ngata"))
244
if (text.Text.Equals("uray anya pay"))
245
}
if (text.Text.Equals("anya ti maibagam"))
if (text.Text.Equals("kasano"))
if (text.Text.Equals("anya ti maibagam"))
if (text.Text.Equals("haan ka agdanag"))
246
text1.Text = "dont worry";
if (text.Text.Equals("usto isuna"))
if (text.Text.Equals("nangan nakun"))
247
{
if (text.Text.Equals("maya ti panagriknak"))
if (text.Text.Equals("kayat ka"))
248
if (text.Text.Equals("siyak to agbayad"))
if (text.Text.Equals("alaek daytoy"))
if (text.Text.Equals("naragsak nak"))
if (text.Text.Equals("naliday nak"))
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"))
if (text.Text.Equals("agkita ta nu bigat"))
250
{
if (text.Text.Equals("maayong aga"))
if (text.Text.Equals("maayong hapon"))
if (text.Text.Equals("maayong ugto"))
if (text.Text.Equals("maayong gabi-i"))
251
if (text.Text.Equals("malipayong fiesta"))
if (text.Text.Equals("di-in ka halin"))
//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);
OutputBlk.Text = json.data.translations[0].translatedText;
//English-Hiligaynon
if (item.Content.ToString().Equals("English") &&
item1.Content.ToString().Equals("Hiligaynon"))
253
}
if (text.Text.Equals("compared to"))
text1.Text = "nagaugyon";
if (text.Text.Equals("how about"))
254
text1.Text = "ginastorya mo";
if (text.Text.Equals("how come"))
if (text.Text.Equals("how often"))
255
{
if (text.Text.Equals("im afraid"))
256
if (text.Text.Equals("is it good"))
if (text.Text.Equals("is it bad"))
257
}
if (text.Text.Equals("thanks"))
text1.Text = "pagpasalamat";
if (text.Text.Equals("what if"))
258
text1.Text = "ano imo paborito nga?";
if (text.Text.Equals("why not"))
text1.Text = "pamangkuta";
if (text.Text.Equals("dont worry"))
if (text.Text.Equals("everything is ready"))
if (text.Text.Equals("good idea"))
259
{
260
if (text.Text.Equals("i dont want it"))
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"))
if (text.Text.Equals("delicious"))
text1.Text = "namit";
262
{
//English-Ilokano
if (item.Content.ToString().Equals("English") &&
item1.Content.ToString().Equals("Ilokano"))
263
}
text1.Text = "napanunot";
if (text.Text.Equals("how about"))
text1.Text = "kasatnu";
if (text.Text.Equals("how come"))
264
text1.Text = "kasano kabayag";
265
{
if (text.Text.Equals("im afraid"))
if (text.Text.Equals("is it good"))
266
if (text.Text.Equals("i wonder why"))
if (text.Text.Equals("speaking of"))
if (text.Text.Equals("thanks to you"))
if (text.Text.Equals("thank you"))
267
text1.Text = "anya ti mabalin ko nga maaramid kenka";
if (text.Text.Equals("what if"))
if (text.Text.Equals("why not"))
268
{
if (text.Text.Equals("dont worry"))
if (text.Text.Equals("everything is ready"))
if (text.Text.Equals("good idea"))
269
if (text.Text.Equals("he is wrong") || text.Text.Equals("she is wrong"))
270
text1.Text = "maya ti panagriknak";
if (text.Text.Equals("ill pay"))
if (text.Text.Equals("im happy"))
if (text.Text.Equals("im sad"))
if (text.Text.Equals("im fine"))
271
{
if (text.Text.Equals("delicious"))
272
if (text.Text.Equals("thanks for everything"))
if (text.Text.Equals("good morning"))
if (text.Text.Equals("good afernon"))
if (text.Text.Equals("good noon"))
273
text1.Text = "maayong ugto";
if (text.Text.Equals("good evening"))
if (text.Text.Equals("happy fiesta"))
274
//English-Tagalog
if (item.Content.ToString().Equals("English") &&
item1.Content.ToString().Equals("Tagalog"))
RestClient("https://www.googleapis.com/language/translate/v2?key=AIzaSyBDARrX6nFwzYC
vFMRs1VHC7_v-IIWqcF8&source=en&target=tl&q=" + InputBox.Text);
OutputBlk.Text = json.data.translations[0].translatedText;
275
APPENDIX C
List of Materials
276
Costing
Powerbank 750 1
Acrylic 246.00 1
Casing 1,200.00 1
277
APPENDIX D
Curriculum Vitae of the Researchers
278