执行此匹配的第一步叫做扫描或词法分析。
The first step in performing this match is called scanning, or lexical analysis.
扫描,也称词法分析。
以下是对一个句子进行词法分析和解析的示例。
应该给出关于解析和词法分析的一个简短指南。
在索引更新过程中,词法分析确定文档中单词的词元。
During index update processing, the lexical analysis identifies the lemmas of the words in the document, and the analysis adds this information to the text index.
词性标注是词法分析的基础。
如何指定亚历克斯词法分析器的标签宽度?
转换图是用于词法分析器和解析器的公共实现。
Transition diagrams are a common implementation for lexers and parsers.
输入过程的一个重要部分由词法分析器来进行。
An important part of the input process is carried out by the lexical analyzer.
这门语言简单到甚至不需要有一个符号表来进行词法分析。
The language is simple enough that it does not even require a symbol table to parse.
这是一个词法分析程序,能够区分标识符、数字、表达式。
This is a lexical analysis procedure and can distinguish identifier, figures and expression.
Lex是一种词法分析工具,它可以用来从源文本识别特定结构的文本字符串。
Lex is a lexical analysis tool that can be used to identify specific text strings in a structured way from source text.
源语分析是机器翻译的核心,包括词法分析、句法分析和语义分析。
Source language analysis is core of MT, and includes morphology analysis, parsing and semantic analysis.
这一部分包括词法分析,语法分析,语义分析和生成目标代码四个部分。
This part contains accidence analyzing, phrasing analyzing, semantic analyzing and creating aim code.
译码过程完成词法分析、语法分析和语义分析,并在此基础上生成中间代码。
The coding process accomplishes accidence analysis, syntax analysis, and semantic analysis and transitional codes are generated on it.
词法分析结束后,无意义的数据流被转变为一个有意义的单词序列,提供给解析器。
When lexing is finished, a meaningless stream of data has been transformed into a sequence of words meaningful to the parser.
分词/词法分析:分词指将一段字符串破成有意义的(相对于这门语言)小块。
Tokenizing/Lexing: breaking up a string of characters into meaningful (to the language) chunks, called tokens.
在下节(“词法分析”)中使用的BNF都是词法定义,以后的章节是句法定义。
All USES of BNF in the next chapter (' lexical Analysis') are lexical definitions; USES in subsequent chapters are syntactic definitions.
作为一种专用的编译工具,LEX的源程序简单,编译后生成的词法分析程序效率高。
Being a special compile tool, the source program of lex is simple. The compiled lexical analyzer constructed by lex has high efficiency.
前者会产生设计错误,后者一般能通过加强词法分析器来修复,或者重写其中一些语法规则。
The former cases represent design errors; the latter cases can often be corrected by making the lexical analyzer more powerful, or by rewriting some of the grammar rules.
尽管词法分析不是必须通过正则表达式来完成,但是它们往往可以便捷地解决程序编制和数据语言的难题。
While lexing does not have to be done through regular expressions, they tend to be a handy vehicle through the jungle of programming and data languages.
第一个目的是改进解析ViewState字符串时进行词法分析的效率,因为此时不再需要匹配字符或解析标记。
First, it improves the efficiency of the lexical analysis during the parsing of the view state string since there is no longer any need to match characters or parse tokens.
例如,对于词法分析目的而言,这意味着可以用整数的词法分析器定义来构建实数和分数的词法分析器定义。
For lexing purposes, this means that the lexer definition of an integer number, for example, can be used to build the lexer definition of a real number and a fraction.
使用LR分析表的词法分析器,统一了词法分析器和语法分析器的构造方法,简化了编译程序的设计和构造。
The lexical analyzer using the LR parsing table unifies the construction method of lexical analyzer and syntax analyzer, simplifies the design and construction of compiler.
将编译技术引入NC代码分析处理过程中,把NC代码编译过程分为词法分析、语法分析和代码转换三个阶段。
Having introduced the compile technology into the process of NC code analysis, the process of NC code compile is divided into three stages: Lexical analysis, Syntactic analysis and NC code Conversion.
它是综合的技术处理系统,其设计与开发需要分词、词法分析、检索、实体识别、答案抽取等几个方面的技术支撑。
It is an integrated technical processing system which is supported by the technique of word segment, lexical analysis, retrieval, entity recognition and answer extraction.
上面的 typographify.def中所示的语法提供了Spark词法分析程序/扫描程序的设计指南。
The grammar shown above in typographify.def provides guidance for the design of a Spark lexer/scanner.
上面的 typographify.def中所示的语法提供了Spark词法分析程序/扫描程序的设计指南。
The grammar shown above in typographify.def provides guidance for the design of a Spark lexer/scanner.
应用推荐