Cargando…

Grammatical Inference by Answer Set Programming

In this paper, the identification of context-free grammars based on the presentation of samples is investigated. The main idea of solving this problem proposed in the literature is reformulated in two different ways: in terms of general constrains and as an answer set program. In a series of experim...

Descripción completa

Detalles Bibliográficos
Autores principales: Wieczorek, Wojciech, Strąk, Łukasz, Nowakowski, Arkadiusz, Unold, Olgierd
Formato: Online Artículo Texto
Lenguaje:English
Publicado: 2020
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7303697/
http://dx.doi.org/10.1007/978-3-030-50423-6_4
_version_ 1783548115728465920
author Wieczorek, Wojciech
Strąk, Łukasz
Nowakowski, Arkadiusz
Unold, Olgierd
author_facet Wieczorek, Wojciech
Strąk, Łukasz
Nowakowski, Arkadiusz
Unold, Olgierd
author_sort Wieczorek, Wojciech
collection PubMed
description In this paper, the identification of context-free grammars based on the presentation of samples is investigated. The main idea of solving this problem proposed in the literature is reformulated in two different ways: in terms of general constrains and as an answer set program. In a series of experiments, we showed that our answer set programming approach is much faster than our alternative method and the original SAT encoding method. Similarly to a pioneer work, some well-known context-free grammars have been induced correctly, and we also followed its test procedure with randomly generated grammars, making it clear that using our answer set programs increases computational efficiency. The research can be regarded as another evidence that solutions based on the stable model (answer set) semantics of logic programming may be a right choice for complex problems.
format Online
Article
Text
id pubmed-7303697
institution National Center for Biotechnology Information
language English
publishDate 2020
record_format MEDLINE/PubMed
spelling pubmed-73036972020-06-19 Grammatical Inference by Answer Set Programming Wieczorek, Wojciech Strąk, Łukasz Nowakowski, Arkadiusz Unold, Olgierd Computational Science – ICCS 2020 Article In this paper, the identification of context-free grammars based on the presentation of samples is investigated. The main idea of solving this problem proposed in the literature is reformulated in two different ways: in terms of general constrains and as an answer set program. In a series of experiments, we showed that our answer set programming approach is much faster than our alternative method and the original SAT encoding method. Similarly to a pioneer work, some well-known context-free grammars have been induced correctly, and we also followed its test procedure with randomly generated grammars, making it clear that using our answer set programs increases computational efficiency. The research can be regarded as another evidence that solutions based on the stable model (answer set) semantics of logic programming may be a right choice for complex problems. 2020-05-23 /pmc/articles/PMC7303697/ http://dx.doi.org/10.1007/978-3-030-50423-6_4 Text en © Springer Nature Switzerland AG 2020 This article is made available via the PMC Open Access Subset for unrestricted research re-use and secondary analysis in any form or by any means with acknowledgement of the original source. These permissions are granted for the duration of the World Health Organization (WHO) declaration of COVID-19 as a global pandemic.
spellingShingle Article
Wieczorek, Wojciech
Strąk, Łukasz
Nowakowski, Arkadiusz
Unold, Olgierd
Grammatical Inference by Answer Set Programming
title Grammatical Inference by Answer Set Programming
title_full Grammatical Inference by Answer Set Programming
title_fullStr Grammatical Inference by Answer Set Programming
title_full_unstemmed Grammatical Inference by Answer Set Programming
title_short Grammatical Inference by Answer Set Programming
title_sort grammatical inference by answer set programming
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7303697/
http://dx.doi.org/10.1007/978-3-030-50423-6_4
work_keys_str_mv AT wieczorekwojciech grammaticalinferencebyanswersetprogramming
AT strakłukasz grammaticalinferencebyanswersetprogramming
AT nowakowskiarkadiusz grammaticalinferencebyanswersetprogramming
AT unoldolgierd grammaticalinferencebyanswersetprogramming