XMLPullParserAPI类似于StAX所提供的基于指针的API,可以通过分析解析器的状态获得上一个解析事件的信息,然后移动到下一个,依此类推。
The XML Pull parser API is similar to the cursor-based API provided by StAX; the parser state can be examined for information about the last parsed event, then advanced to the next one, and so on.
在解析完输入后,它们将其结构信息以一种适于分析、索引和搜索的格式存储。
After they've parsed the input, they store its structural information in a form suitable for analysis, indexing, and searching.
对应用于自由格式姓名和地址的解析与词法分析的模式,也可以应用于对产品清单或增强的库存控制部分进行标准化和重复项消除。
The same pattern that applies to parsing and lexical analysis of freeform names and addresses can be applied to standardize and de-duplicate product listings or parts for enhanced inventory control.
研究犹太人对于梦的解析则有阿莫利、阿姆·拉姆以及洛温格尔的著作,近期的则可参考劳埃尔的心理分析说。
The interpretation of dreams among the Jews has been studied by Amoli, Amram, and Lowinger, and recently, with reference to the psycho - analytic standpoint, by Lauer.
此处的目的不是向您展示如何完成文本解析单词统计分析,而是使用它演示如何实现框架所涉及不到的内容。
The intent here isn't to show you how to do awesome text-parsing word count-stats analysis, but to use it as an example in the context of trying to do something the frameworks handle awkwardly.
第一个选项表示在ICA从数据源检索到文档内容后以及内容被分析和解析之前导出文档。
The first option means that a document is exported after ICA retrieves the document's contents from a data source and before the contents get analyzed and parsed.
然后,可以使用任何开放源码或商业日志分析工具(比如webalizer)轻松地解析它们,从而提供适合人阅读的报告和漂亮的图表。
They can then be easily parsed by any of the open source or commercial log analysis tools, such as Webalizer, to give you a human-readable report and pretty graphs upon request.
此方法分析缓冲区中的字符并为解析器提供标记(token)。
This method analyzes the characters in the buffer and provides tokens to the parser.
另外,stat - comments . pl脚本使用Lingua:EN:Fathom模块来分析由Parse:RecDescent文法解析出的注释。
In addition, the stat-comments.pl script USES the Lingua: : en: : Fathom module to analyze the comments parsed out by the parse: : RecDescent grammar.
游戏编写报告的SDL 用法,第 4 部分:lex和yacc 构建用于脚本和 GUI 设计的语法分析器 (developerWorks,2000 年 5 月)展示了作者如何使用 lex 和 yacc 为 游戏整合出一个配置文件解析器。
game-writing saga shows how the authors put together a configuration file parser for the game using lex and yacc.
您可以将实体解析器注册在分析器上,如“清单4”中所示。
You can register your entity resolver on your parser as shown in Listing 4.
这种持久性使解析器能够只分析最近更改的文件就能访问项目中存储的元素。
This persistence enables the parser to access stored elements in a project while only analyzing files that have recently changed.
该方法允许您提供自己的实体解析,从而防止语法分析器使用DTD 来做这件事。
This method allows you to provide your own entity resolution, preventing the parser from using the DTD for this task.
以下是对一个句子进行词法分析和解析的示例。
然后他们从细菌中提取出dna,利用高解析二次离子质谱技术分析了其中的化学组成,发现DNA中也含有砷。
They also separated out the DNA from the bacteria and analyzed its composition using a technique called high-resolution secondary ion mass spectrometry; the isolated DNA contained arsenic.
词法分析结束后,无意义的数据流被转变为一个有意义的单词序列,提供给解析器。
When lexing is finished, a meaningless stream of data has been transformed into a sequence of words meaningful to the parser.
第一部分是代码分析引擎,用来解析代码和注释。
The first is the code-analysis engine, which parses the code and the comments.
应该给出关于解析和词法分析的一个简短指南。
2008年和2009年,两名精神分析师探访了一群亚马逊雨林的居民,因为这群居民十分重视梦境以及对应的解析。
In 2008 and 2009, two psychoanalysts visited a population group in the Amazon rainforest who place great emphasis on dreams and dream interpretation.
无意识心理问题的研究让弗洛伊德产生了梦的解析,这后来成为精神分析的标准方法。
The study of the problems of the unconscious mind led Freud to dream interpretation, which was to become the principal method of phychoanalysis.
转换图是用于词法分析器和解析器的公共实现。
Transition diagrams are a common implementation for lexers and parsers.
类似于P:RD,那些语法使用简单的规则来进行词法分析,然后使用更复杂的规则来解析经过词法分析后的输入内容。
Like p: : RD, those grammars use simple rules to do lexing, and then use more complex rules to parse the lexed input.
由正则表达式注释器执行的额外文本分析会影响性能,会降低解析器的最大吞吐量。
The additional text analysis performed by the regular expression annotator does have a performance impact and will reduce the maximum parser throughput.
第一个目的是改进解析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.
本文分别采用数值方法和解析方法,分析周期性电抗加载多层介质结构的电磁散射特性。
In this dissertation, both numerical method and analytical method are applied to analyze the EM scattering characteristics of periodically reactance-loaded multilayer dielectric structures.
提出了基于物理冗余和最小平方残差分析的解析冗余进行传感器故障诊断方法,并进行对比实验;
A comparison experiment is carried out which based on the physical redundancy and analytical redundancy of the minimum square residual analysis.
解析(打开连接、下载内容、关闭连接等)也会减慢分析进程的速度。
The resolution (opening up a connection, pulling down content, closing the connection, and so on) also may slow down the parsing process.
Antlr: Antlr是一种强大的语言设计工具,能让您为自定义语言创建新的解析器和词汇分析器。
Antlr: Antlr is a powerful language design tool, giving you the ability to create new parsers and lexers for custom languages.
当用户选择希望解析依赖链的插件之后,我们就需要对用户所选择的插件的plugin .xml文件进行分析,从而查看它的依赖性。
Once users select a plug-in for which they want to observe the dependency chain, you have to parse the plugin.xml file of the user-selected plug-in and look for its dependencies.
Perl6中解析与词法分析的完成方式与上面所描述的Perl5和P:RD的组合非常类似,这是不足为奇的。
It's no surprise that parsing and lexing in Perl 6 is done in a very similar way to the Perl 5 and p: : RD combination described above.
应用推荐