一个蒙版就是个正则表达式,它代表了一次比较期间应该被忽略的文本。
A mask is a regular expression that represents text that should be ignored during a comparison.
您可以使用内置的文本分析特性,即基于词典和基于正则表达式的命名实体提取,如本系列的前面的文章所述。
You can use built-in text analysis functions, namely dictionary based and regular expression based named entity extraction, as explained in the previous articles of this series.
在正则表达式的上下文中,模式是字符序列的文本表示法。
In the context of regular expressions, patterns are text representations of sequences of characters.
可以在其中使用正则表达式设置一些高级组件属性,以便获得具有匹配文本的一些属性的输出。
You can set up several advanced component properties with regular expressions in them to drive the output of several properties with the matched text.
引言之后,是有关于处理文本、正则表达式、XML,和关系数据库的章节。
After the introductory chapter, there are chapters on dealing with text, regular expressions, XML, and relational databases.
下面的示例演示如何使用正则表达式从文本中提取出坐标和面积等概念。
The following example show you how to use regular expressions to extract concepts such as coordinates and areas from text.
如果对XML文件所做的全部操作只是从单个节点获取一些文本,可以使用一个简单的正则表达式,其处理速度可能会比任何xml解析器都快。
If all you need to do with an XML file is grab some text from within a single node, it might be possible to use a simple regular expression that will probably operate faster than any XML parser.
正则表达式是根据文本匹配模式的方法—类似于编译器生成类文件的工作原理。
Regular expressions are ways to match patterns against text — similar to how a compiler works to generate class files.
文本消息必须符合的模式是通过初始化文件中的元素中定义的正则表达式定义的。
The pattern that the text message must correspond to is defined through a regular expression defined through the element in the initialization file.
由于正则表达式是从文本文件中装载的一个字符串,所以当添加对新类型的邮政编码的支持时,不需要更改代码。
The regular expression is a string loaded from a text file, so you don't need to change the code when you want to add support for a new type of postal code.
该模式对象代表以文本格式定义的正则表达式。
This pattern object represents the regular expression that is defined in text format.
由正则表达式注释器执行的额外文本分析会影响性能,会降低解析器的最大吞吐量。
The additional text analysis performed by the regular expression annotator does have a performance impact and will reduce the maximum parser throughput.
正则表达式是定义将要匹配的文本部分的方式。
A regular expression is a way of defining a portion of text to be matched.
您也许还记得,XI用正则表达式对文本文档进行处理,并将其导入到XML中。
As you might remember, XI USES regular expressions to parse text documents and import them to XML.
正则表达式基本上就是为进行文本处理而构建的一种小型的子语言,用来进行字符串的匹配和替换。
Regular expressions are basically a small sub-language built for text processing, used to match and replace strings of characters.
相反,XI使用正则表达式来将文本文档转换成XML。
XI, on the other hand, uses regular expressions to transform text documents into XML.
比方说你不会试图去扩展正则表达式来设计HTML页面,也不会用CSS来进行文本匹配。
You don't want to extend regular expressions to style HTML, nor CSS to match text patterns.
该类负责根据定义解析文本文档、应用正则表达式并生成适当的SAX事件。
This class is responsible for parsing a text document according to a definition, applying the regular expressions, and generating the appropriate SAX events.
搜索主体、属性、值或注释中的文本,但没有正则表达式。
Search on text in bodies, attributes, values, or comments but no regular expressions.
replace函数采用了三个参数:第一个参数是要修改的文本,第二个参数是与将要替换的部分匹配的正则表达式,第三个参数是替换字符串。
The replace function USES three arguments: the first is the text to modify, the second is the regular expression that matches the part to be replaced, and the third is the replacement string.
在最简单的形式中,正则表达式(regular expression)是用来在文件中定位文本的一些搜索标准。
In their simplest form, regular expressions are the search criteria used for locating text in a file.
正则表达式提供了跨文本的字符串的更丰富的模式匹配,但在遍历诸如xml树这样的数据结构时,它和XPath一样易于使用。
Regular expressions provide much richer pattern matching across strings of text, but are as easy to use as XPath when traversing a data structure such as an XML tree.
使用像sed和Perl这样功能强大的工具,以及神奇的正则表达式,您可以直接通过UNIX命令行轻松地完成复杂的文本处理任务。
Using powerful tools like sed and Perl, and the magic of regular expressions, you can easily do complex text processing tasks directly on the UNIX command line.
虽然其中的代码不是着重于从ResourceBundle提取正则表达式,但是它的确包含了一个扩展格式化文本域的默认行为的好例子。
Although the code doesn't focus on extracting regular expressions from a ResourceBundle, it does include a good example of extending the default behavior of the formatted text field.
然后,当调用process时,它在从CAS收到的文档文本中寻找与正则表达式匹配的地方。
Then, when process is called, it finds matches of the regular expression in the document text that it gets from the CAS.
如本系列的前两篇文章所述,InfoSphereWarehouse为基于词典和正则表达式的文本分析提供工具。
As described in the previous articles of this series, InfoSphere Warehouse provides tooling for dictionary and regular expression-based text analysis.
如果您还不熟悉XI,它使用正则表达式(regex)预处理文本文件并转化成xml。
If you are not familiar with XI, it USES regular expressions (regex) to pre-process text files and convert them to XML.
通过正则表达式来确定文本中的模式。
如果输入文本与正则表达式匹配,则该方法返回true。
If the input text matches the regular expression, what this method returns is true.
首先,我们要创建一个从文本文档中提取面积和位置概念的正则表达式规则文件。
First, we will create a regular expression rule file to extract the concepts of area and location from text documents.
应用推荐