Logo del repository
  1. Home
 
Opzioni

Automatic String Replace by Examples

BARTOLI, Alberto
•
DE LORENZO, ANDREA
•
MEDVET, Eric
2013
  • conference object

Abstract
Search-and-replace is a text processing task which may be largely automated with regular expressions: the user must describe with a specific formal language the regions to be modified (search pattern) and the corresponding desired changes (replacement expression). Writing and tuning the required expressions requires high familiarity with the corresponding formalism and is typically a lengthy, error-prone process. In this paper we propose a tool based on genetic programming (GP) for generating automatically both the search pattern and the replacement expression based only on examples. The user merely provides examples of the input text along with the desired output text and does not need any knowledge about the regular expression formalism nor about GP. We are not aware of any similar proposal. We experimentally evaluated our proposal on 4 different search-and-replace tasks operating on real-world datasets and found good results, which suggests that the approach may indeed be practically viable.
DOI
10.1145/2463372.2463532
WOS
WOS:000321981300157
Archivio
http://hdl.handle.net/11368/2663315
info:eu-repo/semantics/altIdentifier/scopus/2-s2.0-84883065592
http://dl.acm.org/citation.cfm?id=2463532
Diritti
metadata only access
Soggetti
  • Genetic Programming

Scopus© citazioni
4
Data di acquisizione
Jun 7, 2022
Vedi dettagli
google-scholar
Get Involved!
  • Source Code
  • Documentation
  • Slack Channel
Make it your own

DSpace-CRIS can be extensively configured to meet your needs. Decide which information need to be collected and available with fine-grained security. Start updating the theme to match your nstitution's web identity.

Need professional help?

The original creators of DSpace-CRIS at 4Science can take your project to the next level, get in touch!

Realizzato con Software DSpace-CRIS - Estensione mantenuta e ottimizzata da 4Science

  • Impostazioni dei cookie
  • Informativa sulla privacy
  • Accordo con l'utente finale
  • Invia il tuo Feedback