gate

JAVA PermGem memory

送分小仙女□ 提交于 2019-12-13 09:33:50
问题 Please help me to find it out how to increase the JAVA heap space, I am running GATE based application where I need to run large collection of datasets, and it's really eating the memory. My computer configuration is RAM 32GB window 7. Whenever I run the dataset it when it reaches the memory size(1.5g) stops and says no memory (PermGem space available) and it kills the program. Is it true that maximum memory we can allocate to JAVA as -Xmx as 1.5g by default, we tried to increase the memory

How can i add custom annotations to default ANNIE gazetteer?

久未见 提交于 2019-12-13 06:42:37
问题 I'm using the GATE * SDK * and would like to modify the default ANNIE Gazetteer to include a simple annotation based on a new list definition I have created. I've added my list definition to GATE-HOME\plugins\ANNIE\resources\gazetteer I've added an entry in the lists.def file to point to my new list file. E.g. *open_source_software:opensouce* I've created an annotation schema and added to the GATE-HOME\plugins\ANNIE\resources\schema When i load ANNIE and run the application it does not

Boolean Logic & gate delays

杀马特。学长 韩版系。学妹 提交于 2019-12-13 03:39:47
问题 Assuming 2 gate-delays for a Sum or Carry function, estimate the time for ripple-through carry addition for adders with the following word lengths:- i) 4-bit ii) 8-bit iii) 16-bit In my notes I have written: "delay is the word width times each bit stage delay (2 gate delays)". Therefore: i) 2*4 = 8 ii) 2*8 = 16 iii) 2*16 = 32 Looking at the ripple carry adder wikipedia page: http://en.wikipedia.org/wiki/Ripple_carry_adder#Ripple-carry_adder The formula used here is different, can anyone

How to remove a Lookup from DefaultGazetteer programatically

别来无恙 提交于 2019-12-13 01:44:06
问题 I need to teach Gazetteer by adding/removing words. I know how to add new Lookup but when I've tried to remove it, the Lookup was not removed. gazetter.remove("string to be found"); // returns false Any help, please! 回答1: There are two separate things inside the (Default)Gazetteer: Finite state machine used for searching the source text. Linear definition of the gazetteer which represents all the lists of words in the dictionary. It is not used directly for searching the text. At the startup,

How to retrieve all kinds of dates and temporal values from text

浪尽此生 提交于 2019-12-12 08:13:01
问题 I wanted to retrieve dates and other temporal entities from a set of Strings. Can this be done without parsing the string for dates in JAVA as most parsers deal with a limited scope of input patterns. But input is a manual entry which here and hence ambiguous. Inputs can be like: 12th Sep |mid-March |12.September.2013 Sep 12th |12th September| 2013 Sept 13 |12th, September |12th,Feb,2013 I've gone through many answers on finding date in Java but most of them don't deal with such a huge scope

Find the flow of dependency from the ouput of a parser

人走茶凉 提交于 2019-12-12 06:11:40
问题 I have used the parser in the gate to get the dependency. And from that dependency, I found separate list for the dependency pair and dependency name. My input is String idlist =[26, 28] String argslist = [[26, 25], [26, 24], [26, 29], [26, 28], [28, 27], [35, 26], [29, 30]] String kindlist =[ aux, dobj, pobj, prep, advmod, aux, adj] My expected output is two list Depflowlist is first one and another one kindflowlist. for 26 itself it has different flow. for 26 expected depflowlist is [26, 25

Stanford POS tagger with GATE twitter model is slow

瘦欲@ 提交于 2019-12-12 04:54:01
问题 I am using the Stanford POS tagger with the GATE Twitter model and the tagger takes around 3 seconds to initialize, is this normal or am I loading it incorrectly? Small sample code: package tweet.nlp.test; import edu.stanford.nlp.tagger.maxent.MaxentTagger; public class TweetNLPTest { public static void main(String[] args) { String text = "My sister won't tell me where she hid my food. She's fueling my anorexia. #bestsisteraward #not 😭💀"; MaxentTagger tagger = new MaxentTagger("models/gate-EN

(GATE) How to let Minipar play with special characters like Ö, Ü, Ä?

本秂侑毒 提交于 2019-12-12 03:47:57
问题 while learning Gate, I encountered the following problem: Minipar throws exception when it sees uncommen characters like Ö, Ü, Ä. For example in the sentence "Batten disease (also known as Spielmeyer-Vogt-Sjögren-Batten disease ) is a rare, fatal autosomal recessive neurodegenerative disorder that begins in childhood." (from a wiki article) The annotation Minipar got before it stopped working is "Batten disease (also known as Spielmeyer-Vogt-Sj" which is exactly before the character ö , so

error loading svm learning configuration file in gate tool

核能气质少年 提交于 2019-12-12 03:24:08
问题 I am new to machine learning. When I tried learning through gate, it is showing some error. The learning configuration file is given below. <?xml version="1.0"?> <ML-CONFIG> <SURROUND value="false"/> <FILTERING ratio='0.2' dis='far'/> <EVALUATION method="holdout" runs="2" ratio="0.66"/> <multiClassification2Binary method="one-vs-anothers" thread-pool-size="2"/> <PARAMETER name="thresholdProbabilityBoundary" value="1.0"/> <PARAMETER name="thresholdProbabilityEntity" value="1.0"/> <PARAMETER

GATE - How to create a new annotation SET?

北城以北 提交于 2019-12-11 02:16:23
问题 I am starting to learn GATE. I created an annotation with features but I would like to put it in a new annotation set. Can someone please tell me how to do it with JAPE? Thanks 回答1: I found the answer to my question in http://sourceforge.net/p/gate/mailman/message/5348688/ and http://osdir.com/ml/ai.gate.general/2005-04/msg00052.html. They said that a JAPE rule can't refer to more than one annotation set. These annotation sets are defined in the PR runtime parameters (outputASName,