RESEARCHERS have developed a framework capable of creating Android applications from textual descriptions. Could it be a game-changer when it comes to app creation?
In some ways it's nothing short of a mini revolution! Researchers from the University of California, Los Angeles and the Bangladesh University of Engineering and Technology (BUET) have succeeded in developing a framework that can create an application on Android from text. They trained a translation model to generate representations in an intermediate language they created.
This method is different from other existing techniques that use raw code. The latter are based on neural machine translation, similar to that used by Google Translate, and "translate" human language into source code. While these methods work, they are unable to create larger programs with hundreds of lines of code. This is what motivated the researchers to create a new language that would capture the complexity of source code by representing it in textual form.
"Our research group at the Department of CSE, BUET works on bridging the gap between human language and programming language to make computer programming more accessible," Masum Hasan, one of the researchers who worked on the study, told TechXplore. "We designed an intermediate formal language...We then developed a compiler that can convert the compact representation into actual source code and trained a neural machine translation model to translate natural language to this intermediate format, which can then be compiled into an app."
Text2App, an open source revolution
By transforming text descriptions into this language, the researchers were able to create full-fledged mobile applications, which had proved unfeasible with previously proposed methods. This "framework" created by the team of researchers is called Text2App and allows the creation of Android applications using English text only. You just have to describe the desired application and the framework takes care of the rest. If this still sounds a bit mysterious, try to imagine it more simply. Describing an idea, a button, a menu is rather simple thanks to text and there is no need for more. The compiler takes care of the specifics of the code by offering solutions.
In the future, various researchers' work will allow for the introduction of new ways of summarizing or representing programs. This will allow novices to better understand how the technology of artificial intelligence works, as well as jobs related to coding. This new language will also improve the ability to convert natural languages into an app format.
"If we design programming languages or frameworks with AI in mind, our current AI technologies can perform remarkably better in code generation from human language," outlined Hasan. The researchers have so far only explored a fraction of their program's true capabilities, so they are offering the opportunity to the open source community to contribute to its evaluation and propose developments. Hasan and his team also hope to use deep-learning machines like the GPT-3, founded by the company OpenAI, to create even more complex applications.
ETX Studio
Sat Jun 05 2021
The Text2App program allows you to create Android apps from text. ETXStudiopic
Kampung Tanjung Kala residents affected by flooded bridge every time it rains heavily
Almost 200 residents from 60 homes in Kampung Tanjung Kala have ended up stuck when their 200-metre (m) long concrete bridge flooded.
COP29 climate summit draft proposes rich countries pay $250 billion per year
The draft finance deal criticised by both developed and developing nations.
Bomb squad sent to London's Gatwick Airport after terminal evacuation
This was following the discovery of a suspected prohibited item in luggage.
Kelantan urges caution amidst northeast monsoon rains
Kelantan has reminded the public in the state to refrain from outdoor activities with the arrival of the Northeast Monsoon season.
Former New Zealand PM Jacinda Ardern receives UN leadership award
Former New Zealand prime minister Jacinda Ardern was given a global leadership award by the United Nations Foundation.
ICC'S arrest warrants for Netanyahu, Gallant an apt decision - PM
The decision of the ICC to issue arrest warrants against Benjamin Netanyahu and Yoav Gallant is apt, said Datuk Seri Anwar Ibrahim.
KTMB provides two additional ETS trains for Christmas, school holidays
KTMB will provide two additional ETS trains for the KL Sentral-Padang Besar route and return trips in conjunction with the holidays.
BNM'S international reserves rise to USD118 bil as at Nov 15, 2024
Malaysia's international reserves rose to US$118.0 billion as at Nov 15, 2024, up from US$117.6 billion on Oct 30, 2024.
Findings by dark energy researchers back Einstein's conception of gravity
The findings announced are part of a years-long study of the history of the cosmos focusing upon dark energy.
NRES responds to Rimbawatch press release on COP29
The Ministry of Natural Resources and Environmental Sustainability (NRES) wishes to offer the following clarifications to the issues raised.
Online Safety Bill and Anti-Cyberbullying Laws must carefully balance rights and protections
The Online Safety Advocacy Group (OSAG) stands united with people in Malaysia in the fight against serious online harms.
Malaysia's inflation at 1.9 pct in Oct 2024 - DOSM
Malaysia's inflation rate for October 2024 has increased to 1.9 per cent, up from 1.8 per cent in September this year.
Saudi Arabia showcases Vision 2030 goals at Airshow China 2024
For the first time, Saudi Arabia is participating in the China International Aviation & Aerospace Exhibition held recently in Zhuhai.
King Charles' coronation cost GBP 71mil, govt accounts show
The coronation of Britain's King Charles cost taxpayers GBP72 million (US$90 million), official accounts have revealed.
Couple and associate charged with trafficking 51.9 kg of meth
A married couple and a man were charged in the Magistrate's Court here today with trafficking 51.974 kilogrammes of Methamphetamine.
PDRM to consult AGC in completing Teoh Beng Hock investigation
The police may seek new testimony from existing witnesses for additional insights into the investigation of Teoh Beng Hock's death.
Thai court rejects petition over ex-PM Thaksin's political influence
Thailand's Constitutional Court rejects a petition seeking to stop Thaksin Shinawatra from interfering in the running the Pheu Thai party.
Abidin takes oath of office as Sungai Bakap assemblyman
The State Assemblyman for Sungai Bakap, Abidin Ismail, was sworn in today at the State Assembly building, Lebuh Light.
UPNM cadet officer charged with injuring junior, stomping on him with spike boots
A cadet officer at UPNM pleaded not guilty to a charge of injuring his junior by stomping on the victim's stomach with spike boots.
How Indian billionaire Gautam Adani's alleged bribery scheme took off and unraveled
The indictment was unsealed on Nov. 20, prompting a $27 billion plunge in Adani Group companies' market value.