搜索资源列表
Grammar-analysis
- LR分析法是给出一种能根据当前分析栈中的符号串(通常以状态表示)和向右顺序查看输入串的K个(K≥0))符号就可唯一地确定分析器的动作是移进还是归约和用哪个产生式归约,因而也就能唯一地确定句柄,所以LR分析过程是一种规范归约过程-LR analysis method is given a can according to the analysis of the string (usually in state said to the ri
pengge_SLR_zancheng
- 本源码实现了编译原理的词法分析、语法分析、语义分析、及相应的四元式的产生。-This source realized the compiling principle lexical analysis, grammatical analysis, semantic analysis, and the corresponding four yuan type production.
rgzn1692
- 人工智能中产生式系统中的动物识别系统 可以根据规则分别动物-Artificial Intelligence in the production system of animal identification systems in the rules were based on animal
Animal-expert-system
- 动物识别专家系统是流行的专家系统实验模型,它用产生式规则来表示知识,共15条规则、可以识别七种动物,这些规则既少又简单,可以改造他们,也可以加进新的规则,还可以用来识别其他东西的新规则来取代这些规则.-Animal identification expert system expert system is a popular experimental model, it uses production rules to represen
LRAnalyse
- 1. 文法使用产生式来定义; 2. 给出项目集规范族(即所有的状态)。 3. 给出状态间的关系。 4. 给出LR(0)分析表。 5. 给定符号串判定它是否是文法中的句子,分析过程用分析表格的方式打印出来。 -It realized the lexical analysis and grammatical analysis function, it was written by C++ language.
produce-MFC
- 产生式系统,这是人工智能里面一个重要的推理环节,通过给出的特征就电脑判断是什么动物-Produce type system, this is the artificial intelligence inside a important reasoning link, by giving feature of computer judgment is what animal
LL(1)
- 根据某一LL(1)文法编制调试预测分析程序,以便对任意输入的符号串进行分析。 本次实验的LL(1)文法为表达式文法: E→E+T | T T→T*F | F F→i | (E) 编写识别表达式文法的合法句子的预测分析程序,对输入的任意符号串,给出分析过程及分析结果。分析过程要求输出步骤、分析栈、剩余输入串和所用产生式。如果该符号串不是表达式文法的合法句子,要给出尽量详细的错误提示。-According to an L
production-Systems
- 动物产生式系统.人工智能书上的一个例子实现了-Animal production system. An example of artificial intelligence book to achieve the
4SLR
- 编译原理上机—语法分析2 1.目的:熟练掌握自下而上的语法分析方法,并能用C++程序实现。 2. 在已有文法的基础上再加上减法“-”和除法“/”对应的产生式构成最终的文法。从而使得记号流可以处理带括号的加、减、乘、除四则运算。 3. 对于任意给定的输入串(词法记号流)进行语法分析,要求采用SLR分析器来完成。手工构造SLR分析表,利用移进-归约分析算法(P69 图3.12)输出(P70 表3.8)对应的动作部分。如:
3LL(1)
- 编译原理上机—语法分析1 目的:熟练掌握自上而下的语法分析方法,并能用C++程序实现。 要求: 1. 使用固定的文法 2. 对于任意给定的输入串(词法记号流)进行语法分析,递归下降方法和非递归预测分析方法可以任选其一来实现。 3. 要有一定的错误处理功能。即对错误能提示,并且能在一定程度上忽略尽量少的记号来进行接下来的分析。可以参考书上介绍的同步记号集合来处理。 可能的出错情况:idid*id, id**id,
LL1ALG
- 关键字:编译原理;算法;LL1文法 描述:LL1文法主要思想是根据产生式当中终结符或非终结符的先后关系来确定字符串是否符合文法,在写程序之前用First集合Follow集制定出一个程序的走向表,通过该表来判断字符串,当对应的表格为空时字符串不合文法。-Compilation principle algorithm LL1 grammar
test1
- 人工智能 利用产生式搜索方式搜索路径 -Artificial intelligence production search method search path
LL(1)
- LL(1) 文法 判空 求产生式 first follow select 集-LL (1) grammar sentence empty seek to produce first follow the select set
bianyiyuanli_ll1
- 编译原理LL1文法分析,求follow集,遍历follow集求解,推到产生式-Compiler theory LL1 grammar analysis to seek follow set the traversal follow set solving, pushed to the production
2012.10.16
- 微博的工作日志写的关于《基于MB-LDA》模型的微博主题挖掘,了解了LDA是一种文本生产模型,采用概率产生式对文本进行建模,而微博生成模型MB-LDA是对于LDA的基础上增加了对微博的联系人关系和文本关联进行统一建模形成适合微博主题挖掘的模型-Microblogging log write on microblogging theme mining model based on the MB-LDA " to understan
analysis
- 编写语法分析程序,实现对算术表达式的语法分析。要求所分析算术表达式由如下的文法产生: E->E+T|E-T|T T->T*F|T/F|F F->id|(E)|num 实验要求:在对输入表达式进行分析的过程中,输出所采用的产生式。 编程实现算法4.2,为给定文法自动构造预测分析表。 编程实现算法4.1,构造LL(1)预测分析程序。-Write a parser, parsing ar
tyj
- LL1 语法分析,实现对算数表达式的语法分析,输出分析过程和产生式-LL1 syntax analysis, parsing arithmetic expressions, output analysis and production
Animal_identification
- 这是一次人工智能实验__产生式系统。我用C#写成,大有图形界面,正向和逆向搜索均有,比较完整-This is an artificial intelligence experiment __ production system. I use C# languages, have great graphical interface, forward and reverse search, more complete
ps
- C 语言实现的基于动物判别产生式系统的程序,程序比较简单,易懂。-C language program production system based on animal discrimination, the procedure is relatively simple and easy to understand.
Problem3
- 利用贝叶斯公式可以比较简单的实现产生式模型(高斯密度函数)-Bayesian formula can be relatively simple production model (Gaussian density function)