WordNet:词法数据库文件。
执行此匹配的第一步叫做扫描或词法分析。
The first step in performing this match is called scanning, or lexical analysis.
扫描,也称词法分析。
语法树只能够表现出源代码的词法和句法结构。
Syntax trees only represent the lexical and syntactic structure of the source code.
应该给出关于解析和词法分析的一个简短指南。
如果记号赋予器未遇到这两个记号,则返回词法错误。
If the tokenizer encounters neither token, it returns a lexical error.
在索引更新过程中,词法分析确定文档中单词的词元。
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.
WordNet是英文单词及其词法关系的数据库。
WordNet is a database of English words and lexical relationships between them.
所生成的词法解析器可能会在检测到某个符号之前读入多个字符。
The generated lexical parser may read multiple characters ahead before it detects a token.
这门语言简单到甚至不需要有一个符号表来进行词法分析。
The language is simple enough that it does not even require a symbol table to parse.
词法上的灵活性在诸如回归测试和数字签名等方面带来了一些问题。
This lexical flexibility causes problems in areas such as regression testing and digital signatures.
像许多动态语言一样,这些函数在它们被定义的范围内创建了词法闭包。
These functions create a lexical closure on the scope in which they were defined like blocks in many dynamic languages.
名称空间又带来了更大的词法灵活性(比如是否使用前缀是可选的)。
Namespaces introduce even more lexical flexibility (such as a choice of prefixes).
它支持词法,因此搜索单词 “cats”还会找到词根 “cat”。
It supports morphology, so a search for the word "cats" also finds the root word "cat."
这是因为在closure的关键字use中指定的变量在词法上确定范围。
That's because variables specified in a closure's use keyword are lexically scoped.
本场景中的静态关系将这四个词法不同但语义相同的表示形式关联在一起。
The static relationship in this scenario correlates these four syntactically different but semantically equivalent representations.
Lex是一种词法分析工具,它可以用来从源文本识别特定结构的文本字符串。
Lex is a lexical analysis tool that can be used to identify specific text strings in a structured way from source text.
或者Perl4又如何呢? Perl4到Perl5之间,词法闭包被加进来了。
Or how about Perl 4? Between Perl 4 and Perl 5, lexical closures got added to the language.
词法分析结束后,无意义的数据流被转变为一个有意义的单词序列,提供给解析器。
When lexing is finished, a meaningless stream of data has been transformed into a sequence of words meaningful to the parser.
实践中,宏的作用通常由其它一些Lisp特性比如词法闭包以及rest参数大大加强。
In practice their usefulness is greatly enhanced by other Lisp features like lexical closures and rest parameters.
词法处理程序并不做很多事情:它只将事件转发给管道中的下一个过滤器,但XSLT处理器需要它们。
The lexical handler doesn't do much: It simply forwards the events to the next filter in the pipe, but the XSLT processor requires them.
尽管词法分析不是必须通过正则表达式来完成,但是它们往往可以便捷地解决程序编制和数据语言的难题。
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.
况且,比方说,你要如何处理一个德语的复合动词或一个能够将整个句子包含在内的匈牙利语构词法?
And how, for example, do you treat a German compound verb, or a Hungarian word formation which can incorporate a whole sentence?
例如,对于词法分析目的而言,这意味着可以用整数的词法分析器定义来构建实数和分数的词法分析器定义。
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.
第一个目的是改进解析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.
词法约定(表示IDL文件的关键字、注释和文字的字符记号)规定ISO 8859.1字符集表示IDL文件中的字符。
The lexical conventions (character tokens that will represent the keywords, comments, and literals of an IDL file) stipulate that the ISO 8859.1 character set represent the characters in an IDL file.
my变量有时也叫做词法变量,因为它们的作用域仅仅依赖于程序文本自身,不依赖于执行细节,例如以什么顺序来执行什么。
These 'my variables' are sometimes called' lexical 'because their scope depends only on the program text itself, and not on details of execution, such as what gets executed in what order.
上面的 typographify.def中所示的语法提供了Spark词法分析程序/扫描程序的设计指南。
The grammar shown above in typographify.def provides guidance for the design of a Spark lexer/scanner.
应用推荐