在没有GUI的情况下从Java程序内部运行GATE管道。用gate构建一个tomcat应用程序 [英] Run GATE pipeline from inside a Java program without the GUI. build a tomcat app with gate

查看:187
本文介绍了在没有GUI的情况下从Java程序内部运行GATE管道。用gate构建一个tomcat应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我为GATE构建了一些插件组件,并与ANNIE工具结合使用,即可在GATE平台上运行管道。

i have built some plugin components to GATE and in combination with ANNIE tools, im running a pipeline in GATE platform.

有谁知道如何从控制台运行管道?我想在Tomcat中构建一个Web应用程序,它将从网页中获取纯文本,将其传递给我构建的GATE管道并执行某些操作。所以我需要在一个简单的Java文件中运行GATE,怎么做呢?

Does anyone know how can i run a pipeline from the console? I want to build a web application in Tomcat that will be taking a plain text from the web page, passing it to the GATE pipeline i have built and do something. So i need to run GATE in a simple Java file, how can it be done?

提前致谢并抱歉我的语法不好

Thanks in advance and sorry for my poor grammar

推荐答案

GATE示例代码向您展示如何以多种不同方式运行GATE,尤其是 Goldfish示例说明了如何从命令行运行GATE。

The GATE example code shows you how to run GATE in a number of different ways, in particular the Goldfish example illustrates how to run GATE from the command line.

这篇关于在没有GUI的情况下从Java程序内部运行GATE管道。用gate构建一个tomcat应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆