docstring
stringlengths
3
2.38k
code
stringlengths
9
99.4k
parse a property annotation which represents a list of key value pair
Annotation . get HashMap < String , Object > . <init> Annotation . cast String . cast Map < String , Object > . put Annotation . get List . toArray Map < String , Object > . put
set core annotations
Annotation . get List . get String . indexOf Character . isWhitespace String . codePointAt Character . isLetter String . codePointAt String . length String . substring
find all entity mentions in a document , and return them as a list
Annotation . get List . size List . get List . subList List < List > . add
the <unk> of the outputter
Annotation . get List . size PrintWriter . printf Annotation . get PrintWriter . printf Annotation . get PrintWriter . printf Annotation . get PrintWriter . printf Annotation . get PrintWriter . printf List . get PrintWriter . printf PrintWriter . println PrintWriter . print PrintWriter . println PrintWriter . print PrintWriter . println PrintWriter . print PrintWriter . println Annotation . get PrintWriter . println PrintWriter . printf PrintWriter . flush
filter out all <unk> mentions
Annotation . get List < List > . size List . get List < List > . get Set . add Set < String > . contains String . startsWith List . get List . size Set . add List . removeAll
filter out all <unk> mentions
Annotation . get List < List > . size List . get List < List > . get Set . add Set < String > . contains String . startsWith List . size List . get Set . add List . removeAll
check if the input symbol is marked as reduction for the loop by the reduction pass
Annotation . get Map < String , Set < Expression > > . keySet Map < String , Set < Expression > > . get Symbol . equals
parse the name of a given dependency
Annotation . get Set < String > . add
print raw document for analysis
Annotation . get StringBuilder . <init> List . get List < List > . get List . size List . get StringBuilder . append List . get Map < Integer , Set > . put Map < Integer , Set > . containsKey Map < Integer , Set > . put Map < Integer , Set > . get Map < Integer , Set > . containsKey Map < Integer , Set > . get StringBuilder . append StringBuilder . length StringBuilder . append StringBuilder . length StringBuilder . append Map < Integer , Set > . get StringBuilder . append StringBuilder . toString
print raw document for analysis
Annotation . get StringBuilder . <init> List . size List . get List < List > . get List . get StringBuilder . append List . size List . get HashMap < Integer , Set > . <init> HashSet . <init> HashMap < Integer , Set > . put HashMap < Integer , Set > . containsKey HashMap < Integer , Set > . get HashMap < Integer , Set > . containsKey HashMap < Integer , Set > . get StringBuilder . charAt StringBuilder . length StringBuilder . append HashMap < Integer , Set > . containsKey StringBuilder . append Annotation . get StringBuilder . toString
delete the annotation action specified as a <unk>
Annotation . getAction Action . <unk> Annotation . getEntries HashMap . remove Dictionary . <unk> Dictionary . <unk> Annotation . <unk>
delete the annotation action specified as a <unk>
Annotation . getAction Action . <unk> Annotation . getEntries HashMap < Object , Object > . remove Dictionary . <unk> Dictionary . <unk>
update the current annotation action with this entry
Annotation . getAction Action . <unk> Dictionary . <unk> Dictionary . <unk> Dictionary . <unk> Hashtable < Object , Object > . put Dictionary . <unk> Hashtable < Object , Object > . put Dictionary . <unk>
return a string uniquely identifying annotation
Annotation . getAnnotationType Annotation . cast
check if the supplied class has an annotation of the given type
Annotation . getAnnotationType Annotation > . equals
return an annotation object reflecting the annotation provided , or null of this class doesnt have , or <unk> , such an annotation
Annotation . getAnnotationType Annotation > . equals
check if a given word passed as annotation in a text is a noun or verb used to avoid <unk> fragments on <unk> <unk>
Annotation . getBegin Annotation . <unk>
generate a set of regions that cover a phrase that starts from the given annotation word
Annotation . getBegin Annotation . <unk>
return the annotation with the same range as the specified target annotation
Annotation . getBegin Annotation . cast Annotation . getEnd Annotation . cast Annotation . getBegin Annotation . cast Annotation . getEnd
todo what if first
Annotation . getBegin Annotation . getEnd Annotation . getBegin Annotation . getEnd Annotation . getBegin
get a list of named entities inside the span of a text annotation
Annotation . getBegin Annotation . getEnd Iterator . cast LinkedList . <init> Iterator . hasNext Iterator . next List . contains List . add
get a list of n grams inside the span of a text annotation
Annotation . getBegin Annotation . getEnd Iterator . cast LinkedList . <init> Iterator . hasNext List . add
get a list of n grams inside the span of a text annotation
Annotation . getBegin Annotation . getEnd Iterator . cast LinkedList . <init> Iterator . next List . add
annotate a text annotation with n grams
Annotation . getBegin Annotation . getEnd Iterator < Token > . cast ArrayList < Token > . <init> Iterator < Token > . hasNext Token . cast List < Token > . add List < Token > . size
annotate a text annotation with n grams
Annotation . getBegin Annotation . getEnd Iterator < Token > . cast ArrayList < Token > . <init> Token . cast List < Token > . add List < Token > . size
check if the first parameter contains the second parameter
Annotation . getBegin Annotation . getEnd
read tokens from the remote tokenizer
Annotation . getBegin Iterator < Token > . next Token . <unk> Token . getBegin Token . getEnd
get the <unk> as in a dependency relation for the given word
Annotation . getBegin List . size Annotation . <unk>
retrieve the access child
Annotation . getChild Access . cast
get the annotated annotation
Annotation . getClass A . cast
compare two annotations
Annotation . getClass Annotation . cast Annotation . equals
add the annotation even if not on the declared class field
Annotation . getClass Annotation > , Annotation > . put
return the argument io type for the annotation
Annotation . getClass Annotation > . isAssignableFrom
helper class to get annotation parameter method value using reflection
Annotation . getClass Class . getMethod Method . invoke
get the instance of given annotation type from bean property
Annotation . getClass Class . isAssignableFrom
return the argument io type for the annotation
Annotation . getClass Class . isAssignableFrom
return the qualifier annotation of the given qualifier class from the given injection point
Annotation . getClass Class < A > . cast
return annotation of the specified class if its presents in the array
Annotation . getClass Class < A > . isAssignableFrom Class < A > . cast
validate a non getter method
Annotation . getClass HashSet < String > . contains
read error message res message from validator annotation class since annotation does not allow inheritance , we have to do in a dirty way
Annotation . getClass Integer . cast Class . getField Integer . cast Context . getResources Annotation . getClass
read error message res message from validator annotation class since annotation does not allow inheritance , we have to do in a dirty way
Annotation . getClass Integer . cast
use together with to annotation instance Class , <unk>
Annotation . getClass Method . getReturnType Method . invoke
determine whether an annotation should override the same type of annotation on a superclass , by using reflection to invoke the override super classes method on the annotation if it exists
Annotation . getClass Method . invoke Boolean . instance Boolean . cast
check if an annotation property has a default value by see if there is a field named default + property name
Annotation . getClass Method . invoke Field . get
return a string code representation of this object
Annotation . getClass Object . toString
determine whether an annotation should override the same type of annotation on a superclass , by using reflection to invoke the override super classes method on the annotation if it exists
Annotation . getClass Object [] . cast Method . invoke Boolean . instance Boolean . cast
if the help text annotation is in the list of <unk> , return the value from the specified bundle for the given key
Annotation . getClass ResourceBundle . getBundle ResourceBundle . getString
extract the org
Annotation . getClass String . cast Annotation . getClass
extract the validation rule default message from the given annotation
Annotation . getClass String . cast Annotation . getClass
add the result annotation to the map and handles throwing an exception if there are duplicates
Annotation . getClass String . cast Map < String , Annotation > . put
extract the validation rule error code from the given annotation
Annotation . getClass String . cast
read the string value attribute of any annotation instance
Annotation . getClass String . cast
convert the class name of this node to a string representation
Annotation . getClass String . lastIndexOf String . substring
for display and debugging
Annotation . getClass String . lastIndexOf String . substring
read error message res message from validator annotation class since annotation does not allow inheritance , we have to do in a dirty way
Annotation . getClass String . length Integer . cast Class . getField Integer . cast Context . getResources Annotation . getClass
for display and debugging
Annotation . getClass String . substring String . length String . substring
<unk> ob die annotation auf den angegebenen <unk> <unk>
Annotation . getClass Target . value ElementType . equals
the bytecode for the type of this annotation
Annotation . getClassLoader Annotation . getTypeName Annotation . getProject
this will create a view path from a template annotation
Annotation . getClassName Annotation . <unk> String . cast
this returns the label text for the adapted class
Annotation . getContent String . length
this method parses all annotations from the parsed xml document
Annotation . getElementsByTagName HashSet < Annotation > . <init> Annotation . <init> Element . cast Integer . <init> Integer . intValue Element . getAttribute Integer . <init> Element . getAttribute Annotation . <unk> List < String > . isEmpty List < String > . get Double . <init> Double . doubleValue Element . getAttribute Double . <init> Double . doubleValue Element . getAttribute Collection < Annotation > . add
this method parses all annotations from the parsed xml document
Annotation . getElementsByTagName HashSet < Annotation > . <init> Annotation . <init> Element . cast Integer . intValue Element . getAttribute Integer . <init> Element . getAttribute Annotation . <unk> List < String > . isEmpty List < String > . size List < String > . get Double . doubleValue Double . <init> Element . getAttribute Double . <init> Double . doubleValue Element . getAttribute Collection < Annotation > . add
this method parses all annotations from the parsed xml document
Annotation . getElementsByTagName HashSet < Annotation > . <init> NodeList . getLength Annotation . <init> NodeList . item Element . cast Element . getAttribute Integer . intValue Integer . <init> Element . getAttribute Integer . <init> Element . getAttribute Annotation . <unk> List < String > . get Double . <init> Double . doubleValue Element . getAttribute Double . doubleValue Double . <init> Element . getAttribute Collection < Annotation > . add
check annotations for overlapping spans
Annotation . getEnd Annotation . getBegin Annotation . getEnd Annotation . getBegin
check whether <unk> covers <unk>
Annotation . getEnd Annotation . getBegin Annotation . getEnd Annotation . getBegin
verify if a given annotation covers the given token <unk> : when the annotation is not continuous , but made up of smaller parts
Annotation . getEnd Annotation . getBegin Token . getBegin Token . getEnd
remove all nodes that span a gap
Annotation . getEnd Annotation . getStart Annotation . <unk>
check if the oriented start of the read falls in the window
Annotation . getEnd Annotation . getStart Annotation . getEnd Annotation . getStart
check if the oriented start of the read falls in the window
Annotation . getEnd Annotation . getStart Window . getEnd Window . getStart
process the input text and returns a tagged text
Annotation . getEnd String . substring String . toUpperCase String . substring String . toUpperCase Annotation . getEnd String . toUpperCase String . substring Annotation . getEnd String . substring
verify if a given annotation covers the given token <unk> : when the annotation is not continuous , but made up of smaller parts
Annotation . getEnd Token . getBegin Token . getEnd Annotation . getBegin
return the number of tokens between the end of annotation one and the beginning of annotation 2
Annotation . getEndNode Annotation . getStartNode Annotation . cast Annotation . getStartNode
show hides the ui s involved in annotation editing
Annotation . getEndNode Annotation . getStartNode JWindow . setVisible JToggleButton . setSelected Runnable . <init> SwingUtilities . invokeLater JTextComponent . requestFocus
get all the <unk> of the right type that completely span the length of the test <unk>
Annotation . getEndNode Annotation . getStartNode
show hides the ui s involved in annotation editing
Annotation . getEndNode JWindow . setVisible JToggleButton . setSelected Runnable . <init> SwingUtilities . invokeLater JTextComponent . requestFocus
check if the token could be a possible <unk>
Annotation . getFeature Annotation . getText String . equals String . length String . contains
quick and dirty way of assigning case to the annotation based on its position relative to the main verb of the sentence
Annotation . getFeatures Annotation . getStartNode Annotation . getEndNode ArrayList < Annotation > . <init> List < Annotation > . add Collections . sort List < Annotation > . indexOf ArrayList < Annotation > . <init> Collections . sort List < Annotation > . get Annotation . getEndNode List < Annotation > . get Annotation . getStartNode String . cast Annotation . getFeatures String . cast String . equals
give an annotation this method gets the value of gate
Annotation . getFeatures String . cast String . lastIndexOf String . substring
return a string representing an end tag based on the input <unk>
Annotation . getFeatures String . cast StringBuffer . <init> StringBuffer . toString StringBuffer . append String . isEmpty StringBuffer . append StringBuffer . toString
return the text that will be sent to the tagger for a given annotation
Annotation . getFeatures StringBuffer . <init> Pattern . matcher Matcher . find Matcher . group Matcher . appendReplacement Matcher . quoteReplacement Matcher . appendReplacement Matcher . appendTail StringBuffer . toString
return the text that will be sent to the tagger for a given annotation
Annotation . getFeatures StringBuffer . <init> Pattern . matcher Matcher . group Matcher . appendReplacement String . valueOf Matcher . quoteReplacement Matcher . appendReplacement Matcher . appendTail StringBuffer . toString
convert in jpg the image using image magick
Annotation . getFilename String . split Annotation . getFilename
get whether the annotation is visible
Annotation . getFlags EnumSet . contains
get whether to print the annotation when the page is printed
Annotation . getFlags EnumSet . contains
a general add method , that allows you to add a annotation to this list depending on if the category <unk> the annotation is present or not , the corresponding item will either be added to an existing group if it exists , else the group will be created and then the item will be added
Annotation . getGroup ArrayList < String > . contains Annotation . getGroup ArrayList < String > . indexOf ArrayList < ArrayList < Annotation > > . size ArrayList < ArrayList < Annotation > > . get
retrieve all the annotated resources of an annotation
Annotation . getId Annotation . getLabel ArrayList < Resource > . <init> Annotation . getClass Annotation . cast Annotation . getClass Annotation . <unk>
retrieve all the added resources of an annotation
Annotation . getId Annotation . getLabel ArrayList < Resource > . <init> Annotation . getId Annotation . cast Annotation . getAdded
add an existing annotation
Annotation . getId Annotation . getType Annotation . getProperties Annotation . getStartOffset Annotation . getProperties Annotation . getType Annotation . <init> Annotation . getStartOffset Annotation . copy Annotation . getId HashMap < Integer , Annotation > . containsKey TreeSet < Annotation > . add Annotation . getId HashMap < Integer , Annotation > . put
return an organization without a designator and starting the
Annotation . getId HashMap . get ArrayList . cast Annotation . getFeatures Annotation . cast String . equalsIgnoreCase String . cast ArrayList < Annotation > . remove String . cast ArrayList < Annotation > . get String . cast String . toLowerCase String . equals HashSet . contains ArrayList < Annotation > . size ArrayList < Annotation > . get String . cast String . toLowerCase ArrayList < Annotation > . size ArrayList < Annotation > . remove ArrayList < Annotation > . <init> ArrayList < Annotation > . get ArrayList < Annotation > . remove HashMap . put StringBuffer . <init> ArrayList < Annotation > . size StringBuffer . append Annotation . cast StringBuffer . append StringBuffer . toString
return an organization without a designator and starting the
Annotation . getId HashMap . get ArrayList . cast ArrayList < Annotation > . get Annotation . cast String . cast Annotation . getFeatures String . cast ArrayList < Annotation > . remove ArrayList < Annotation > . size String . cast ArrayList < Annotation > . get String . cast String . toLowerCase String . equals HashSet . contains ArrayList < Annotation > . get String . cast String . toLowerCase ArrayList < Annotation > . size ArrayList < Annotation > . remove ArrayList < Annotation > . <init> ArrayList < Annotation > . remove Annotation . getId HashMap . put StringBuffer . <init> ArrayList < Annotation > . size ArrayList < Annotation > . get Annotation . getFeatures StringBuffer . append Annotation . cast ArrayList < Annotation > . size StringBuffer . append
add an existing annotation and keep the id
Annotation . getId HashMap < Integer , Annotation > . containsKey Annotation . copy Annotation . getId HashMap < Integer , Annotation > . containsKey HashMap < Integer , Annotation > . get TreeSet < Annotation > . remove TreeSet < Annotation > . add Annotation . getId HashMap < Integer , Annotation > . put
add an existing annotation by reference
Annotation . getId HashMap < Integer , Annotation > . containsKey Annotation . getId TreeSet < Annotation > . remove Annotation . getId TreeSet < Annotation > . add Annotation . getId HashMap < Integer , Annotation > . put
give an annotation , this method tells which selected annotation set name it belongs to
Annotation . getId HashMap < Integer , Integer > . get HashMap < Integer , String > . get
method checks annotation on input
Annotation . getId Long . valueOf
this returns the label text for the adapted class
Annotation . getId String . length
this returns the label text for the adapted class
Annotation . getIdentifier String . length
return the length of the given value
Annotation . getLength Annotation . cast
get scan p value of window
Annotation . getName Annotation . getSize EmpiricalDistribution . <unk>
get a <unk> annotation from an x query 3
Annotation . getName QName . getNamespaceURI QName . toString
this returns the label text for the adapted class
Annotation . getName String . length