Lapis (text editor)
Text editor providing intelligent, computer-generated suggestions
title: "Lapis (text editor)" type: doc version: 1 created: 2026-02-28 author: "Wikipedia contributors" status: active scope: public tags: ["free-text-editors", "free-html-editors", "software-using-the-gnu-general-public-license", "free-software-programmed-in-java", "windows-text-editors", "linux-text-editors"] description: "Text editor providing intelligent, computer-generated suggestions" topic_path: "technology/web" source: "https://en.wikipedia.org/wiki/Lapis_(text_editor)" license: "CC BY-SA 4.0" wikipedia_page_id: 0 wikipedia_revision_id: 0
::summary Text editor providing intelligent, computer-generated suggestions ::
::data[format=table title="Infobox software"]
| Field | Value |
|---|---|
| name | Lapis |
| logo | |
| screenshot | |
| author | Rob Miller, et al. |
| developer | MIT |
| released | |
| latest release version | 1.2 |
| latest release date | |
| latest preview date | |
| programming language | Java |
| operating system | Windows, Linux |
| language | English |
| language count | |
| license | GPLv2 |
| website | |
| :: |
| name = Lapis | logo = | logo alt = | screenshot = | caption = | screenshot alt = | collapsible = | author = Rob Miller, et al. | developer = MIT | released = | discontinued = | latest release version = 1.2 | latest release date = | latest preview version = | latest preview date = | programming language = Java | operating system = Windows, Linux | platform = | size = | language = English | language count = | language footnote = | genre = | license = GPLv2 | website = | standard = | AsOf =
Lapis is an experimental web browser and text editor allowing simultaneous editing of text in multiple selections. Lapis is able to infer the list of selected elements automatically from positive and negative examples given by the user, during a process known as selection guessing, based on concept learning.
This ability occurs via, and is an instance of, programming by example. The multiple items to edit are selected automatically according to the example provided by the user, making this experimental feature unique to Lapis among text editors, though similar features exist in some web scrapers and data munging tools.
To create the selection, Lapis first determines the more salient properties of the items selected by the user in a process called feature generation, detects common features of the user-selected items, groups these features to create a hypotheses for the concept that defines the selection, and then applies the generalized concept to the whole text. Lapis also features outlier detection, marking in red those items selected that have a low matching score, thus allowing users to review the automatic decisions made by the algorithm.
Lapis includes a template vocabulary to assist editing several kinds of structured languages. One such language is HTML. Lapis includes a Web browser view that allows its multiple edit feature to work on web pages in a WYSIWYG way, through automatic matching of the underlying HTML tags.
The software is programmed in various languages, mainly Java, and released under version 2 of the GNU General Public License (GPLv2), with various dependencies provided under other licenses.
References
- LAPIS: Smart Editing with Text Structure, introductory article.
- Lightweight Structured Text Processing, an extended description.
- Multiple selections in smart text editing (@ CiteseerX), Robert C. Miller, Brad A. Myers. 103-110, IUI 2002, Proceedings of the 2002 International Conference on Intelligent User Interfaces, January 13–16, 2002, San Francisco, California, USA. ACM, 2002, : describes how multiple selections can automate repetitive text editing and introduce the concept of selection guessing.
- Toolkits for Generating Wrappers by Stefan Kuhlins, Ross Tredwell.
- Entity quick click: rapid text copying based on automatic entity extraction by Eric A. Bier, Edward W. Isha. Abstracts of the Conference on Human Factors in Computing Systems.
- Copy-and-Paste between Overlapping Windows by Olivier Chapuis, Nicolas Roussel. In Proceedings of CHI'07. "Other systems have been proposed to support fast copy-paste of multiple selections or text entities like phone numbers".
References
- Miller, R.C., & Myers, B.A. (2001, June). [http://repository.cmu.edu/cgi/viewcontent.cgi?article=1778&context=isr Interactive Simultaneous Editing of Multiple Text Regions]. In USENIX Annual Technical Conference, General Track (pp. 161-174).
- "LAPIS - Download".
::callout[type=info title="Wikipedia Source"] This article was imported from Wikipedia and is available under the Creative Commons Attribution-ShareAlike 4.0 License. Content has been adapted to SurfDoc format. Original contributors can be found on the article history page. ::