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
Iran's supreme leader says Hamas leader's death will not halt 'Axis of Resistance'
The "Axis of Resistance", built up with years of Iranian support, includes Hamas, the Lebanese Hezbollah group, the Houthi movement in Yemen, and various Shi'ite groups in Iraq and Syria.
Putin says Russia willing to seek compromises between Iran and Israel
Russia is ready to help seek compromises between arch-foes Israel and Iran, President Vladimir Putin said on Friday, saying these would be difficult but possible.
What proposals will Russia push at the BRICS summit?
The proposal is also to establish a BRICS reinsurance company to allow uninterrupted shipment of goods and key commodities between members.
Indonesia's free meals plan in the spotlight as Prabowo readies for office
Prabowo calls the programme one of the main drivers of economic growth, eventually set to add an estimated 2.5 million jobs.
Astro AWANI's revamped English news website, AWANI International, launches on Oct 21
Astro AWANI's revamped English platform delivers in-depth global news and expert analysis to keep you informed on key developments.
Israeli strikes kill 33 people in Jabalia refugee camp in Gaza, medics say
Residents of Jabalia said Israeli tanks had reached the heart of the camp after pushing through suburbs and residential districts.
Liam Payne's ex-partner calls for media restraint after 'painful' death
Cheryl Tweedy used her statement to urge the media to remember they had a seven-year-old son, Bear, who could read the reports.
Analysts: Indonesia's strong MoF leadership team to boost investor confidence
Sri Mulyani Indrawati as head of Indonesia's Ministry of Finance is expected to instil confidence among investors.
Biden offers both a carrot and a stick to Israel as his term nears an end
Israel has frequently resisted US advice and has caused political difficulties for the Biden administration.
Putin says BRICS will generate most of global economic growth
Russian President Vladimir Putin will host a summit of the group in the city of Kazan on Oct. 22-24.
ISIS Malaysia's perspective of Budget 2025
An excellent rakyat-centric budget under the overarching principle of a caring and humane economy.
Budget 2025: Record increase in STR, SARA aid initiatives
The government will provide a significant boost to the Sumbangan Tunai Rahmah (STR) and Sumbangan Asas Rahmah (SARA) initiatives next year.
Budget 2025: EPF contributions to be made mandatory for foreign workers – PM Anwar
The government plans to make it compulsory for all non-citizen workers to contribute to the Employees Provident Fund (EPF).
What policies to expect from Indonesia's new President Prabowo
Prabowo will be open to foreign investment, his aide has said, such as by offering investors management of airports and sea ports.
Budget 2025: Govt allocates RM470 mil to empower women's participation in PMKS
The Women's Leadership Apprenticeship Program will be intensified as an effort to produce more female corporate personalities.
Israel sends more troops into north Gaza, deepens raid
Residents of Jabalia in northern Gaza said Israeli tanks had reached the heart of the camp, using heavy air and ground fire.
Indonesia ramps up security ahead of Prabowo's inauguration
Prabowo Subianto will be sworn in as Indonesia's president on Sunday with Vice President-elect, Gibran Rakabuming Raka, also taking office.
Immediate allocation of RM150 mil for local authorities, DID to tackle flash floods
Datuk Seri Anwar Ibrahim said this allocation is intended to address the recent flash floods that hit the capital and several major towns.
Budget 2025: Sabah, Sarawak to continue receiving among highest allocations - PM
Sabah and Sarawak continues to be prioritised under Budget 2025, with allocations of RM6.7 billion and RM5.9 billion respectively.
NFOF will be operational in November 2024 with funding of RM1 bil
PM Anwar Ibrahim said NFOF will support venture capital fund managers to invest in startup companies with RM300 million set aside for 2025.