-
cifafenxi
通过设计、编制、调试一个具体的词法分析程序,加深对词法分析原理的理解,并掌握在对程序设计语言源程序进行扫描过程中将其分解为各类单词的词法分析方法。
实验内容及基本要求:
设计一个简单的程序设计语言(语言中有+、-运算,语句有赋值语句、输入语句、输出语句、复合语句)
要求:
1.输入源程序,最后以“#”作结束标志;
2.处理各单词,计算各个单词的值和类型;
3.输出各个单词名、单词的值和类型。
(By design, develop and debug a specific lexical analysis procedures, to deepen understanding of the principles of lexical analysis, and mastery of the programming language source code will be scanned in the decomposition process of lexical analysis of various types of words. Experimental content and basic requirements: the design of a simple programming language (language has+,- arithmetic, assignment statement has input statements, output statements, compound statements) requirements: 1 input source, and finally to " #" as. end marker 2 each word processing, calculating the value and type of each word 3 outputs each word name, value and type of the word.)
- 2021-04-28 08:28:43下载
- 积分:1
-
two
:植物种类识别方法主要是根据叶片低维特征进行自动化鉴定。然而,低维特征不能全面描述叶片信息,识别准确率低,本文提
出一种基于多特征降维的植物叶片识别方法。首先通过数字图像处理技术对植物叶片彩色样本图像进行预处理,获得去除颜色、虫洞、 叶柄和背景的叶片二值图像、灰度图像和纹理图像。然后对二值图像提取几何特征和结构特征,对灰度图像提取 Hu不变矩特征、灰 度共生矩阵特征、局部二值模式特征和 Gabor 特征,对纹理图像提取分形维数,共得到 2183 维特征参数。再采用主成分分析与线性 评判分析相结合的方法对叶片多特征进行特征降维,将叶片高维特征数据降到低维空间。使用降维后的训练样本特征数据对支持向量 机分类器进行训练(plant species identification method is mainly based on blade automatic identification of low dimensional characteristics.However, can not fully describe blade low-dimensional feature information, identification accuracy is low, in this paper
A kind of plant leaves recognition method based on multiple feature dimension reduction.First by digital image processing technology to the plant leaf color sample image preprocessing, obtain background color removal, wormhole, petioles, and the blades of a binary image, gray image and texture image.Then the binary image to extract the geometric characteristics and characteristics of structure and characteristics of gray image extraction Hu moment invariants, gray co-occurrence matrix feature, local binary pattern features and Gabor, to extract the fractal dimension of texture image, get 2183 d characteristic parameters.By principal component analysis and linear uation analysis method of combining the characteristics of blade more feature dimensi)
- 2017-02-28 09:57:50下载
- 积分:1
-
21ic下载_OpenCV3编程入门-源码例程全集-人脸识别
OpenCV3编程入门,源码例程全集,人脸识别,挺不错的,欢迎采纳。(OpenCV3 programming introduction, source code routines, face recognition, very good, welcome to adopt.)
- 2018-05-15 13:43:40下载
- 积分:1
-
011、UART串口发送字符控制继电器开关
stc15f104 UART串口发送字符控制继电器开关(Stc15f104 UART serial port to send character control relay switch)
- 2018-03-16 23:24:20下载
- 积分:1
-
Attitude-Indicator
This Program simulates "Attitude Indicator" of any aircraft. communication with serial port is not important for compiling and executing source code with Turbo C++. This program is good ideas for using mouse and 2D graphic, and has other learning subjects.
- 2012-11-23 07:02:19下载
- 积分:1
-
sky_adc_pwm
(msp430g2553)正弦信号,一方面被adc采集获取其幅度信息,另一方面经比较器变成方波,经Timer捕获获取其频率,然后控制SPWM信号的频率与幅度,使输入与输出同幅同频变化。((Msp430g2553) sinusoidal signal, on the one hand is to get its amplitude information collected adc, on the other hand by the comparator into a square wave, captured by Timer obtain its frequency, and then control the frequency and amplitude SPWM signal input and output with the same amplitude frequency variations.)
- 2014-06-03 22:44:51下载
- 积分:1
-
相对熵
计算相对熵,三角不等式,验证,,接口和毁容啊看就看定期维护(Calculating relative entropy)
- 2021-03-03 22:29:33下载
- 积分:1
-
C8051f(USB)
C8051F 單片機
USB test 上位機(USB test)
- 2012-05-22 09:33:26下载
- 积分:1
-
MPC5746C_RM_Rev4
MPC5746C 用户芯片手册
这个参考手册是为系统软件和硬件开发人员准备的想要用这个设备开发产品的应用程序程序员。它假设读者理解操作系统,微处理器系统设计,和基础软件和硬件的原则。(MPC5746C Reference Manual)
- 2018-01-18 14:06:41下载
- 积分:1
-
在COM中使用数组_code
COM中使用SAFEARRAY数组例程,代码中给了两种数组的用法,一种是字符串数组,另一种是自定义数据结构数组。 (use COM SAFEARRAY array routines, a code for the use of two arrays, a string array, and the other is from the definition of array data structure.)
- 2005-07-12 17:00:30下载
- 积分:1