GATE annotation counting -


i trying figure out way of counting annotations in gate e.g. if have annotations occurring multiple times in text document , if want count it, there sort of plugin can me?

thanks

another option use groovy script. code here:

sum = 0 docs.findall{ // documents loaded   def filteredannots = it.getannotations("filtered")   num = filteredannots["anatomy"].size()   sum += num   println it.name + " " + num // or print file here } println "total:" + " " + sum 

you can put code in groovy plugin (pr) , run part of pipeline, described here.


Comments

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -