Listing 9 shows the Customer class with an annotator aspect.
清单9显示了带有注释者方面的customer类。
Used inside the field annotator to specify a selectable option.
用在域注释器中以指定一个可选择的选项。
You could, for example, implement one annotator aspect per package.
比如说,您可以为每个包实现一个注释者。
The regular expression annotator is configured by means of an XML file.
正则表达式注释器是通过一个XML文件配置的。
CVD runs the annotator on sample texts that can be copied into the CVD interface.
CVD在示例文本中运行注释器,这些文本可以复制到CVD界面中。
If this solves the problem, your annotator may return unexpectedly long return values.
如果这能够解决该问题,那么注释器将返回一个比较长的返回值。
During development of the annotator, you might want to test it out on some sample text.
在开发注释器期间,您可能想在一些样例文本上测试它。
The PEAR format contains all necessary information to run the wrapped annotator component.
PEAR格式包含运行打包注释器组件所需的所有信息。
For more complex text analysis tasks, the development of a custom annotator may be of interest.
对于更复杂的文本分析任务,可能需要开发定制的注释器。
In such cases, the annotator-supplier design avoids the risk of missed annotations for join points.
在这种情况下,有一种注释者-供应者设计避免了错过连接点的注释的风险。
The installed version of the regular expression annotator now has the desired set of rules configured.
现在,安装的正则表达式注释器已经配置了所需的规则集。
Annotation clutter can be reduced by combining the Participant pattern with annotator-supplier aspects.
结合Participant模式与注释者-供应者方面可以减少注释混乱。
With both the annotator and the mapping file linked to the collection, documents can be crawled, parsed, and indexed.
将注释器和映射文件链接到集合之后,就可以对文档进行爬行、解析和编制索引。
Now the collection is ready to process documents with the customized annotator and store the results in its search index.
现在,集合已经可以用定制的注释器处理文档,并将结果存储在它的搜索索引中。
InfoSphere Warehouse forwards error messages that occur in your annotator code to the trace of the executed analytic flow.
InfoSphereWarehouse将在注释器代码中发生的错误消息转发到执行分析流跟踪中。
It may be useful to ascertain in the annotator code that a specific length may not be exceeded in the created annotations.
在注释器代码中确保创建注释时不超过特定长度是非常有用的。
Rules can be changed and evaluated without restarting CVD -- simply reload the annotator descriptor, and rerun the annotator.
可以修改和评估规则,而不需要重新启动CVD ——只需重新装载注释器描述符并重新运行注释器。
On some occasions it may be necessary to debug the problems of your annotator by retrieving UIMA log messages of a finer level.
在某些情况下,有必要从更细的级别获取UIMA日志消息来调试注释器的问题。
A PEAR file is actually a ZIP archive file that contains the annotator code and configuration in a well-defined directory structure.
PEAR文件实际上是一个ZIP存档文件,其中按照定义良好的目录结构包含注释器代码和配置。
This file contains a set of rules that define on what type of character or number sequences the annotator should act and how it should act.
这个文件包含一组规则,这些规则定义注释器应该处理的字符和数字序列的类型以及处理的方式。
To simplify the extraction of document text, the OmniFind/ICM integration can be run in "training mode" (not included in the sample annotator).
为了简化文档文本的提取过程,OmniFind/ICM集成可以运行在 “训练模式” 下(在示例注解器中不包含这个模式)。
The additional XML files describe the types of annotations that are created (or consumed) by the annotator along with other additional information.
XML文件描述注释器创建(或使用)的注释的类型,以及其他信息。
Possible problems that are not easy to identify can occur if the results of the UIMA annotator are larger than the result column they are mapped to.
如果UIMA 注释器的结果大于它们映射到的结果列,那么可能出现难以识别的问题。
The additional text analysis performed by the regular expression annotator does have a performance impact and will reduce the maximum parser throughput.
由正则表达式注释器执行的额外文本分析会影响性能,会降低解析器的最大吞吐量。
The UIMA SDK can be used to run the regular expression annotator outside of OmniFind on selected texts in order to evaluate modified or newly created rules.
为了评估修改后的规则或新创建的规则,可以使用UIMAsdk在omnifind之外针对选择的文本运行正则表达式注释器。
Using the text analyzer operator and an Apache UIMA compatible annotator, you will see how to create and integrate a user-defined text analysis task into the data transformation flows.
通过使用文本分析器操作符和一个Apacheuima兼容的注释器,您将了解如何创建一个用户定义的文本分析任务并将其集成到数据转换流中。
You have learned how to setup the UIMA development environment and how to create your own annotator and use it in InfoSphere Warehouse to extract structured information from text input.
您了解了如何设置UIMA开发环境,如何创建自己的注释器,以及在InfoSphere Warehouse中使用定制注释器从文本输入提取结构化信息。
The rule and type system changes discussed in the previous section must be applied to the XML rule and type system files in the installed version of the regular expression annotator PEAR.
对于安装的正则表达式注释器PEAR版本中的XML规则和类型系统文件,必须应用上一节讨论的规则和类型系统修改。
The type system already contains types for phonenumber and the other annotation types needed by the sample regular expression annotator rules. Listing 3 illustrates the two new type definitions
这个类型系统已经包含了phonenumber 类型和示例正则表达式注释器规则所需的其他注释器类型。
When the outcome is satisfactory, the rules in the original annotator PEAR file can be updated with the new rules and the resulting version installed in OmniFind Enterprise Edition and put to use.
当结果令人满意时,就可以用新规则更新原来的注释器PEAR文件中的规则,并将产生的版本安装在OmniFindEnterpriseEdition 中投入使用。
应用推荐