Efficient generation of lexically proper palindromes

R. Rankin, H. Berghel, Tong Xu
{"title":"Efficient generation of lexically proper palindromes","authors":"R. Rankin, H. Berghel, Tong Xu","doi":"10.1145/99412.99451","DOIUrl":null,"url":null,"abstract":"Palindromes are strings of symbols which are symmetrical about the center. This paper outlines a method for generating certain types of palindromes, called lexical palindromes, which consist of legitimate English words. The method reported provides substantial pruning of a Prolog search tree by calculating the number of success nodes along certain search paths instead of visiting them, indexing words to improve database performance, and continuous analysis of current states to eliminate non-productive search paths. These efficiency measures allow lexical palindromes to be generated using a microcomputer.\nOur ultimate objective is to be able to estimate the ratio of sentential palindromes for any given length to the set of syntactically well-formed English sentences of that length with respect to a given lexicon and grammatical model. We shall take up the problem of determining the ratio of sentential palindromes to well-formed sentences in a sequel to this paper.","PeriodicalId":147067,"journal":{"name":"Symposium on Small Systems","volume":"53 4","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1990-02-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Symposium on Small Systems","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/99412.99451","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

Abstract

Palindromes are strings of symbols which are symmetrical about the center. This paper outlines a method for generating certain types of palindromes, called lexical palindromes, which consist of legitimate English words. The method reported provides substantial pruning of a Prolog search tree by calculating the number of success nodes along certain search paths instead of visiting them, indexing words to improve database performance, and continuous analysis of current states to eliminate non-productive search paths. These efficiency measures allow lexical palindromes to be generated using a microcomputer. Our ultimate objective is to be able to estimate the ratio of sentential palindromes for any given length to the set of syntactically well-formed English sentences of that length with respect to a given lexicon and grammatical model. We shall take up the problem of determining the ratio of sentential palindromes to well-formed sentences in a sequel to this paper.
有效地生成词法正确的回文
回文是一串围绕中心对称的符号。本文概述了一种生成特定类型的回文的方法,称为词汇回文,它由合法的英语单词组成。所报告的方法通过计算沿着某些搜索路径的成功节点的数量,而不是访问它们,为单词建立索引以提高数据库性能,以及持续分析当前状态以消除非生产性搜索路径,从而对Prolog搜索树进行大量修剪。这些效率措施允许使用微型计算机生成词汇回文。我们的最终目标是能够根据给定的词汇和语法模型估计任意长度的句子回文与该长度的语法格式良好的英语句子的比例。我们将在本文的续篇中讨论确定句子回文与结构良好的句子的比例的问题。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信