正如这几章将要论述的,数学并不局限于解析和数值;直觉起着重要的作用。
As the chapters will illustrate, mathematics is not restricted to the analytical and numerical; intuition plays a significant role.
她创建了一个框架来解析影视的各种分类。
She sets up a framework to deconstruct various categories of film.
当消息不透明的、不解析或者只需要路由时,可以使用BLOB域。
The BLOB domain can be used when the message is treated as opaque, not parsed, and simply routed.
光谱学相对以前解析作品的方法有一个明显优势,即它不会对原作造成损害。
Spectroscopy has a very distinct advantage over previous methods of analyzing our works, because it's not invasive.
在上面的第一个可行域中,优化解决方案是解析空间中的右顶点。
In the first feasible region above, the optimal solution is the right vertex of the solution space.
那么,如何解析它呢?
应用程序可以解析消息,但它们怎样知道如何解释解析结果呢?
Applications can parse the messages, but how do they know how to interpret the parsed results?
然后您将这些方法(以处理程序的形式)以及要解析的文档一起传递给解析器。
You then pass these methods (in the form of a handler) to the parser, along with a document to be parsed.
如果需要,解析位置信息。
在这个程序中,解析器使用全局变量来追踪解析的消息列表。
In this program, the parser USES global variables to track the list of messages parsed.
有关格式的知识不在解析器中,而是在模型中,模型可由解析器在运行时直接访问,或者将其生成为解析器可调用的代码。
The knowledge of the format is not in the parser but in the model, which is either accessed directly by the parser at run time, or generated into code that the parser invokes.
什么是消息解析?
解析为什么重要?
解析该消息。
因此,解析器退出。
和树解析方式不同,流解析不需要将整个文档加载到内存中。
Unlike tree style parsing, stream parsing does not load the entire XML document into memory.
还随之提供一个解析器以支持消息的解析和写入。
This comes with a parser to support the parsing and writing of messages.
如果接收到成功的响应,则名称解析服务能够将该短名称解析为某个IP地址。
If you receive a successful response, then your name resolution service can resolve the short name to an IP address.
但是使用工厂是为了创建解析器而不是直接解析文档。
However, you use the factory to create parsers, not to parse documents directly.
注意,这个解析空间更小。
对于通过名称引用的主机,必须通过名称解析机制解析它。
For a host to be referenced by name, it has to be resolved through name resolution.
假定有一组特性和性质,解析器池应该从内部池中返回一个解析器,如果内部池中没有解析器,那么解析器池应该创建并保存一个新的解析器实例。
Given a set of features and properties, the parser pool should either return a parser from an internal pool or create and store a new parser instance if one does not exist.
这样解析空间更小了。
解析文档。
因为还要将该实例传递给解析器,所以解析器的操作将停止。
Since this instance was passed to the parser as well, the parser operation will stop.
标记是将对解析程序有意义的解析字符串的最小单位。
A token is the smallest unit of parsed string that will have meaning to the parsing program.
编程方法——编写特定的解析器程序来解析每种消息格式。
Programmatic approach — a specific parser program is written to parse each message format.
在使用推方式的情况下,由解析器来控制解析操作,需要向解析器提供要解析的文档和处理程序。
With a push approach, the parser is in control of the parsing operation — you give the parser a document to parse and a handler reference.
比如,SAX解析器通过回调客户应用程序提交解析事件。
SAX parsers, for example, deliver the parsing events through callbacks to the client application.
在解析一个表达式的时候,解析器每当解析“AND”时就发出字“INTERSECT”,而解析“OR”时就发出“UNION”。
When an expression is being parsed, the parser should emit the word "INTERSECT" whenever it parses "and" and "UNION" whenever it parses "or".
应用推荐