期刊文献+
共找到12篇文章
< 1 >
每页显示 20 50 100
An Entertaining Example of Using the Concepts of Context-Free Grammar and Pushdown Automation
1
作者 Krasimir Yordzhev 《Open Journal of Discrete Mathematics》 2012年第3期105-108,共4页
A formal-linguistic approach for solving an entertaining task is offered in this paper. The well-known task of the Hanoi towers is discussed in relation to some concepts of formal languages and grammars. A context-fre... A formal-linguistic approach for solving an entertaining task is offered in this paper. The well-known task of the Hanoi towers is discussed in relation to some concepts of formal languages and grammars. A context-free grammar which generates an algorithm for solving this task is described. A deterministic pushdown automation which in its work imitates the work of monks in solving the task of the Hanoi towers is built. 展开更多
关键词 context-free grammar context-free Language Pushdown AUTOMATION HANOI TOWERS Discrete MATHEMATICS Learning
下载PDF
Context-free Grammars for Triangular Arrays
2
作者 Robert X.J.HAO Larry X.W.WANG Harold R.L.YANG 《Acta Mathematica Sinica,English Series》 SCIE CSCD 2015年第3期445-455,共11页
We consider context-free grammars of the form G = {f → f^b1+b2+1g^a1+a2, g → f^b1 g^a1+1},where ai and bi are integers sub ject to certain positivity conditions. Such a grammar G gives rise to triangular arrays... We consider context-free grammars of the form G = {f → f^b1+b2+1g^a1+a2, g → f^b1 g^a1+1},where ai and bi are integers sub ject to certain positivity conditions. Such a grammar G gives rise to triangular arrays {T(n, k)}0≤k≤n satisfying a three-term recurrence relation. Many combinatorial sequences can be generated in this way. Let Tn (x) =∑k=0^n T(n, k)x^k. Based on the differential operator with respect to G, we define a sequence of linear operators Pn such that Tn+1(x) = Pn(Tn(x)). Applying the characterization of real stability preserving linear operators on the multivariate polynomials due to Borcea and Br?ndén, we obtain a necessary and sufficient condition for the operator Pn to be real stability preserving for any n. As a consequence, we are led to a sufficient condition for the real-rootedness of the polynomials defined by certain triangular arrays, obtained by Wang and Yeh.Moreover, as special cases we obtain grammars that lead to identities involving the Whitney numbers and the Bessel numbers. 展开更多
关键词 context-free grammar stable polynomials real-rootedness Bessel numbers Whitneynumbers
原文传递
Predicting RNA Secondary Structure Using Profile Stochastic Context-Free Grammars and Phylogenic Analysis
3
作者 方小永 骆志刚 王正华 《Journal of Computer Science & Technology》 SCIE EI CSCD 2008年第4期582-589,共8页
Stochastic context-free grammars (SCFGs) have been applied to predicting RNA secondary structure. The prediction of RNA secondary structure can be facilitated by incorporating with comparative sequence analysis. How... Stochastic context-free grammars (SCFGs) have been applied to predicting RNA secondary structure. The prediction of RNA secondary structure can be facilitated by incorporating with comparative sequence analysis. However, most of existing SCFG-based methods lack explicit phylogenic analysis of homologous RNA sequences, which is probably the reason why these methods are not ideal in practical application. Hence, we present a new SCFG-based method by integrating phylogenic analysis with the newly defined profile SCFG. The method can be summarized as: 1) we define a new profile SCFG, M, to depict consensus secondary structure of multiple RNA sequence alignment; 2) we introduce two distinct hidden Markov models, λ and λ', to perform phylogenic analysis of homologous RNA sequences. Here, λ' is for non-structural regions of the sequence and λ' is for structural regions of the sequence; 3) we merge λ and λ' into M to devise a combined model for prediction of RNA secondary structure. We tested our method on data sets constructed from the Rfam database. The sensitivity and specificity of our method are more accurate than those of the predictions by Pfold. 展开更多
关键词 RNA secondary structure stochastic context-free grammar phylogenic analysis
原文传递
利用范本构建语法模板生成仿自然语言隐写文本 被引量:1
4
作者 苏胜君 李维斌 +1 位作者 陈超 王朔中 《电子与信息学报》 EI CSCD 北大核心 2008年第8期1936-1939,共4页
基于模仿函数的Mimicry文本隐写法利用上下文无关文法(CFG)构造树形结构,生成的含密仿自然文本在语义连贯性方面存在缺陷。该文提出一种改进的Mimicry文本隐写方法,从选择范本和设计语法模板两方面提高语义的连贯性和一致性。经过范本训... 基于模仿函数的Mimicry文本隐写法利用上下文无关文法(CFG)构造树形结构,生成的含密仿自然文本在语义连贯性方面存在缺陷。该文提出一种改进的Mimicry文本隐写方法,从选择范本和设计语法模板两方面提高语义的连贯性和一致性。经过范本训练,在模板设计中运用置换文本库,考虑文本中各词汇、短语和句子的可置换性。模板还运用Huffman编码,充分考虑语句和词组的出现频度,以改善含密文本的自然度。这样生成的含密文本语义连贯性好,符合自然语言在字符、词汇、句法等方面的统计特性,有利于对抗人工和机器检测。 展开更多
关键词 文本隐写 模仿函数 上下文无关文法 语义连贯性
下载PDF
汉语句法规则的自动构造方法研究 被引量:3
5
作者 周强 黄昌宁 《中文信息学报》 CSCD 北大核心 1998年第3期1-7,共7页
本文对汉语句法规则的自动构造方法进行了一些探索。通过对汉语句法规律的总结和提炼,提出了一套简单灵活的汉语句法元规则描述体系,包括结构元规则集、标记特征表和中心标记表等部件,在此基础上,构造了一个有效的元规则解释器,取... 本文对汉语句法规则的自动构造方法进行了一些探索。通过对汉语句法规律的总结和提炼,提出了一套简单灵活的汉语句法元规则描述体系,包括结构元规则集、标记特征表和中心标记表等部件,在此基础上,构造了一个有效的元规则解释器,取得了较好实验效果。 展开更多
关键词 语法构造 自然语言处理 汉语句法规则 自动构造
下载PDF
一种基于深度学习的人体交互行为分层识别方法 被引量:4
6
作者 尹坤阳 潘伟 +1 位作者 谢立东 徐素霞 《厦门大学学报(自然科学版)》 CAS CSCD 北大核心 2016年第3期413-419,共7页
本文把人体交互行为分解为由简单到复杂的4个层次:姿态、原子动作、复杂动作和交互行为,并提出了一种分层渐进的人体交互行为识别方法.该方法共有3层:第1层通过训练栈式降噪自编码神经网络把原始视频中的人体行为识别为姿态序列;第2层... 本文把人体交互行为分解为由简单到复杂的4个层次:姿态、原子动作、复杂动作和交互行为,并提出了一种分层渐进的人体交互行为识别方法.该方法共有3层:第1层通过训练栈式降噪自编码神经网络把原始视频中的人体行为识别为姿态序列;第2层构建原子动作的隐马尔科夫模型(hidden Markov model,HMM),并利用估值定界法识别第1层输出的姿态序列中包含的原子动作;第3层以第2层输出的原子动作序列为输入,采用基于上下文无关文法(contextfree grammar,CFG)的描述方法识别原子动作序列中的复杂动作和交互行为.实验结果表明,该方法能有效地识别人体交互行为. 展开更多
关键词 人体行为识别 深度学习 隐马尔科夫模型(HMM) 上下文无关文法(cfg) KINECT
下载PDF
基于产生式集划分的上下文无关语言句子生成 被引量:3
7
作者 王泓皓 董韫美 《软件学报》 EI CSCD 北大核心 2000年第8期1030-1034,共5页
给出了上下文无关文法 (context- free grammar,简称 CFG)产生式集的一种划分方法 ,可将产生式分为两类 .使用一类产生式进行推导时 ,推导过程将无限进行下去 ;使用另一类进行推导时 ,推导过程将迅速结束 .证明了 CFG句子生成过程一定... 给出了上下文无关文法 (context- free grammar,简称 CFG)产生式集的一种划分方法 ,可将产生式分为两类 .使用一类产生式进行推导时 ,推导过程将无限进行下去 ;使用另一类进行推导时 ,推导过程将迅速结束 .证明了 CFG句子生成过程一定是先使用一类产生式使生成的句型不断变长、变复杂 ,再使用另一类产生式使句型变成句子 .据此 ,提出了一种可控制的通用句子生成方法 .其生成一条句子的时间和空间复杂度是 O(r+n) ,其中 n是生成句子的长度或深度限制 ,r是给定上下文无关文法中产生式的数目 .同时 ,给出了适应不同需要的句子生成策略 . 展开更多
关键词 句子生成 上下无关语言 产生式集划分 随机法
下载PDF
角色反演算法 被引量:6
8
作者 白硕 张浩 《软件学报》 EI CSCD 北大核心 2003年第3期328-333,共6页
给出了面向上下文无关语言的句法分析的一种计算机制:角色反演算法.这种机制通过引入句法范畴的角色这一概念以及相应的角色反演操作,用较小的空间代价在Chart算法中实现了较强的预读(look ahead)功能.这使其能节约大量的无用边,从而加... 给出了面向上下文无关语言的句法分析的一种计算机制:角色反演算法.这种机制通过引入句法范畴的角色这一概念以及相应的角色反演操作,用较小的空间代价在Chart算法中实现了较强的预读(look ahead)功能.这使其能节约大量的无用边,从而加速分析过程的推进.这种机制可以用于自然语言处理等多种应用领域. 展开更多
关键词 角色反演算法 双图算法 广义LR算法 Chart算法 数据结构
下载PDF
一种时空优化的上下文无关文法的分析算法
9
作者 龚青 王慧芳 《微电子学与计算机》 CSCD 北大核心 1992年第2期10-13,共4页
本文分析了常用CFG(Context-Free Grammar)分析算法的特点与不足。在此基础上介绍了一种时空均优化的CFG分析算法。此算法的有效性已在实用的机器翻译系统中得到证实。
关键词 cfg 算法 机器翻译
下载PDF
A Grammatical Approach of Multi-Localization of GUIs: Application to the Multi-Localization of the Checkers Game GUI
10
作者 Maurice Tchoupé Tchendji Freddy-Viany Tatou Ahoukeng 《Journal of Software Engineering and Applications》 2018年第11期552-567,共16页
By proposing tools that help for the accomplishment of tasks in almost all sectors of activities, computer science has revolutionized the world in a general way. Nowadays, it addresses the peculiarities of peoples thr... By proposing tools that help for the accomplishment of tasks in almost all sectors of activities, computer science has revolutionized the world in a general way. Nowadays, it addresses the peculiarities of peoples through their culture in order to produce increasingly easy-to-use software for end users: This is the aim of software localization. Localizing a software consists among other things, in adapting its GUI according to the end user culture. We propose in this paper a generic approach allowing accomplishing this adaptation, even for multi-user applications like gaming applications, collaborative editors, etc. Techniques of functional interpretations of abstracts structures parameterized by algebras, constitute the formal base of our approach. 展开更多
关键词 GUIs context-free grammarS Multi-Localization Abstract Syntax Tree and Its Interpretations XML GUI Description Language HASKELL
下载PDF
LR(K) Parser Construction Using Bottom-up Formal Analysis
11
作者 Nazir Ahmad Zafar 《Journal of Software Engineering and Applications》 2012年第1期21-28,共8页
Design and construction of an error-free compiler is a difficult and challenging process. The main functionality of a compiler is to translate a source code to an executable machine code correctly and efficiently. In ... Design and construction of an error-free compiler is a difficult and challenging process. The main functionality of a compiler is to translate a source code to an executable machine code correctly and efficiently. In formal verification of software, semantics of a language has more meanings than the syntax. It means source program verification does not give guarantee the generated code is correct. This is because the compiler may lead to an incorrect target program due to bugs in itself. It means verification of a compiler is much more important than verification of a source program. In this paper, we present a new approach by linking context-free grammar and Z notation to construct LR(K) parser. This has several advantages because correctness of the compiler depends on describing rules that must be written in formal languages. First, we have defined grammar then language derivation procedure is given using right-most derivations. Verification of a given language is done by recursive procedures based on the words. Ambiguity of a language is checked and verified. The specification is analyzed and validated using Z/Eves tool. Formal proofs are presented using powerful techniques of reduction and rewriting available in Z/Eves. 展开更多
关键词 COMPILER CONSTRUCTION LR(K) PARSER context-free grammar Z Specification CORRECTNESS Verification
下载PDF
Several variants of the Dumont differential system and permutation statistics
12
作者 Shi-Mei Ma Toufik Mansour +1 位作者 David GLWang Yeong-Nan Yeh 《Science China Mathematics》 SCIE CSCD 2019年第10期2033-2052,共20页
The Dumont differential system on the Jacobi elliptic functions was introduced by Dumont(1979)and was extensively studied by Dumont, Viennot, Flajolet and so on. In this paper, we first present a labeling scheme for t... The Dumont differential system on the Jacobi elliptic functions was introduced by Dumont(1979)and was extensively studied by Dumont, Viennot, Flajolet and so on. In this paper, we first present a labeling scheme for the cycle structure of permutations. We then introduce two types of Jacobi pairs of differential equations. We present a general method to derive the solutions of these differential equations. As applications,we present some characterizations for several permutation statistics. 展开更多
关键词 JACOBI ELLIPTIC functions Dumont differential system PERMUTATION statistics context-free grammarS
原文传递
上一页 1 下一页 到第
使用帮助 返回顶部