Text2App: A Framework for Creating Android Apps from Text Descriptions

04/16/2021
by   Masum Hasan, et al.
0

We present Text2App – a framework that allows users to create functional Android applications from natural language specifications. The conventional method of source code generation tries to generate source code directly, which is impractical for creating complex software. We overcome this limitation by transforming natural language into an abstract intermediate formal language representing an application with a substantially smaller number of tokens. The intermediate formal representation is then compiled into target source codes. This abstraction of programming details allows seq2seq networks to learn complex application structures with less overhead. In order to train sequence models, we introduce a data synthesis method grounded in a human survey. We demonstrate that Text2App generalizes well to unseen combination of app components and it is capable of handling noisy natural language instructions. We explore the possibility of creating applications from highly abstract instructions by coupling our system with GPT-3 – a large pretrained language model. The source code, a ready-to-run demo notebook, and a demo video are publicly available at <http://text2app.github.io>.

READ FULL TEXT
research
03/22/2023

JaCoText: A Pretrained Model for Java Code-Text Generation

Pretrained transformer-based models have shown high performance in natur...
research
07/10/2023

COMEX: A Tool for Generating Customized Source Code Representations

Learning effective representations of source code is critical for any Ma...
research
04/28/2023

Outline, Then Details: Syntactically Guided Coarse-To-Fine Code Generation

For a complicated algorithm, its implementation by a human programmer us...
research
10/11/2021

Generalizing to New Domains by Mapping Natural Language to Lifted LTL

Recent work on using natural language to specify commands to robots has ...
research
05/25/2023

ChatGPT for PLC/DCS Control Logic Generation

Large language models (LLMs) providing generative AI have become popular...
research
12/12/2022

A Pre-Trained BERT Model for Android Applications

The automation of an increasingly large number of software engineering t...
research
04/02/2013

Software for creating pictures in the LaTeX environment

To create a text with graphic instructions for output pictures into LATE...

Please sign up or login with your details

Forgot password? Click here to reset