id
int32
0
165k
repo
stringlengths
7
58
path
stringlengths
12
218
func_name
stringlengths
3
140
original_string
stringlengths
73
34.1k
language
stringclasses
1 value
code
stringlengths
73
34.1k
code_tokens
list
docstring
stringlengths
3
16k
docstring_tokens
list
sha
stringlengths
40
40
url
stringlengths
105
339
140,500
amazon-archives/aws-sdk-java-resources
aws-resources-core/src/main/java/com/amazonaws/resources/internal/ReflectionUtils.java
ReflectionUtils.getByPath
public static Object getByPath(Object target, List<String> path) { Object obj = target; for (String field : path) { if (obj == null) { return null; } obj = evaluate(obj, trimType(field)); } return obj; }
java
public static Object getByPath(Object target, List<String> path) { Object obj = target; for (String field : path) { if (obj == null) { return null; } obj = evaluate(obj, trimType(field)); } return obj; }
[ "public", "static", "Object", "getByPath", "(", "Object", "target", ",", "List", "<", "String", ">", "path", ")", "{", "Object", "obj", "=", "target", ";", "for", "(", "String", "field", ":", "path", ")", "{", "if", "(", "obj", "==", "null", ")", "{", "return", "null", ";", "}", "obj", "=", "evaluate", "(", "obj", ",", "trimType", "(", "field", ")", ")", ";", "}", "return", "obj", ";", "}" ]
Evaluates the given path expression on the given object and returns the object found. @param target the object to reflect on @param path the path to evaluate @return the result of evaluating the path against the given object
[ "Evaluates", "the", "given", "path", "expression", "on", "the", "given", "object", "and", "returns", "the", "object", "found", "." ]
0f4fef2615d9687997b70a36eed1d62dd42df035
https://github.com/amazon-archives/aws-sdk-java-resources/blob/0f4fef2615d9687997b70a36eed1d62dd42df035/aws-resources-core/src/main/java/com/amazonaws/resources/internal/ReflectionUtils.java#L112-L123
140,501
amazon-archives/aws-sdk-java-resources
aws-resources-core/src/main/java/com/amazonaws/resources/internal/ReflectionUtils.java
ReflectionUtils.getAllByPath
public static List<Object> getAllByPath(Object target, List<String> path) { List<Object> results = new LinkedList<>(); // TODO: Can we unroll this and do it iteratively? getAllByPath(target, path, 0, results); return results; }
java
public static List<Object> getAllByPath(Object target, List<String> path) { List<Object> results = new LinkedList<>(); // TODO: Can we unroll this and do it iteratively? getAllByPath(target, path, 0, results); return results; }
[ "public", "static", "List", "<", "Object", ">", "getAllByPath", "(", "Object", "target", ",", "List", "<", "String", ">", "path", ")", "{", "List", "<", "Object", ">", "results", "=", "new", "LinkedList", "<>", "(", ")", ";", "// TODO: Can we unroll this and do it iteratively?", "getAllByPath", "(", "target", ",", "path", ",", "0", ",", "results", ")", ";", "return", "results", ";", "}" ]
Evaluates the given path expression and returns the list of all matching objects. If the path expression does not contain any wildcards, this will return a list of at most one item. If the path contains one or more wildcards, the returned list will include the full set of values obtained by evaluating the expression with all legal value for the given wildcard. @param target the object to evaluate the expression against @param path the path expression to evaluate @return the list of matching values
[ "Evaluates", "the", "given", "path", "expression", "and", "returns", "the", "list", "of", "all", "matching", "objects", ".", "If", "the", "path", "expression", "does", "not", "contain", "any", "wildcards", "this", "will", "return", "a", "list", "of", "at", "most", "one", "item", ".", "If", "the", "path", "contains", "one", "or", "more", "wildcards", "the", "returned", "list", "will", "include", "the", "full", "set", "of", "values", "obtained", "by", "evaluating", "the", "expression", "with", "all", "legal", "value", "for", "the", "given", "wildcard", "." ]
0f4fef2615d9687997b70a36eed1d62dd42df035
https://github.com/amazon-archives/aws-sdk-java-resources/blob/0f4fef2615d9687997b70a36eed1d62dd42df035/aws-resources-core/src/main/java/com/amazonaws/resources/internal/ReflectionUtils.java#L137-L144
140,502
amazon-archives/aws-sdk-java-resources
aws-resources-core/src/main/java/com/amazonaws/resources/internal/ReflectionUtils.java
ReflectionUtils.digIn
private static Object digIn(Object target, String field) { if (target instanceof List) { // The 'field' will tell us what type of objects belong in the list. @SuppressWarnings("unchecked") List<Object> list = (List<Object>) target; return digInList(list, field); } else if (target instanceof Map) { // The 'field' will tell us what type of objects belong in the map. @SuppressWarnings("unchecked") Map<String, Object> map = (Map<String, Object>) target; return digInMap(map, field); } else { return digInObject(target, field); } }
java
private static Object digIn(Object target, String field) { if (target instanceof List) { // The 'field' will tell us what type of objects belong in the list. @SuppressWarnings("unchecked") List<Object> list = (List<Object>) target; return digInList(list, field); } else if (target instanceof Map) { // The 'field' will tell us what type of objects belong in the map. @SuppressWarnings("unchecked") Map<String, Object> map = (Map<String, Object>) target; return digInMap(map, field); } else { return digInObject(target, field); } }
[ "private", "static", "Object", "digIn", "(", "Object", "target", ",", "String", "field", ")", "{", "if", "(", "target", "instanceof", "List", ")", "{", "// The 'field' will tell us what type of objects belong in the list.", "@", "SuppressWarnings", "(", "\"unchecked\"", ")", "List", "<", "Object", ">", "list", "=", "(", "List", "<", "Object", ">", ")", "target", ";", "return", "digInList", "(", "list", ",", "field", ")", ";", "}", "else", "if", "(", "target", "instanceof", "Map", ")", "{", "// The 'field' will tell us what type of objects belong in the map.", "@", "SuppressWarnings", "(", "\"unchecked\"", ")", "Map", "<", "String", ",", "Object", ">", "map", "=", "(", "Map", "<", "String", ",", "Object", ">", ")", "target", ";", "return", "digInMap", "(", "map", ",", "field", ")", ";", "}", "else", "{", "return", "digInObject", "(", "target", ",", "field", ")", ";", "}", "}" ]
Uses reflection to dig into a chain of objects in preparation for setting a value somewhere within the tree. Gets the value of the given property of the target object and, if it is null, creates a new instance of the appropriate type and sets it on the target object. Returns the gotten or created value. @param target the target object to reflect on @param field the field to dig into @return the gotten or created value
[ "Uses", "reflection", "to", "dig", "into", "a", "chain", "of", "objects", "in", "preparation", "for", "setting", "a", "value", "somewhere", "within", "the", "tree", ".", "Gets", "the", "value", "of", "the", "given", "property", "of", "the", "target", "object", "and", "if", "it", "is", "null", "creates", "a", "new", "instance", "of", "the", "appropriate", "type", "and", "sets", "it", "on", "the", "target", "object", ".", "Returns", "the", "gotten", "or", "created", "value", "." ]
0f4fef2615d9687997b70a36eed1d62dd42df035
https://github.com/amazon-archives/aws-sdk-java-resources/blob/0f4fef2615d9687997b70a36eed1d62dd42df035/aws-resources-core/src/main/java/com/amazonaws/resources/internal/ReflectionUtils.java#L274-L292
140,503
amazon-archives/aws-sdk-java-resources
aws-resources-core/src/main/java/com/amazonaws/resources/internal/ReflectionUtils.java
ReflectionUtils.setValue
private static void setValue(Object target, String field, Object value) { // TODO: Should we do this for all numbers, not just '0'? if ("0".equals(field)) { if (!(target instanceof Collection)) { throw new IllegalArgumentException( "Cannot evaluate '0' on object " + target); } @SuppressWarnings("unchecked") Collection<Object> collection = (Collection<Object>) target; collection.add(value); } else { Method setter = findMethod(target, "set" + field, value.getClass()); try { setter.invoke(target, value); } catch (IllegalAccessException exception) { throw new IllegalStateException( "Unable to access setter method", exception); } catch(InvocationTargetException exception) { if (exception.getCause() instanceof RuntimeException) { throw (RuntimeException) exception.getCause(); } throw new IllegalStateException( "Checked exception thrown from setter method", exception); } } }
java
private static void setValue(Object target, String field, Object value) { // TODO: Should we do this for all numbers, not just '0'? if ("0".equals(field)) { if (!(target instanceof Collection)) { throw new IllegalArgumentException( "Cannot evaluate '0' on object " + target); } @SuppressWarnings("unchecked") Collection<Object> collection = (Collection<Object>) target; collection.add(value); } else { Method setter = findMethod(target, "set" + field, value.getClass()); try { setter.invoke(target, value); } catch (IllegalAccessException exception) { throw new IllegalStateException( "Unable to access setter method", exception); } catch(InvocationTargetException exception) { if (exception.getCause() instanceof RuntimeException) { throw (RuntimeException) exception.getCause(); } throw new IllegalStateException( "Checked exception thrown from setter method", exception); } } }
[ "private", "static", "void", "setValue", "(", "Object", "target", ",", "String", "field", ",", "Object", "value", ")", "{", "// TODO: Should we do this for all numbers, not just '0'?", "if", "(", "\"0\"", ".", "equals", "(", "field", ")", ")", "{", "if", "(", "!", "(", "target", "instanceof", "Collection", ")", ")", "{", "throw", "new", "IllegalArgumentException", "(", "\"Cannot evaluate '0' on object \"", "+", "target", ")", ";", "}", "@", "SuppressWarnings", "(", "\"unchecked\"", ")", "Collection", "<", "Object", ">", "collection", "=", "(", "Collection", "<", "Object", ">", ")", "target", ";", "collection", ".", "add", "(", "value", ")", ";", "}", "else", "{", "Method", "setter", "=", "findMethod", "(", "target", ",", "\"set\"", "+", "field", ",", "value", ".", "getClass", "(", ")", ")", ";", "try", "{", "setter", ".", "invoke", "(", "target", ",", "value", ")", ";", "}", "catch", "(", "IllegalAccessException", "exception", ")", "{", "throw", "new", "IllegalStateException", "(", "\"Unable to access setter method\"", ",", "exception", ")", ";", "}", "catch", "(", "InvocationTargetException", "exception", ")", "{", "if", "(", "exception", ".", "getCause", "(", ")", "instanceof", "RuntimeException", ")", "{", "throw", "(", "RuntimeException", ")", "exception", ".", "getCause", "(", ")", ";", "}", "throw", "new", "IllegalStateException", "(", "\"Checked exception thrown from setter method\"", ",", "exception", ")", ";", "}", "}", "}" ]
Uses reflection to set the value of the given property on the target object. @param target the object to reflect on @param field the name of the property to set @param value the new value of the property
[ "Uses", "reflection", "to", "set", "the", "value", "of", "the", "given", "property", "on", "the", "target", "object", "." ]
0f4fef2615d9687997b70a36eed1d62dd42df035
https://github.com/amazon-archives/aws-sdk-java-resources/blob/0f4fef2615d9687997b70a36eed1d62dd42df035/aws-resources-core/src/main/java/com/amazonaws/resources/internal/ReflectionUtils.java#L416-L450
140,504
amazon-archives/aws-sdk-java-resources
aws-resources-core/src/main/java/com/amazonaws/resources/internal/ReflectionUtils.java
ReflectionUtils.findMethod
private static Method findMethod( Object target, String name, Class<?> parameterType) { for (Method method : target.getClass().getMethods()) { if (!method.getName().equals(name)) { continue; } Class<?>[] parameters = method.getParameterTypes(); if (parameters.length != 1) { continue; } if (parameters[0].isAssignableFrom(parameterType)) { return method; } } throw new IllegalStateException( "No method '" + name + "(" + parameterType + ") on type " + target.getClass()); }
java
private static Method findMethod( Object target, String name, Class<?> parameterType) { for (Method method : target.getClass().getMethods()) { if (!method.getName().equals(name)) { continue; } Class<?>[] parameters = method.getParameterTypes(); if (parameters.length != 1) { continue; } if (parameters[0].isAssignableFrom(parameterType)) { return method; } } throw new IllegalStateException( "No method '" + name + "(" + parameterType + ") on type " + target.getClass()); }
[ "private", "static", "Method", "findMethod", "(", "Object", "target", ",", "String", "name", ",", "Class", "<", "?", ">", "parameterType", ")", "{", "for", "(", "Method", "method", ":", "target", ".", "getClass", "(", ")", ".", "getMethods", "(", ")", ")", "{", "if", "(", "!", "method", ".", "getName", "(", ")", ".", "equals", "(", "name", ")", ")", "{", "continue", ";", "}", "Class", "<", "?", ">", "[", "]", "parameters", "=", "method", ".", "getParameterTypes", "(", ")", ";", "if", "(", "parameters", ".", "length", "!=", "1", ")", "{", "continue", ";", "}", "if", "(", "parameters", "[", "0", "]", ".", "isAssignableFrom", "(", "parameterType", ")", ")", "{", "return", "method", ";", "}", "}", "throw", "new", "IllegalStateException", "(", "\"No method '\"", "+", "name", "+", "\"(\"", "+", "parameterType", "+", "\") on type \"", "+", "target", ".", "getClass", "(", ")", ")", ";", "}" ]
Finds a method of the given name that will accept a parameter of the given type. If more than one method matches, returns the first such method found. @param target the object to reflect on @param name the name of the method to search for @param parameterType the type of the parameter to be passed @return the matching method @throws IllegalStateException if no matching method is found
[ "Finds", "a", "method", "of", "the", "given", "name", "that", "will", "accept", "a", "parameter", "of", "the", "given", "type", ".", "If", "more", "than", "one", "method", "matches", "returns", "the", "first", "such", "method", "found", "." ]
0f4fef2615d9687997b70a36eed1d62dd42df035
https://github.com/amazon-archives/aws-sdk-java-resources/blob/0f4fef2615d9687997b70a36eed1d62dd42df035/aws-resources-core/src/main/java/com/amazonaws/resources/internal/ReflectionUtils.java#L498-L521
140,505
amazon-archives/aws-sdk-java-resources
aws-resources-core/src/main/java/com/amazonaws/resources/internal/model/Utils.java
Utils.isMultiValuedPath
public static boolean isMultiValuedPath(List<String> expression) { for (String element : expression) { if ("*".equals(element) || element.startsWith("*:")) { return true; } } return false; }
java
public static boolean isMultiValuedPath(List<String> expression) { for (String element : expression) { if ("*".equals(element) || element.startsWith("*:")) { return true; } } return false; }
[ "public", "static", "boolean", "isMultiValuedPath", "(", "List", "<", "String", ">", "expression", ")", "{", "for", "(", "String", "element", ":", "expression", ")", "{", "if", "(", "\"*\"", ".", "equals", "(", "element", ")", "||", "element", ".", "startsWith", "(", "\"*:\"", ")", ")", "{", "return", "true", ";", "}", "}", "return", "false", ";", "}" ]
Returns true if the given path expression contains wildcards and could be expanded to match multiple values.
[ "Returns", "true", "if", "the", "given", "path", "expression", "contains", "wildcards", "and", "could", "be", "expanded", "to", "match", "multiple", "values", "." ]
0f4fef2615d9687997b70a36eed1d62dd42df035
https://github.com/amazon-archives/aws-sdk-java-resources/blob/0f4fef2615d9687997b70a36eed1d62dd42df035/aws-resources-core/src/main/java/com/amazonaws/resources/internal/model/Utils.java#L50-L57
140,506
amazon-archives/aws-sdk-java-resources
aws-resources-core/src/main/java/com/amazonaws/resources/internal/ResourceImpl.java
ResourceImpl.load
public synchronized boolean load( AmazonWebServiceRequest request, ResultCapture<?> extractor) { if (attributes != null) { return false; } ActionModel action = resourceModel.getLoadAction(); if (action == null) { throw new UnsupportedOperationException( "This resource does not support being loaded."); } // The facade generator ensures it's only ever possible to pass an // instance of the appropriate type. @SuppressWarnings("unchecked") ResultCapture<Object> erasedExtractor = (ResultCapture<Object>) extractor; ActionResult result = ActionUtils.perform( this, action, request, erasedExtractor); this.attributes = parseAttributes(resourceModel, result.getData()); return true; }
java
public synchronized boolean load( AmazonWebServiceRequest request, ResultCapture<?> extractor) { if (attributes != null) { return false; } ActionModel action = resourceModel.getLoadAction(); if (action == null) { throw new UnsupportedOperationException( "This resource does not support being loaded."); } // The facade generator ensures it's only ever possible to pass an // instance of the appropriate type. @SuppressWarnings("unchecked") ResultCapture<Object> erasedExtractor = (ResultCapture<Object>) extractor; ActionResult result = ActionUtils.perform( this, action, request, erasedExtractor); this.attributes = parseAttributes(resourceModel, result.getData()); return true; }
[ "public", "synchronized", "boolean", "load", "(", "AmazonWebServiceRequest", "request", ",", "ResultCapture", "<", "?", ">", "extractor", ")", "{", "if", "(", "attributes", "!=", "null", ")", "{", "return", "false", ";", "}", "ActionModel", "action", "=", "resourceModel", ".", "getLoadAction", "(", ")", ";", "if", "(", "action", "==", "null", ")", "{", "throw", "new", "UnsupportedOperationException", "(", "\"This resource does not support being loaded.\"", ")", ";", "}", "// The facade generator ensures it's only ever possible to pass an", "// instance of the appropriate type.", "@", "SuppressWarnings", "(", "\"unchecked\"", ")", "ResultCapture", "<", "Object", ">", "erasedExtractor", "=", "(", "ResultCapture", "<", "Object", ">", ")", "extractor", ";", "ActionResult", "result", "=", "ActionUtils", ".", "perform", "(", "this", ",", "action", ",", "request", ",", "erasedExtractor", ")", ";", "this", ".", "attributes", "=", "parseAttributes", "(", "resourceModel", ",", "result", ".", "getData", "(", ")", ")", ";", "return", "true", ";", "}" ]
Explicitly loads a representation of this resource by calling the service to retrieve a new set of attributes. @param extractor optional result extractor object
[ "Explicitly", "loads", "a", "representation", "of", "this", "resource", "by", "calling", "the", "service", "to", "retrieve", "a", "new", "set", "of", "attributes", "." ]
0f4fef2615d9687997b70a36eed1d62dd42df035
https://github.com/amazon-archives/aws-sdk-java-resources/blob/0f4fef2615d9687997b70a36eed1d62dd42df035/aws-resources-core/src/main/java/com/amazonaws/resources/internal/ResourceImpl.java#L155-L181
140,507
amazon-archives/aws-sdk-java-resources
aws-resources-core/src/main/java/com/amazonaws/resources/internal/ResourceImpl.java
ResourceImpl.performAction
public ActionResult performAction( String name, AmazonWebServiceRequest request, ResultCapture<?> extractor) { ActionModel action = resourceModel.getAction(name); if (action == null) { throw new UnsupportedOperationException( "Resource does not support the action " + name); } // The facade generator will ensure we only ever pass in an // appropriately-typed extractor object. @SuppressWarnings("unchecked") ResultCapture<Object> erasedExtractor = (ResultCapture<Object>) extractor; return ActionUtils.perform(this, action, request, erasedExtractor); }
java
public ActionResult performAction( String name, AmazonWebServiceRequest request, ResultCapture<?> extractor) { ActionModel action = resourceModel.getAction(name); if (action == null) { throw new UnsupportedOperationException( "Resource does not support the action " + name); } // The facade generator will ensure we only ever pass in an // appropriately-typed extractor object. @SuppressWarnings("unchecked") ResultCapture<Object> erasedExtractor = (ResultCapture<Object>) extractor; return ActionUtils.perform(this, action, request, erasedExtractor); }
[ "public", "ActionResult", "performAction", "(", "String", "name", ",", "AmazonWebServiceRequest", "request", ",", "ResultCapture", "<", "?", ">", "extractor", ")", "{", "ActionModel", "action", "=", "resourceModel", ".", "getAction", "(", "name", ")", ";", "if", "(", "action", "==", "null", ")", "{", "throw", "new", "UnsupportedOperationException", "(", "\"Resource does not support the action \"", "+", "name", ")", ";", "}", "// The facade generator will ensure we only ever pass in an", "// appropriately-typed extractor object.", "@", "SuppressWarnings", "(", "\"unchecked\"", ")", "ResultCapture", "<", "Object", ">", "erasedExtractor", "=", "(", "ResultCapture", "<", "Object", ">", ")", "extractor", ";", "return", "ActionUtils", ".", "perform", "(", "this", ",", "action", ",", "request", ",", "erasedExtractor", ")", ";", "}" ]
Performs the given action on this resource. This always involves a request to the service. It may mark the cached attributes of this resource object dirty. @param name the name of the action to perform @param request the client-specified request object @param extractor an optional result extractor object @return the result of executing the action
[ "Performs", "the", "given", "action", "on", "this", "resource", ".", "This", "always", "involves", "a", "request", "to", "the", "service", ".", "It", "may", "mark", "the", "cached", "attributes", "of", "this", "resource", "object", "dirty", "." ]
0f4fef2615d9687997b70a36eed1d62dd42df035
https://github.com/amazon-archives/aws-sdk-java-resources/blob/0f4fef2615d9687997b70a36eed1d62dd42df035/aws-resources-core/src/main/java/com/amazonaws/resources/internal/ResourceImpl.java#L432-L450
140,508
amazon-archives/aws-sdk-java-resources
aws-resources-core/src/main/java/com/amazonaws/resources/ServiceBuilder.java
ServiceBuilder.build
public T build() { C clientObject = client; if (clientObject == null) { clientObject = createClient(); } return factory.create(clientObject); }
java
public T build() { C clientObject = client; if (clientObject == null) { clientObject = createClient(); } return factory.create(clientObject); }
[ "public", "T", "build", "(", ")", "{", "C", "clientObject", "=", "client", ";", "if", "(", "clientObject", "==", "null", ")", "{", "clientObject", "=", "createClient", "(", ")", ";", "}", "return", "factory", ".", "create", "(", "clientObject", ")", ";", "}" ]
Builds a new service object with the given parameters. @return the newly-built service object
[ "Builds", "a", "new", "service", "object", "with", "the", "given", "parameters", "." ]
0f4fef2615d9687997b70a36eed1d62dd42df035
https://github.com/amazon-archives/aws-sdk-java-resources/blob/0f4fef2615d9687997b70a36eed1d62dd42df035/aws-resources-core/src/main/java/com/amazonaws/resources/ServiceBuilder.java#L212-L219
140,509
amazon-archives/aws-sdk-java-resources
aws-resources-core/src/main/java/com/amazonaws/resources/internal/ResourcePageImpl.java
ResourcePageImpl.nextPage
public ResourcePageImpl nextPage(ResultCapture<Object> extractor) { if (getNextToken() == null) { throw new NoSuchElementException("There is no next page"); } ActionResult result = ActionUtils.perform( context, listActionModel, request, extractor, getNextToken()); return new ResourcePageImpl( context, listActionModel, request, result); }
java
public ResourcePageImpl nextPage(ResultCapture<Object> extractor) { if (getNextToken() == null) { throw new NoSuchElementException("There is no next page"); } ActionResult result = ActionUtils.perform( context, listActionModel, request, extractor, getNextToken()); return new ResourcePageImpl( context, listActionModel, request, result); }
[ "public", "ResourcePageImpl", "nextPage", "(", "ResultCapture", "<", "Object", ">", "extractor", ")", "{", "if", "(", "getNextToken", "(", ")", "==", "null", ")", "{", "throw", "new", "NoSuchElementException", "(", "\"There is no next page\"", ")", ";", "}", "ActionResult", "result", "=", "ActionUtils", ".", "perform", "(", "context", ",", "listActionModel", ",", "request", ",", "extractor", ",", "getNextToken", "(", ")", ")", ";", "return", "new", "ResourcePageImpl", "(", "context", ",", "listActionModel", ",", "request", ",", "result", ")", ";", "}" ]
Makes a request to the service to retrieve the next page of resources in the collection. @param extractor an optional result extractor object @return the next page of results
[ "Makes", "a", "request", "to", "the", "service", "to", "retrieve", "the", "next", "page", "of", "resources", "in", "the", "collection", "." ]
0f4fef2615d9687997b70a36eed1d62dd42df035
https://github.com/amazon-archives/aws-sdk-java-resources/blob/0f4fef2615d9687997b70a36eed1d62dd42df035/aws-resources-core/src/main/java/com/amazonaws/resources/internal/ResourcePageImpl.java#L78-L95
140,510
BlueBrain/bluima
modules/bluima_typesystem/src/main/java/de/julielab/jules/types/Token.java
Token.getLemma
public Lemma getLemma() { if (Token_Type.featOkTst && ((Token_Type)jcasType).casFeat_lemma == null) jcasType.jcas.throwFeatMissing("lemma", "de.julielab.jules.types.Token"); return (Lemma)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((Token_Type)jcasType).casFeatCode_lemma)));}
java
public Lemma getLemma() { if (Token_Type.featOkTst && ((Token_Type)jcasType).casFeat_lemma == null) jcasType.jcas.throwFeatMissing("lemma", "de.julielab.jules.types.Token"); return (Lemma)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((Token_Type)jcasType).casFeatCode_lemma)));}
[ "public", "Lemma", "getLemma", "(", ")", "{", "if", "(", "Token_Type", ".", "featOkTst", "&&", "(", "(", "Token_Type", ")", "jcasType", ")", ".", "casFeat_lemma", "==", "null", ")", "jcasType", ".", "jcas", ".", "throwFeatMissing", "(", "\"lemma\"", ",", "\"de.julielab.jules.types.Token\"", ")", ";", "return", "(", "Lemma", ")", "(", "jcasType", ".", "ll_cas", ".", "ll_getFSForRef", "(", "jcasType", ".", "ll_cas", ".", "ll_getRefValue", "(", "addr", ",", "(", "(", "Token_Type", ")", "jcasType", ")", ".", "casFeatCode_lemma", ")", ")", ")", ";", "}" ]
getter for lemma - gets the lemma information, O @generated @return value of the feature
[ "getter", "for", "lemma", "-", "gets", "the", "lemma", "information", "O" ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/Token.java#L86-L89
140,511
BlueBrain/bluima
modules/bluima_typesystem/src/main/java/de/julielab/jules/types/Token.java
Token.setLemma
public void setLemma(Lemma v) { if (Token_Type.featOkTst && ((Token_Type)jcasType).casFeat_lemma == null) jcasType.jcas.throwFeatMissing("lemma", "de.julielab.jules.types.Token"); jcasType.ll_cas.ll_setRefValue(addr, ((Token_Type)jcasType).casFeatCode_lemma, jcasType.ll_cas.ll_getFSRef(v));}
java
public void setLemma(Lemma v) { if (Token_Type.featOkTst && ((Token_Type)jcasType).casFeat_lemma == null) jcasType.jcas.throwFeatMissing("lemma", "de.julielab.jules.types.Token"); jcasType.ll_cas.ll_setRefValue(addr, ((Token_Type)jcasType).casFeatCode_lemma, jcasType.ll_cas.ll_getFSRef(v));}
[ "public", "void", "setLemma", "(", "Lemma", "v", ")", "{", "if", "(", "Token_Type", ".", "featOkTst", "&&", "(", "(", "Token_Type", ")", "jcasType", ")", ".", "casFeat_lemma", "==", "null", ")", "jcasType", ".", "jcas", ".", "throwFeatMissing", "(", "\"lemma\"", ",", "\"de.julielab.jules.types.Token\"", ")", ";", "jcasType", ".", "ll_cas", ".", "ll_setRefValue", "(", "addr", ",", "(", "(", "Token_Type", ")", "jcasType", ")", ".", "casFeatCode_lemma", ",", "jcasType", ".", "ll_cas", ".", "ll_getFSRef", "(", "v", ")", ")", ";", "}" ]
setter for lemma - sets the lemma information, O @generated @param v value to set into the feature
[ "setter", "for", "lemma", "-", "sets", "the", "lemma", "information", "O" ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/Token.java#L95-L98
140,512
BlueBrain/bluima
modules/bluima_typesystem/src/main/java/de/julielab/jules/types/Token.java
Token.getOrthogr
public String getOrthogr() { if (Token_Type.featOkTst && ((Token_Type)jcasType).casFeat_orthogr == null) jcasType.jcas.throwFeatMissing("orthogr", "de.julielab.jules.types.Token"); return jcasType.ll_cas.ll_getStringValue(addr, ((Token_Type)jcasType).casFeatCode_orthogr);}
java
public String getOrthogr() { if (Token_Type.featOkTst && ((Token_Type)jcasType).casFeat_orthogr == null) jcasType.jcas.throwFeatMissing("orthogr", "de.julielab.jules.types.Token"); return jcasType.ll_cas.ll_getStringValue(addr, ((Token_Type)jcasType).casFeatCode_orthogr);}
[ "public", "String", "getOrthogr", "(", ")", "{", "if", "(", "Token_Type", ".", "featOkTst", "&&", "(", "(", "Token_Type", ")", "jcasType", ")", ".", "casFeat_orthogr", "==", "null", ")", "jcasType", ".", "jcas", ".", "throwFeatMissing", "(", "\"orthogr\"", ",", "\"de.julielab.jules.types.Token\"", ")", ";", "return", "jcasType", ".", "ll_cas", ".", "ll_getStringValue", "(", "addr", ",", "(", "(", "Token_Type", ")", "jcasType", ")", ".", "casFeatCode_orthogr", ")", ";", "}" ]
getter for orthogr - gets see de.julielab.jules.types.Orthogrpahy @generated @return value of the feature
[ "getter", "for", "orthogr", "-", "gets", "see", "de", ".", "julielab", ".", "jules", ".", "types", ".", "Orthogrpahy" ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/Token.java#L196-L199
140,513
BlueBrain/bluima
modules/bluima_typesystem/src/main/java/de/julielab/jules/types/Token.java
Token.setOrthogr
public void setOrthogr(String v) { if (Token_Type.featOkTst && ((Token_Type)jcasType).casFeat_orthogr == null) jcasType.jcas.throwFeatMissing("orthogr", "de.julielab.jules.types.Token"); jcasType.ll_cas.ll_setStringValue(addr, ((Token_Type)jcasType).casFeatCode_orthogr, v);}
java
public void setOrthogr(String v) { if (Token_Type.featOkTst && ((Token_Type)jcasType).casFeat_orthogr == null) jcasType.jcas.throwFeatMissing("orthogr", "de.julielab.jules.types.Token"); jcasType.ll_cas.ll_setStringValue(addr, ((Token_Type)jcasType).casFeatCode_orthogr, v);}
[ "public", "void", "setOrthogr", "(", "String", "v", ")", "{", "if", "(", "Token_Type", ".", "featOkTst", "&&", "(", "(", "Token_Type", ")", "jcasType", ")", ".", "casFeat_orthogr", "==", "null", ")", "jcasType", ".", "jcas", ".", "throwFeatMissing", "(", "\"orthogr\"", ",", "\"de.julielab.jules.types.Token\"", ")", ";", "jcasType", ".", "ll_cas", ".", "ll_setStringValue", "(", "addr", ",", "(", "(", "Token_Type", ")", "jcasType", ")", ".", "casFeatCode_orthogr", ",", "v", ")", ";", "}" ]
setter for orthogr - sets see de.julielab.jules.types.Orthogrpahy @generated @param v value to set into the feature
[ "setter", "for", "orthogr", "-", "sets", "see", "de", ".", "julielab", ".", "jules", ".", "types", ".", "Orthogrpahy" ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/Token.java#L205-L208
140,514
BlueBrain/bluima
modules/bluima_typesystem/src/main/java/de/julielab/jules/types/Token.java
Token.getDepRel
public FSArray getDepRel() { if (Token_Type.featOkTst && ((Token_Type)jcasType).casFeat_depRel == null) jcasType.jcas.throwFeatMissing("depRel", "de.julielab.jules.types.Token"); return (FSArray)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((Token_Type)jcasType).casFeatCode_depRel)));}
java
public FSArray getDepRel() { if (Token_Type.featOkTst && ((Token_Type)jcasType).casFeat_depRel == null) jcasType.jcas.throwFeatMissing("depRel", "de.julielab.jules.types.Token"); return (FSArray)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((Token_Type)jcasType).casFeatCode_depRel)));}
[ "public", "FSArray", "getDepRel", "(", ")", "{", "if", "(", "Token_Type", ".", "featOkTst", "&&", "(", "(", "Token_Type", ")", "jcasType", ")", ".", "casFeat_depRel", "==", "null", ")", "jcasType", ".", "jcas", ".", "throwFeatMissing", "(", "\"depRel\"", ",", "\"de.julielab.jules.types.Token\"", ")", ";", "return", "(", "FSArray", ")", "(", "jcasType", ".", "ll_cas", ".", "ll_getFSForRef", "(", "jcasType", ".", "ll_cas", ".", "ll_getRefValue", "(", "addr", ",", "(", "(", "Token_Type", ")", "jcasType", ")", ".", "casFeatCode_depRel", ")", ")", ")", ";", "}" ]
getter for depRel - gets Contains a list of syntactical dependencies, see DependencyRelation, O @generated @return value of the feature
[ "getter", "for", "depRel", "-", "gets", "Contains", "a", "list", "of", "syntactical", "dependencies", "see", "DependencyRelation", "O" ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/Token.java#L218-L221
140,515
BlueBrain/bluima
modules/bluima_typesystem/src/main/java/de/julielab/jules/types/Token.java
Token.setDepRel
public void setDepRel(FSArray v) { if (Token_Type.featOkTst && ((Token_Type)jcasType).casFeat_depRel == null) jcasType.jcas.throwFeatMissing("depRel", "de.julielab.jules.types.Token"); jcasType.ll_cas.ll_setRefValue(addr, ((Token_Type)jcasType).casFeatCode_depRel, jcasType.ll_cas.ll_getFSRef(v));}
java
public void setDepRel(FSArray v) { if (Token_Type.featOkTst && ((Token_Type)jcasType).casFeat_depRel == null) jcasType.jcas.throwFeatMissing("depRel", "de.julielab.jules.types.Token"); jcasType.ll_cas.ll_setRefValue(addr, ((Token_Type)jcasType).casFeatCode_depRel, jcasType.ll_cas.ll_getFSRef(v));}
[ "public", "void", "setDepRel", "(", "FSArray", "v", ")", "{", "if", "(", "Token_Type", ".", "featOkTst", "&&", "(", "(", "Token_Type", ")", "jcasType", ")", ".", "casFeat_depRel", "==", "null", ")", "jcasType", ".", "jcas", ".", "throwFeatMissing", "(", "\"depRel\"", ",", "\"de.julielab.jules.types.Token\"", ")", ";", "jcasType", ".", "ll_cas", ".", "ll_setRefValue", "(", "addr", ",", "(", "(", "Token_Type", ")", "jcasType", ")", ".", "casFeatCode_depRel", ",", "jcasType", ".", "ll_cas", ".", "ll_getFSRef", "(", "v", ")", ")", ";", "}" ]
setter for depRel - sets Contains a list of syntactical dependencies, see DependencyRelation, O @generated @param v value to set into the feature
[ "setter", "for", "depRel", "-", "sets", "Contains", "a", "list", "of", "syntactical", "dependencies", "see", "DependencyRelation", "O" ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/Token.java#L227-L230
140,516
BlueBrain/bluima
modules/bluima_typesystem/src/main/java/de/julielab/jules/types/Token.java
Token.getDepRel
public DependencyRelation getDepRel(int i) { if (Token_Type.featOkTst && ((Token_Type)jcasType).casFeat_depRel == null) jcasType.jcas.throwFeatMissing("depRel", "de.julielab.jules.types.Token"); jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((Token_Type)jcasType).casFeatCode_depRel), i); return (DependencyRelation)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((Token_Type)jcasType).casFeatCode_depRel), i)));}
java
public DependencyRelation getDepRel(int i) { if (Token_Type.featOkTst && ((Token_Type)jcasType).casFeat_depRel == null) jcasType.jcas.throwFeatMissing("depRel", "de.julielab.jules.types.Token"); jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((Token_Type)jcasType).casFeatCode_depRel), i); return (DependencyRelation)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((Token_Type)jcasType).casFeatCode_depRel), i)));}
[ "public", "DependencyRelation", "getDepRel", "(", "int", "i", ")", "{", "if", "(", "Token_Type", ".", "featOkTst", "&&", "(", "(", "Token_Type", ")", "jcasType", ")", ".", "casFeat_depRel", "==", "null", ")", "jcasType", ".", "jcas", ".", "throwFeatMissing", "(", "\"depRel\"", ",", "\"de.julielab.jules.types.Token\"", ")", ";", "jcasType", ".", "jcas", ".", "checkArrayBounds", "(", "jcasType", ".", "ll_cas", ".", "ll_getRefValue", "(", "addr", ",", "(", "(", "Token_Type", ")", "jcasType", ")", ".", "casFeatCode_depRel", ")", ",", "i", ")", ";", "return", "(", "DependencyRelation", ")", "(", "jcasType", ".", "ll_cas", ".", "ll_getFSForRef", "(", "jcasType", ".", "ll_cas", ".", "ll_getRefArrayValue", "(", "jcasType", ".", "ll_cas", ".", "ll_getRefValue", "(", "addr", ",", "(", "(", "Token_Type", ")", "jcasType", ")", ".", "casFeatCode_depRel", ")", ",", "i", ")", ")", ")", ";", "}" ]
indexed getter for depRel - gets an indexed value - Contains a list of syntactical dependencies, see DependencyRelation, O @generated @param i index in the array to get @return value of the element at index i
[ "indexed", "getter", "for", "depRel", "-", "gets", "an", "indexed", "value", "-", "Contains", "a", "list", "of", "syntactical", "dependencies", "see", "DependencyRelation", "O" ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/Token.java#L237-L241
140,517
BlueBrain/bluima
modules/bluima_typesystem/src/main/java/de/julielab/jules/types/Token.java
Token.setDepRel
public void setDepRel(int i, DependencyRelation v) { if (Token_Type.featOkTst && ((Token_Type)jcasType).casFeat_depRel == null) jcasType.jcas.throwFeatMissing("depRel", "de.julielab.jules.types.Token"); jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((Token_Type)jcasType).casFeatCode_depRel), i); jcasType.ll_cas.ll_setRefArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((Token_Type)jcasType).casFeatCode_depRel), i, jcasType.ll_cas.ll_getFSRef(v));}
java
public void setDepRel(int i, DependencyRelation v) { if (Token_Type.featOkTst && ((Token_Type)jcasType).casFeat_depRel == null) jcasType.jcas.throwFeatMissing("depRel", "de.julielab.jules.types.Token"); jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((Token_Type)jcasType).casFeatCode_depRel), i); jcasType.ll_cas.ll_setRefArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((Token_Type)jcasType).casFeatCode_depRel), i, jcasType.ll_cas.ll_getFSRef(v));}
[ "public", "void", "setDepRel", "(", "int", "i", ",", "DependencyRelation", "v", ")", "{", "if", "(", "Token_Type", ".", "featOkTst", "&&", "(", "(", "Token_Type", ")", "jcasType", ")", ".", "casFeat_depRel", "==", "null", ")", "jcasType", ".", "jcas", ".", "throwFeatMissing", "(", "\"depRel\"", ",", "\"de.julielab.jules.types.Token\"", ")", ";", "jcasType", ".", "jcas", ".", "checkArrayBounds", "(", "jcasType", ".", "ll_cas", ".", "ll_getRefValue", "(", "addr", ",", "(", "(", "Token_Type", ")", "jcasType", ")", ".", "casFeatCode_depRel", ")", ",", "i", ")", ";", "jcasType", ".", "ll_cas", ".", "ll_setRefArrayValue", "(", "jcasType", ".", "ll_cas", ".", "ll_getRefValue", "(", "addr", ",", "(", "(", "Token_Type", ")", "jcasType", ")", ".", "casFeatCode_depRel", ")", ",", "i", ",", "jcasType", ".", "ll_cas", ".", "ll_getFSRef", "(", "v", ")", ")", ";", "}" ]
indexed setter for depRel - sets an indexed value - Contains a list of syntactical dependencies, see DependencyRelation, O @generated @param i index in the array to set @param v value to set into the array
[ "indexed", "setter", "for", "depRel", "-", "sets", "an", "indexed", "value", "-", "Contains", "a", "list", "of", "syntactical", "dependencies", "see", "DependencyRelation", "O" ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/Token.java#L248-L252
140,518
BlueBrain/bluima
modules/bluima_typesystem/src/main/java/de/julielab/jules/types/Token.java
Token.getLemmaStr
public String getLemmaStr() { if (Token_Type.featOkTst && ((Token_Type)jcasType).casFeat_lemmaStr == null) jcasType.jcas.throwFeatMissing("lemmaStr", "de.julielab.jules.types.Token"); return jcasType.ll_cas.ll_getStringValue(addr, ((Token_Type)jcasType).casFeatCode_lemmaStr);}
java
public String getLemmaStr() { if (Token_Type.featOkTst && ((Token_Type)jcasType).casFeat_lemmaStr == null) jcasType.jcas.throwFeatMissing("lemmaStr", "de.julielab.jules.types.Token"); return jcasType.ll_cas.ll_getStringValue(addr, ((Token_Type)jcasType).casFeatCode_lemmaStr);}
[ "public", "String", "getLemmaStr", "(", ")", "{", "if", "(", "Token_Type", ".", "featOkTst", "&&", "(", "(", "Token_Type", ")", "jcasType", ")", ".", "casFeat_lemmaStr", "==", "null", ")", "jcasType", ".", "jcas", ".", "throwFeatMissing", "(", "\"lemmaStr\"", ",", "\"de.julielab.jules.types.Token\"", ")", ";", "return", "jcasType", ".", "ll_cas", ".", "ll_getStringValue", "(", "addr", ",", "(", "(", "Token_Type", ")", "jcasType", ")", ".", "casFeatCode_lemmaStr", ")", ";", "}" ]
getter for lemmaStr - gets @generated @return value of the feature
[ "getter", "for", "lemmaStr", "-", "gets" ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/Token.java#L284-L287
140,519
BlueBrain/bluima
modules/bluima_typesystem/src/main/java/de/julielab/jules/types/Token.java
Token.setLemmaStr
public void setLemmaStr(String v) { if (Token_Type.featOkTst && ((Token_Type)jcasType).casFeat_lemmaStr == null) jcasType.jcas.throwFeatMissing("lemmaStr", "de.julielab.jules.types.Token"); jcasType.ll_cas.ll_setStringValue(addr, ((Token_Type)jcasType).casFeatCode_lemmaStr, v);}
java
public void setLemmaStr(String v) { if (Token_Type.featOkTst && ((Token_Type)jcasType).casFeat_lemmaStr == null) jcasType.jcas.throwFeatMissing("lemmaStr", "de.julielab.jules.types.Token"); jcasType.ll_cas.ll_setStringValue(addr, ((Token_Type)jcasType).casFeatCode_lemmaStr, v);}
[ "public", "void", "setLemmaStr", "(", "String", "v", ")", "{", "if", "(", "Token_Type", ".", "featOkTst", "&&", "(", "(", "Token_Type", ")", "jcasType", ")", ".", "casFeat_lemmaStr", "==", "null", ")", "jcasType", ".", "jcas", ".", "throwFeatMissing", "(", "\"lemmaStr\"", ",", "\"de.julielab.jules.types.Token\"", ")", ";", "jcasType", ".", "ll_cas", ".", "ll_setStringValue", "(", "addr", ",", "(", "(", "Token_Type", ")", "jcasType", ")", ".", "casFeatCode_lemmaStr", ",", "v", ")", ";", "}" ]
setter for lemmaStr - sets @generated @param v value to set into the feature
[ "setter", "for", "lemmaStr", "-", "sets" ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/Token.java#L293-L296
140,520
BlueBrain/bluima
modules/bluima_typesystem/src/main/java/de/julielab/jules/types/Token.java
Token.getTopicIds
public String getTopicIds() { if (Token_Type.featOkTst && ((Token_Type)jcasType).casFeat_topicIds == null) jcasType.jcas.throwFeatMissing("topicIds", "de.julielab.jules.types.Token"); return jcasType.ll_cas.ll_getStringValue(addr, ((Token_Type)jcasType).casFeatCode_topicIds);}
java
public String getTopicIds() { if (Token_Type.featOkTst && ((Token_Type)jcasType).casFeat_topicIds == null) jcasType.jcas.throwFeatMissing("topicIds", "de.julielab.jules.types.Token"); return jcasType.ll_cas.ll_getStringValue(addr, ((Token_Type)jcasType).casFeatCode_topicIds);}
[ "public", "String", "getTopicIds", "(", ")", "{", "if", "(", "Token_Type", ".", "featOkTst", "&&", "(", "(", "Token_Type", ")", "jcasType", ")", ".", "casFeat_topicIds", "==", "null", ")", "jcasType", ".", "jcas", ".", "throwFeatMissing", "(", "\"topicIds\"", ",", "\"de.julielab.jules.types.Token\"", ")", ";", "return", "jcasType", ".", "ll_cas", ".", "ll_getStringValue", "(", "addr", ",", "(", "(", "Token_Type", ")", "jcasType", ")", ".", "casFeatCode_topicIds", ")", ";", "}" ]
getter for topicIds - gets topic model ids, separated by spaces @generated @return value of the feature
[ "getter", "for", "topicIds", "-", "gets", "topic", "model", "ids", "separated", "by", "spaces" ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/Token.java#L306-L309
140,521
BlueBrain/bluima
modules/bluima_typesystem/src/main/java/de/julielab/jules/types/Token.java
Token.setTopicIds
public void setTopicIds(String v) { if (Token_Type.featOkTst && ((Token_Type)jcasType).casFeat_topicIds == null) jcasType.jcas.throwFeatMissing("topicIds", "de.julielab.jules.types.Token"); jcasType.ll_cas.ll_setStringValue(addr, ((Token_Type)jcasType).casFeatCode_topicIds, v);}
java
public void setTopicIds(String v) { if (Token_Type.featOkTst && ((Token_Type)jcasType).casFeat_topicIds == null) jcasType.jcas.throwFeatMissing("topicIds", "de.julielab.jules.types.Token"); jcasType.ll_cas.ll_setStringValue(addr, ((Token_Type)jcasType).casFeatCode_topicIds, v);}
[ "public", "void", "setTopicIds", "(", "String", "v", ")", "{", "if", "(", "Token_Type", ".", "featOkTst", "&&", "(", "(", "Token_Type", ")", "jcasType", ")", ".", "casFeat_topicIds", "==", "null", ")", "jcasType", ".", "jcas", ".", "throwFeatMissing", "(", "\"topicIds\"", ",", "\"de.julielab.jules.types.Token\"", ")", ";", "jcasType", ".", "ll_cas", ".", "ll_setStringValue", "(", "addr", ",", "(", "(", "Token_Type", ")", "jcasType", ")", ".", "casFeatCode_topicIds", ",", "v", ")", ";", "}" ]
setter for topicIds - sets topic model ids, separated by spaces @generated @param v value to set into the feature
[ "setter", "for", "topicIds", "-", "sets", "topic", "model", "ids", "separated", "by", "spaces" ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/Token.java#L315-L318
140,522
BlueBrain/bluima
modules/bluima_typesystem/src/main/java/de/julielab/jules/types/RelationMention.java
RelationMention.setArguments
public void setArguments(FSArray v) { if (RelationMention_Type.featOkTst && ((RelationMention_Type)jcasType).casFeat_arguments == null) jcasType.jcas.throwFeatMissing("arguments", "de.julielab.jules.types.RelationMention"); jcasType.ll_cas.ll_setRefValue(addr, ((RelationMention_Type)jcasType).casFeatCode_arguments, jcasType.ll_cas.ll_getFSRef(v));}
java
public void setArguments(FSArray v) { if (RelationMention_Type.featOkTst && ((RelationMention_Type)jcasType).casFeat_arguments == null) jcasType.jcas.throwFeatMissing("arguments", "de.julielab.jules.types.RelationMention"); jcasType.ll_cas.ll_setRefValue(addr, ((RelationMention_Type)jcasType).casFeatCode_arguments, jcasType.ll_cas.ll_getFSRef(v));}
[ "public", "void", "setArguments", "(", "FSArray", "v", ")", "{", "if", "(", "RelationMention_Type", ".", "featOkTst", "&&", "(", "(", "RelationMention_Type", ")", "jcasType", ")", ".", "casFeat_arguments", "==", "null", ")", "jcasType", ".", "jcas", ".", "throwFeatMissing", "(", "\"arguments\"", ",", "\"de.julielab.jules.types.RelationMention\"", ")", ";", "jcasType", ".", "ll_cas", ".", "ll_setRefValue", "(", "addr", ",", "(", "(", "RelationMention_Type", ")", "jcasType", ")", ".", "casFeatCode_arguments", ",", "jcasType", ".", "ll_cas", ".", "ll_getFSRef", "(", "v", ")", ")", ";", "}" ]
setter for arguments - sets @generated @param v value to set into the feature
[ "setter", "for", "arguments", "-", "sets" ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/RelationMention.java#L139-L142
140,523
BlueBrain/bluima
modules/bluima_typesystem/src/main/java/de/julielab/jules/types/RelationMention.java
RelationMention.setArguments
public void setArguments(int i, ArgumentMention v) { if (RelationMention_Type.featOkTst && ((RelationMention_Type)jcasType).casFeat_arguments == null) jcasType.jcas.throwFeatMissing("arguments", "de.julielab.jules.types.RelationMention"); jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((RelationMention_Type)jcasType).casFeatCode_arguments), i); jcasType.ll_cas.ll_setRefArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((RelationMention_Type)jcasType).casFeatCode_arguments), i, jcasType.ll_cas.ll_getFSRef(v));}
java
public void setArguments(int i, ArgumentMention v) { if (RelationMention_Type.featOkTst && ((RelationMention_Type)jcasType).casFeat_arguments == null) jcasType.jcas.throwFeatMissing("arguments", "de.julielab.jules.types.RelationMention"); jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((RelationMention_Type)jcasType).casFeatCode_arguments), i); jcasType.ll_cas.ll_setRefArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((RelationMention_Type)jcasType).casFeatCode_arguments), i, jcasType.ll_cas.ll_getFSRef(v));}
[ "public", "void", "setArguments", "(", "int", "i", ",", "ArgumentMention", "v", ")", "{", "if", "(", "RelationMention_Type", ".", "featOkTst", "&&", "(", "(", "RelationMention_Type", ")", "jcasType", ")", ".", "casFeat_arguments", "==", "null", ")", "jcasType", ".", "jcas", ".", "throwFeatMissing", "(", "\"arguments\"", ",", "\"de.julielab.jules.types.RelationMention\"", ")", ";", "jcasType", ".", "jcas", ".", "checkArrayBounds", "(", "jcasType", ".", "ll_cas", ".", "ll_getRefValue", "(", "addr", ",", "(", "(", "RelationMention_Type", ")", "jcasType", ")", ".", "casFeatCode_arguments", ")", ",", "i", ")", ";", "jcasType", ".", "ll_cas", ".", "ll_setRefArrayValue", "(", "jcasType", ".", "ll_cas", ".", "ll_getRefValue", "(", "addr", ",", "(", "(", "RelationMention_Type", ")", "jcasType", ")", ".", "casFeatCode_arguments", ")", ",", "i", ",", "jcasType", ".", "ll_cas", ".", "ll_getFSRef", "(", "v", ")", ")", ";", "}" ]
indexed setter for arguments - sets an indexed value - @generated @param i index in the array to set @param v value to set into the array
[ "indexed", "setter", "for", "arguments", "-", "sets", "an", "indexed", "value", "-" ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/RelationMention.java#L160-L164
140,524
BlueBrain/bluima
modules/bluima_regions/src/main/java/ubic/pubmedgate/resolve/mentionEditors/DirectionSplittingMentionEditor.java
DirectionSplittingMentionEditor.editMention
public Set<String> editMention(String mention) { Set<String> result = new HashSet<String>(); // tokenize StringTokenizer tokens = new StringTokenizer(mention, delims, false); List<String> tokenList = new LinkedList<String>(); if (tokens.countTokens() < 3) return result; while (tokens.hasMoreTokens()) { tokenList.add(tokens.nextToken()); } String first = tokenList.get(0); String second = tokenList.get(1); String third = tokenList.get(2); if (second.equals("and") || second.equals("or") || second.equals("to")) { if (directions.contains(first) && directions.contains(third)) { // log.info( first + " " + second + " " + third + " Full:" + s // ); int spot = mention.indexOf(third) + third.length(); result.add(first + mention.substring(spot)); result.add(third + mention.substring(spot)); } } return result; }
java
public Set<String> editMention(String mention) { Set<String> result = new HashSet<String>(); // tokenize StringTokenizer tokens = new StringTokenizer(mention, delims, false); List<String> tokenList = new LinkedList<String>(); if (tokens.countTokens() < 3) return result; while (tokens.hasMoreTokens()) { tokenList.add(tokens.nextToken()); } String first = tokenList.get(0); String second = tokenList.get(1); String third = tokenList.get(2); if (second.equals("and") || second.equals("or") || second.equals("to")) { if (directions.contains(first) && directions.contains(third)) { // log.info( first + " " + second + " " + third + " Full:" + s // ); int spot = mention.indexOf(third) + third.length(); result.add(first + mention.substring(spot)); result.add(third + mention.substring(spot)); } } return result; }
[ "public", "Set", "<", "String", ">", "editMention", "(", "String", "mention", ")", "{", "Set", "<", "String", ">", "result", "=", "new", "HashSet", "<", "String", ">", "(", ")", ";", "// tokenize", "StringTokenizer", "tokens", "=", "new", "StringTokenizer", "(", "mention", ",", "delims", ",", "false", ")", ";", "List", "<", "String", ">", "tokenList", "=", "new", "LinkedList", "<", "String", ">", "(", ")", ";", "if", "(", "tokens", ".", "countTokens", "(", ")", "<", "3", ")", "return", "result", ";", "while", "(", "tokens", ".", "hasMoreTokens", "(", ")", ")", "{", "tokenList", ".", "add", "(", "tokens", ".", "nextToken", "(", ")", ")", ";", "}", "String", "first", "=", "tokenList", ".", "get", "(", "0", ")", ";", "String", "second", "=", "tokenList", ".", "get", "(", "1", ")", ";", "String", "third", "=", "tokenList", ".", "get", "(", "2", ")", ";", "if", "(", "second", ".", "equals", "(", "\"and\"", ")", "||", "second", ".", "equals", "(", "\"or\"", ")", "||", "second", ".", "equals", "(", "\"to\"", ")", ")", "{", "if", "(", "directions", ".", "contains", "(", "first", ")", "&&", "directions", ".", "contains", "(", "third", ")", ")", "{", "// log.info( first + \" \" + second + \" \" + third + \" Full:\" + s", "// );", "int", "spot", "=", "mention", ".", "indexOf", "(", "third", ")", "+", "third", ".", "length", "(", ")", ";", "result", ".", "add", "(", "first", "+", "mention", ".", "substring", "(", "spot", ")", ")", ";", "result", ".", "add", "(", "third", "+", "mention", ".", "substring", "(", "spot", ")", ")", ";", "}", "}", "return", "result", ";", "}" ]
split the mention using the directions
[ "split", "the", "mention", "using", "the", "directions" ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_regions/src/main/java/ubic/pubmedgate/resolve/mentionEditors/DirectionSplittingMentionEditor.java#L53-L77
140,525
BlueBrain/bluima
modules/bluima_typesystem/src/main/java/de/julielab/jules/types/Coordination.java
Coordination.getResolved
public String getResolved() { if (Coordination_Type.featOkTst && ((Coordination_Type)jcasType).casFeat_resolved == null) jcasType.jcas.throwFeatMissing("resolved", "de.julielab.jules.types.Coordination"); return jcasType.ll_cas.ll_getStringValue(addr, ((Coordination_Type)jcasType).casFeatCode_resolved);}
java
public String getResolved() { if (Coordination_Type.featOkTst && ((Coordination_Type)jcasType).casFeat_resolved == null) jcasType.jcas.throwFeatMissing("resolved", "de.julielab.jules.types.Coordination"); return jcasType.ll_cas.ll_getStringValue(addr, ((Coordination_Type)jcasType).casFeatCode_resolved);}
[ "public", "String", "getResolved", "(", ")", "{", "if", "(", "Coordination_Type", ".", "featOkTst", "&&", "(", "(", "Coordination_Type", ")", "jcasType", ")", ".", "casFeat_resolved", "==", "null", ")", "jcasType", ".", "jcas", ".", "throwFeatMissing", "(", "\"resolved\"", ",", "\"de.julielab.jules.types.Coordination\"", ")", ";", "return", "jcasType", ".", "ll_cas", ".", "ll_getStringValue", "(", "addr", ",", "(", "(", "Coordination_Type", ")", "jcasType", ")", ".", "casFeatCode_resolved", ")", ";", "}" ]
getter for resolved - gets @generated @return value of the feature
[ "getter", "for", "resolved", "-", "gets" ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/Coordination.java#L85-L88
140,526
BlueBrain/bluima
modules/bluima_typesystem/src/main/java/de/julielab/jules/types/Coordination.java
Coordination.setResolved
public void setResolved(String v) { if (Coordination_Type.featOkTst && ((Coordination_Type)jcasType).casFeat_resolved == null) jcasType.jcas.throwFeatMissing("resolved", "de.julielab.jules.types.Coordination"); jcasType.ll_cas.ll_setStringValue(addr, ((Coordination_Type)jcasType).casFeatCode_resolved, v);}
java
public void setResolved(String v) { if (Coordination_Type.featOkTst && ((Coordination_Type)jcasType).casFeat_resolved == null) jcasType.jcas.throwFeatMissing("resolved", "de.julielab.jules.types.Coordination"); jcasType.ll_cas.ll_setStringValue(addr, ((Coordination_Type)jcasType).casFeatCode_resolved, v);}
[ "public", "void", "setResolved", "(", "String", "v", ")", "{", "if", "(", "Coordination_Type", ".", "featOkTst", "&&", "(", "(", "Coordination_Type", ")", "jcasType", ")", ".", "casFeat_resolved", "==", "null", ")", "jcasType", ".", "jcas", ".", "throwFeatMissing", "(", "\"resolved\"", ",", "\"de.julielab.jules.types.Coordination\"", ")", ";", "jcasType", ".", "ll_cas", ".", "ll_setStringValue", "(", "addr", ",", "(", "(", "Coordination_Type", ")", "jcasType", ")", ".", "casFeatCode_resolved", ",", "v", ")", ";", "}" ]
setter for resolved - sets @generated @param v value to set into the feature
[ "setter", "for", "resolved", "-", "sets" ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/Coordination.java#L94-L97
140,527
BlueBrain/bluima
modules/bluima_typesystem/src/main/java/de/julielab/jules/types/Coordination.java
Coordination.getElliptical
public boolean getElliptical() { if (Coordination_Type.featOkTst && ((Coordination_Type)jcasType).casFeat_elliptical == null) jcasType.jcas.throwFeatMissing("elliptical", "de.julielab.jules.types.Coordination"); return jcasType.ll_cas.ll_getBooleanValue(addr, ((Coordination_Type)jcasType).casFeatCode_elliptical);}
java
public boolean getElliptical() { if (Coordination_Type.featOkTst && ((Coordination_Type)jcasType).casFeat_elliptical == null) jcasType.jcas.throwFeatMissing("elliptical", "de.julielab.jules.types.Coordination"); return jcasType.ll_cas.ll_getBooleanValue(addr, ((Coordination_Type)jcasType).casFeatCode_elliptical);}
[ "public", "boolean", "getElliptical", "(", ")", "{", "if", "(", "Coordination_Type", ".", "featOkTst", "&&", "(", "(", "Coordination_Type", ")", "jcasType", ")", ".", "casFeat_elliptical", "==", "null", ")", "jcasType", ".", "jcas", ".", "throwFeatMissing", "(", "\"elliptical\"", ",", "\"de.julielab.jules.types.Coordination\"", ")", ";", "return", "jcasType", ".", "ll_cas", ".", "ll_getBooleanValue", "(", "addr", ",", "(", "(", "Coordination_Type", ")", "jcasType", ")", ".", "casFeatCode_elliptical", ")", ";", "}" ]
getter for elliptical - gets @generated @return value of the feature
[ "getter", "for", "elliptical", "-", "gets" ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/Coordination.java#L107-L110
140,528
BlueBrain/bluima
modules/bluima_typesystem/src/main/java/de/julielab/jules/types/Coordination.java
Coordination.setElliptical
public void setElliptical(boolean v) { if (Coordination_Type.featOkTst && ((Coordination_Type)jcasType).casFeat_elliptical == null) jcasType.jcas.throwFeatMissing("elliptical", "de.julielab.jules.types.Coordination"); jcasType.ll_cas.ll_setBooleanValue(addr, ((Coordination_Type)jcasType).casFeatCode_elliptical, v);}
java
public void setElliptical(boolean v) { if (Coordination_Type.featOkTst && ((Coordination_Type)jcasType).casFeat_elliptical == null) jcasType.jcas.throwFeatMissing("elliptical", "de.julielab.jules.types.Coordination"); jcasType.ll_cas.ll_setBooleanValue(addr, ((Coordination_Type)jcasType).casFeatCode_elliptical, v);}
[ "public", "void", "setElliptical", "(", "boolean", "v", ")", "{", "if", "(", "Coordination_Type", ".", "featOkTst", "&&", "(", "(", "Coordination_Type", ")", "jcasType", ")", ".", "casFeat_elliptical", "==", "null", ")", "jcasType", ".", "jcas", ".", "throwFeatMissing", "(", "\"elliptical\"", ",", "\"de.julielab.jules.types.Coordination\"", ")", ";", "jcasType", ".", "ll_cas", ".", "ll_setBooleanValue", "(", "addr", ",", "(", "(", "Coordination_Type", ")", "jcasType", ")", ".", "casFeatCode_elliptical", ",", "v", ")", ";", "}" ]
setter for elliptical - sets @generated @param v value to set into the feature
[ "setter", "for", "elliptical", "-", "sets" ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/Coordination.java#L116-L119
140,529
BlueBrain/bluima
modules/bluima_banner/src/main/java/banner/BannerProperties.java
BannerProperties.log
public void log() { System.out.println("Lemmatiser: " + (lemmatiser == null ? null : lemmatiser.getClass().getName())); System.out.println("POSTagger: " + (posTagger == null ? null : posTagger.getClass().getName())); System.out.println("Tokenizer: " + tokenizer.getClass().getName()); System.out.println("Tag format: " + tagFormat.name()); System.out.println("PostProcessor: " + (postProcessor == null ? null : postProcessor.getClass().getName())); System.out.println("Using numeric normalization: " + useNumericNormalization); System.out.println("CRF order is " + order); System.out.println("Using feature induction: " + useFeatureInduction); System.out.println("Text textDirection: " + textDirection); }
java
public void log() { System.out.println("Lemmatiser: " + (lemmatiser == null ? null : lemmatiser.getClass().getName())); System.out.println("POSTagger: " + (posTagger == null ? null : posTagger.getClass().getName())); System.out.println("Tokenizer: " + tokenizer.getClass().getName()); System.out.println("Tag format: " + tagFormat.name()); System.out.println("PostProcessor: " + (postProcessor == null ? null : postProcessor.getClass().getName())); System.out.println("Using numeric normalization: " + useNumericNormalization); System.out.println("CRF order is " + order); System.out.println("Using feature induction: " + useFeatureInduction); System.out.println("Text textDirection: " + textDirection); }
[ "public", "void", "log", "(", ")", "{", "System", ".", "out", ".", "println", "(", "\"Lemmatiser: \"", "+", "(", "lemmatiser", "==", "null", "?", "null", ":", "lemmatiser", ".", "getClass", "(", ")", ".", "getName", "(", ")", ")", ")", ";", "System", ".", "out", ".", "println", "(", "\"POSTagger: \"", "+", "(", "posTagger", "==", "null", "?", "null", ":", "posTagger", ".", "getClass", "(", ")", ".", "getName", "(", ")", ")", ")", ";", "System", ".", "out", ".", "println", "(", "\"Tokenizer: \"", "+", "tokenizer", ".", "getClass", "(", ")", ".", "getName", "(", ")", ")", ";", "System", ".", "out", ".", "println", "(", "\"Tag format: \"", "+", "tagFormat", ".", "name", "(", ")", ")", ";", "System", ".", "out", ".", "println", "(", "\"PostProcessor: \"", "+", "(", "postProcessor", "==", "null", "?", "null", ":", "postProcessor", ".", "getClass", "(", ")", ".", "getName", "(", ")", ")", ")", ";", "System", ".", "out", ".", "println", "(", "\"Using numeric normalization: \"", "+", "useNumericNormalization", ")", ";", "System", ".", "out", ".", "println", "(", "\"CRF order is \"", "+", "order", ")", ";", "System", ".", "out", ".", "println", "(", "\"Using feature induction: \"", "+", "useFeatureInduction", ")", ";", "System", ".", "out", ".", "println", "(", "\"Text textDirection: \"", "+", "textDirection", ")", ";", "}" ]
Outputs the settings for this configuration to the console, very useful for ensuring the configuration is set as desired prior to a training run
[ "Outputs", "the", "settings", "for", "this", "configuration", "to", "the", "console", "very", "useful", "for", "ensuring", "the", "configuration", "is", "set", "as", "desired", "prior", "to", "a", "training", "run" ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_banner/src/main/java/banner/BannerProperties.java#L174-L185
140,530
BlueBrain/bluima
modules/bluima_abbreviations/src/main/java/com/wcohen/ss/MultiStringAvgDistance.java
MultiStringAvgDistance.scoreCombination
protected double scoreCombination(double[] multiScore) { double sum = 0.0; for (int i=0; i<multiScore.length; i++) { sum += multiScore[i]; } return sum/multiScore.length; }
java
protected double scoreCombination(double[] multiScore) { double sum = 0.0; for (int i=0; i<multiScore.length; i++) { sum += multiScore[i]; } return sum/multiScore.length; }
[ "protected", "double", "scoreCombination", "(", "double", "[", "]", "multiScore", ")", "{", "double", "sum", "=", "0.0", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "multiScore", ".", "length", ";", "i", "++", ")", "{", "sum", "+=", "multiScore", "[", "i", "]", ";", "}", "return", "sum", "/", "multiScore", ".", "length", ";", "}" ]
Combine the scores for each primitive distance function on each field.
[ "Combine", "the", "scores", "for", "each", "primitive", "distance", "function", "on", "each", "field", "." ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_abbreviations/src/main/java/com/wcohen/ss/MultiStringAvgDistance.java#L21-L27
140,531
BlueBrain/bluima
modules/bluima_abbreviations/src/main/java/com/wcohen/ss/MultiStringAvgDistance.java
MultiStringAvgDistance.explainScoreCombination
protected String explainScoreCombination(double[] multiScore) { StringBuffer buf = new StringBuffer(""); PrintfFormat fmt = new PrintfFormat(" %.3f"); buf.append("field-level scores ["); for (int i=0; i<multiScore.length; i++) { buf.append(fmt.sprintf(multiScore[i])); } buf.append("] Average score:"); buf.append(fmt.sprintf( scoreCombination(multiScore) )); return buf.toString(); }
java
protected String explainScoreCombination(double[] multiScore) { StringBuffer buf = new StringBuffer(""); PrintfFormat fmt = new PrintfFormat(" %.3f"); buf.append("field-level scores ["); for (int i=0; i<multiScore.length; i++) { buf.append(fmt.sprintf(multiScore[i])); } buf.append("] Average score:"); buf.append(fmt.sprintf( scoreCombination(multiScore) )); return buf.toString(); }
[ "protected", "String", "explainScoreCombination", "(", "double", "[", "]", "multiScore", ")", "{", "StringBuffer", "buf", "=", "new", "StringBuffer", "(", "\"\"", ")", ";", "PrintfFormat", "fmt", "=", "new", "PrintfFormat", "(", "\" %.3f\"", ")", ";", "buf", ".", "append", "(", "\"field-level scores [\"", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "multiScore", ".", "length", ";", "i", "++", ")", "{", "buf", ".", "append", "(", "fmt", ".", "sprintf", "(", "multiScore", "[", "i", "]", ")", ")", ";", "}", "buf", ".", "append", "(", "\"] Average score:\"", ")", ";", "buf", ".", "append", "(", "fmt", ".", "sprintf", "(", "scoreCombination", "(", "multiScore", ")", ")", ")", ";", "return", "buf", ".", "toString", "(", ")", ";", "}" ]
Explain how to combine the scores for each primitive distance function on each field.
[ "Explain", "how", "to", "combine", "the", "scores", "for", "each", "primitive", "distance", "function", "on", "each", "field", "." ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_abbreviations/src/main/java/com/wcohen/ss/MultiStringAvgDistance.java#L31-L41
140,532
BlueBrain/bluima
modules/bluima_pdf/src/main/java/edu/psu/seersuite/extractors/tableextractor/extraction/PdfFileFilter.java
PdfFileFilter.accept
public boolean accept(File f) { if (f.isDirectory()) { return false; } String name = f.getName().toLowerCase(); return name.endsWith(".pdf"); }
java
public boolean accept(File f) { if (f.isDirectory()) { return false; } String name = f.getName().toLowerCase(); return name.endsWith(".pdf"); }
[ "public", "boolean", "accept", "(", "File", "f", ")", "{", "if", "(", "f", ".", "isDirectory", "(", ")", ")", "{", "return", "false", ";", "}", "String", "name", "=", "f", ".", "getName", "(", ")", ".", "toLowerCase", "(", ")", ";", "return", "name", ".", "endsWith", "(", "\".pdf\"", ")", ";", "}" ]
Judges whether a file is a PDF document or not @param f file to check @return a boolean value: yes/no
[ "Judges", "whether", "a", "file", "is", "a", "PDF", "document", "or", "not" ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_pdf/src/main/java/edu/psu/seersuite/extractors/tableextractor/extraction/PdfFileFilter.java#L23-L31
140,533
BlueBrain/bluima
modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/Cooccurrence.java
Cooccurrence.getFirstEntity
public Annotation getFirstEntity() { if (Cooccurrence_Type.featOkTst && ((Cooccurrence_Type)jcasType).casFeat_firstEntity == null) jcasType.jcas.throwFeatMissing("firstEntity", "ch.epfl.bbp.uima.types.Cooccurrence"); return (Annotation)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((Cooccurrence_Type)jcasType).casFeatCode_firstEntity)));}
java
public Annotation getFirstEntity() { if (Cooccurrence_Type.featOkTst && ((Cooccurrence_Type)jcasType).casFeat_firstEntity == null) jcasType.jcas.throwFeatMissing("firstEntity", "ch.epfl.bbp.uima.types.Cooccurrence"); return (Annotation)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((Cooccurrence_Type)jcasType).casFeatCode_firstEntity)));}
[ "public", "Annotation", "getFirstEntity", "(", ")", "{", "if", "(", "Cooccurrence_Type", ".", "featOkTst", "&&", "(", "(", "Cooccurrence_Type", ")", "jcasType", ")", ".", "casFeat_firstEntity", "==", "null", ")", "jcasType", ".", "jcas", ".", "throwFeatMissing", "(", "\"firstEntity\"", ",", "\"ch.epfl.bbp.uima.types.Cooccurrence\"", ")", ";", "return", "(", "Annotation", ")", "(", "jcasType", ".", "ll_cas", ".", "ll_getFSForRef", "(", "jcasType", ".", "ll_cas", ".", "ll_getRefValue", "(", "addr", ",", "(", "(", "Cooccurrence_Type", ")", "jcasType", ")", ".", "casFeatCode_firstEntity", ")", ")", ")", ";", "}" ]
getter for firstEntity - gets @generated @return value of the feature
[ "getter", "for", "firstEntity", "-", "gets" ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/Cooccurrence.java#L87-L90
140,534
BlueBrain/bluima
modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/Cooccurrence.java
Cooccurrence.setFirstEntity
public void setFirstEntity(Annotation v) { if (Cooccurrence_Type.featOkTst && ((Cooccurrence_Type)jcasType).casFeat_firstEntity == null) jcasType.jcas.throwFeatMissing("firstEntity", "ch.epfl.bbp.uima.types.Cooccurrence"); jcasType.ll_cas.ll_setRefValue(addr, ((Cooccurrence_Type)jcasType).casFeatCode_firstEntity, jcasType.ll_cas.ll_getFSRef(v));}
java
public void setFirstEntity(Annotation v) { if (Cooccurrence_Type.featOkTst && ((Cooccurrence_Type)jcasType).casFeat_firstEntity == null) jcasType.jcas.throwFeatMissing("firstEntity", "ch.epfl.bbp.uima.types.Cooccurrence"); jcasType.ll_cas.ll_setRefValue(addr, ((Cooccurrence_Type)jcasType).casFeatCode_firstEntity, jcasType.ll_cas.ll_getFSRef(v));}
[ "public", "void", "setFirstEntity", "(", "Annotation", "v", ")", "{", "if", "(", "Cooccurrence_Type", ".", "featOkTst", "&&", "(", "(", "Cooccurrence_Type", ")", "jcasType", ")", ".", "casFeat_firstEntity", "==", "null", ")", "jcasType", ".", "jcas", ".", "throwFeatMissing", "(", "\"firstEntity\"", ",", "\"ch.epfl.bbp.uima.types.Cooccurrence\"", ")", ";", "jcasType", ".", "ll_cas", ".", "ll_setRefValue", "(", "addr", ",", "(", "(", "Cooccurrence_Type", ")", "jcasType", ")", ".", "casFeatCode_firstEntity", ",", "jcasType", ".", "ll_cas", ".", "ll_getFSRef", "(", "v", ")", ")", ";", "}" ]
setter for firstEntity - sets @generated @param v value to set into the feature
[ "setter", "for", "firstEntity", "-", "sets" ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/Cooccurrence.java#L96-L99
140,535
BlueBrain/bluima
modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/Cooccurrence.java
Cooccurrence.getSecondEntity
public Annotation getSecondEntity() { if (Cooccurrence_Type.featOkTst && ((Cooccurrence_Type)jcasType).casFeat_secondEntity == null) jcasType.jcas.throwFeatMissing("secondEntity", "ch.epfl.bbp.uima.types.Cooccurrence"); return (Annotation)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((Cooccurrence_Type)jcasType).casFeatCode_secondEntity)));}
java
public Annotation getSecondEntity() { if (Cooccurrence_Type.featOkTst && ((Cooccurrence_Type)jcasType).casFeat_secondEntity == null) jcasType.jcas.throwFeatMissing("secondEntity", "ch.epfl.bbp.uima.types.Cooccurrence"); return (Annotation)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((Cooccurrence_Type)jcasType).casFeatCode_secondEntity)));}
[ "public", "Annotation", "getSecondEntity", "(", ")", "{", "if", "(", "Cooccurrence_Type", ".", "featOkTst", "&&", "(", "(", "Cooccurrence_Type", ")", "jcasType", ")", ".", "casFeat_secondEntity", "==", "null", ")", "jcasType", ".", "jcas", ".", "throwFeatMissing", "(", "\"secondEntity\"", ",", "\"ch.epfl.bbp.uima.types.Cooccurrence\"", ")", ";", "return", "(", "Annotation", ")", "(", "jcasType", ".", "ll_cas", ".", "ll_getFSForRef", "(", "jcasType", ".", "ll_cas", ".", "ll_getRefValue", "(", "addr", ",", "(", "(", "Cooccurrence_Type", ")", "jcasType", ")", ".", "casFeatCode_secondEntity", ")", ")", ")", ";", "}" ]
getter for secondEntity - gets @generated @return value of the feature
[ "getter", "for", "secondEntity", "-", "gets" ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/Cooccurrence.java#L109-L112
140,536
BlueBrain/bluima
modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/Cooccurrence.java
Cooccurrence.setSecondEntity
public void setSecondEntity(Annotation v) { if (Cooccurrence_Type.featOkTst && ((Cooccurrence_Type)jcasType).casFeat_secondEntity == null) jcasType.jcas.throwFeatMissing("secondEntity", "ch.epfl.bbp.uima.types.Cooccurrence"); jcasType.ll_cas.ll_setRefValue(addr, ((Cooccurrence_Type)jcasType).casFeatCode_secondEntity, jcasType.ll_cas.ll_getFSRef(v));}
java
public void setSecondEntity(Annotation v) { if (Cooccurrence_Type.featOkTst && ((Cooccurrence_Type)jcasType).casFeat_secondEntity == null) jcasType.jcas.throwFeatMissing("secondEntity", "ch.epfl.bbp.uima.types.Cooccurrence"); jcasType.ll_cas.ll_setRefValue(addr, ((Cooccurrence_Type)jcasType).casFeatCode_secondEntity, jcasType.ll_cas.ll_getFSRef(v));}
[ "public", "void", "setSecondEntity", "(", "Annotation", "v", ")", "{", "if", "(", "Cooccurrence_Type", ".", "featOkTst", "&&", "(", "(", "Cooccurrence_Type", ")", "jcasType", ")", ".", "casFeat_secondEntity", "==", "null", ")", "jcasType", ".", "jcas", ".", "throwFeatMissing", "(", "\"secondEntity\"", ",", "\"ch.epfl.bbp.uima.types.Cooccurrence\"", ")", ";", "jcasType", ".", "ll_cas", ".", "ll_setRefValue", "(", "addr", ",", "(", "(", "Cooccurrence_Type", ")", "jcasType", ")", ".", "casFeatCode_secondEntity", ",", "jcasType", ".", "ll_cas", ".", "ll_getFSRef", "(", "v", ")", ")", ";", "}" ]
setter for secondEntity - sets @generated @param v value to set into the feature
[ "setter", "for", "secondEntity", "-", "sets" ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/Cooccurrence.java#L118-L121
140,537
BlueBrain/bluima
modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/Cooccurrence.java
Cooccurrence.getSnippetBegin
public int getSnippetBegin() { if (Cooccurrence_Type.featOkTst && ((Cooccurrence_Type)jcasType).casFeat_snippetBegin == null) jcasType.jcas.throwFeatMissing("snippetBegin", "ch.epfl.bbp.uima.types.Cooccurrence"); return jcasType.ll_cas.ll_getIntValue(addr, ((Cooccurrence_Type)jcasType).casFeatCode_snippetBegin);}
java
public int getSnippetBegin() { if (Cooccurrence_Type.featOkTst && ((Cooccurrence_Type)jcasType).casFeat_snippetBegin == null) jcasType.jcas.throwFeatMissing("snippetBegin", "ch.epfl.bbp.uima.types.Cooccurrence"); return jcasType.ll_cas.ll_getIntValue(addr, ((Cooccurrence_Type)jcasType).casFeatCode_snippetBegin);}
[ "public", "int", "getSnippetBegin", "(", ")", "{", "if", "(", "Cooccurrence_Type", ".", "featOkTst", "&&", "(", "(", "Cooccurrence_Type", ")", "jcasType", ")", ".", "casFeat_snippetBegin", "==", "null", ")", "jcasType", ".", "jcas", ".", "throwFeatMissing", "(", "\"snippetBegin\"", ",", "\"ch.epfl.bbp.uima.types.Cooccurrence\"", ")", ";", "return", "jcasType", ".", "ll_cas", ".", "ll_getIntValue", "(", "addr", ",", "(", "(", "Cooccurrence_Type", ")", "jcasType", ")", ".", "casFeatCode_snippetBegin", ")", ";", "}" ]
getter for snippetBegin - gets @generated @return value of the feature
[ "getter", "for", "snippetBegin", "-", "gets" ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/Cooccurrence.java#L131-L134
140,538
BlueBrain/bluima
modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/Cooccurrence.java
Cooccurrence.setSnippetBegin
public void setSnippetBegin(int v) { if (Cooccurrence_Type.featOkTst && ((Cooccurrence_Type)jcasType).casFeat_snippetBegin == null) jcasType.jcas.throwFeatMissing("snippetBegin", "ch.epfl.bbp.uima.types.Cooccurrence"); jcasType.ll_cas.ll_setIntValue(addr, ((Cooccurrence_Type)jcasType).casFeatCode_snippetBegin, v);}
java
public void setSnippetBegin(int v) { if (Cooccurrence_Type.featOkTst && ((Cooccurrence_Type)jcasType).casFeat_snippetBegin == null) jcasType.jcas.throwFeatMissing("snippetBegin", "ch.epfl.bbp.uima.types.Cooccurrence"); jcasType.ll_cas.ll_setIntValue(addr, ((Cooccurrence_Type)jcasType).casFeatCode_snippetBegin, v);}
[ "public", "void", "setSnippetBegin", "(", "int", "v", ")", "{", "if", "(", "Cooccurrence_Type", ".", "featOkTst", "&&", "(", "(", "Cooccurrence_Type", ")", "jcasType", ")", ".", "casFeat_snippetBegin", "==", "null", ")", "jcasType", ".", "jcas", ".", "throwFeatMissing", "(", "\"snippetBegin\"", ",", "\"ch.epfl.bbp.uima.types.Cooccurrence\"", ")", ";", "jcasType", ".", "ll_cas", ".", "ll_setIntValue", "(", "addr", ",", "(", "(", "Cooccurrence_Type", ")", "jcasType", ")", ".", "casFeatCode_snippetBegin", ",", "v", ")", ";", "}" ]
setter for snippetBegin - sets @generated @param v value to set into the feature
[ "setter", "for", "snippetBegin", "-", "sets" ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/Cooccurrence.java#L140-L143
140,539
BlueBrain/bluima
modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/Cooccurrence.java
Cooccurrence.getSnippetEnd
public int getSnippetEnd() { if (Cooccurrence_Type.featOkTst && ((Cooccurrence_Type)jcasType).casFeat_snippetEnd == null) jcasType.jcas.throwFeatMissing("snippetEnd", "ch.epfl.bbp.uima.types.Cooccurrence"); return jcasType.ll_cas.ll_getIntValue(addr, ((Cooccurrence_Type)jcasType).casFeatCode_snippetEnd);}
java
public int getSnippetEnd() { if (Cooccurrence_Type.featOkTst && ((Cooccurrence_Type)jcasType).casFeat_snippetEnd == null) jcasType.jcas.throwFeatMissing("snippetEnd", "ch.epfl.bbp.uima.types.Cooccurrence"); return jcasType.ll_cas.ll_getIntValue(addr, ((Cooccurrence_Type)jcasType).casFeatCode_snippetEnd);}
[ "public", "int", "getSnippetEnd", "(", ")", "{", "if", "(", "Cooccurrence_Type", ".", "featOkTst", "&&", "(", "(", "Cooccurrence_Type", ")", "jcasType", ")", ".", "casFeat_snippetEnd", "==", "null", ")", "jcasType", ".", "jcas", ".", "throwFeatMissing", "(", "\"snippetEnd\"", ",", "\"ch.epfl.bbp.uima.types.Cooccurrence\"", ")", ";", "return", "jcasType", ".", "ll_cas", ".", "ll_getIntValue", "(", "addr", ",", "(", "(", "Cooccurrence_Type", ")", "jcasType", ")", ".", "casFeatCode_snippetEnd", ")", ";", "}" ]
getter for snippetEnd - gets @generated @return value of the feature
[ "getter", "for", "snippetEnd", "-", "gets" ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/Cooccurrence.java#L153-L156
140,540
BlueBrain/bluima
modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/Cooccurrence.java
Cooccurrence.setSnippetEnd
public void setSnippetEnd(int v) { if (Cooccurrence_Type.featOkTst && ((Cooccurrence_Type)jcasType).casFeat_snippetEnd == null) jcasType.jcas.throwFeatMissing("snippetEnd", "ch.epfl.bbp.uima.types.Cooccurrence"); jcasType.ll_cas.ll_setIntValue(addr, ((Cooccurrence_Type)jcasType).casFeatCode_snippetEnd, v);}
java
public void setSnippetEnd(int v) { if (Cooccurrence_Type.featOkTst && ((Cooccurrence_Type)jcasType).casFeat_snippetEnd == null) jcasType.jcas.throwFeatMissing("snippetEnd", "ch.epfl.bbp.uima.types.Cooccurrence"); jcasType.ll_cas.ll_setIntValue(addr, ((Cooccurrence_Type)jcasType).casFeatCode_snippetEnd, v);}
[ "public", "void", "setSnippetEnd", "(", "int", "v", ")", "{", "if", "(", "Cooccurrence_Type", ".", "featOkTst", "&&", "(", "(", "Cooccurrence_Type", ")", "jcasType", ")", ".", "casFeat_snippetEnd", "==", "null", ")", "jcasType", ".", "jcas", ".", "throwFeatMissing", "(", "\"snippetEnd\"", ",", "\"ch.epfl.bbp.uima.types.Cooccurrence\"", ")", ";", "jcasType", ".", "ll_cas", ".", "ll_setIntValue", "(", "addr", ",", "(", "(", "Cooccurrence_Type", ")", "jcasType", ")", ".", "casFeatCode_snippetEnd", ",", "v", ")", ";", "}" ]
setter for snippetEnd - sets @generated @param v value to set into the feature
[ "setter", "for", "snippetEnd", "-", "sets" ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/Cooccurrence.java#L162-L165
140,541
BlueBrain/bluima
modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/Cooccurrence.java
Cooccurrence.getFirstIds
public StringArray getFirstIds() { if (Cooccurrence_Type.featOkTst && ((Cooccurrence_Type)jcasType).casFeat_firstIds == null) jcasType.jcas.throwFeatMissing("firstIds", "ch.epfl.bbp.uima.types.Cooccurrence"); return (StringArray)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((Cooccurrence_Type)jcasType).casFeatCode_firstIds)));}
java
public StringArray getFirstIds() { if (Cooccurrence_Type.featOkTst && ((Cooccurrence_Type)jcasType).casFeat_firstIds == null) jcasType.jcas.throwFeatMissing("firstIds", "ch.epfl.bbp.uima.types.Cooccurrence"); return (StringArray)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((Cooccurrence_Type)jcasType).casFeatCode_firstIds)));}
[ "public", "StringArray", "getFirstIds", "(", ")", "{", "if", "(", "Cooccurrence_Type", ".", "featOkTst", "&&", "(", "(", "Cooccurrence_Type", ")", "jcasType", ")", ".", "casFeat_firstIds", "==", "null", ")", "jcasType", ".", "jcas", ".", "throwFeatMissing", "(", "\"firstIds\"", ",", "\"ch.epfl.bbp.uima.types.Cooccurrence\"", ")", ";", "return", "(", "StringArray", ")", "(", "jcasType", ".", "ll_cas", ".", "ll_getFSForRef", "(", "jcasType", ".", "ll_cas", ".", "ll_getRefValue", "(", "addr", ",", "(", "(", "Cooccurrence_Type", ")", "jcasType", ")", ".", "casFeatCode_firstIds", ")", ")", ")", ";", "}" ]
getter for firstIds - gets A list of string ids to identify the first occurrence @generated @return value of the feature
[ "getter", "for", "firstIds", "-", "gets", "A", "list", "of", "string", "ids", "to", "identify", "the", "first", "occurrence" ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/Cooccurrence.java#L175-L178
140,542
BlueBrain/bluima
modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/Cooccurrence.java
Cooccurrence.setFirstIds
public void setFirstIds(StringArray v) { if (Cooccurrence_Type.featOkTst && ((Cooccurrence_Type)jcasType).casFeat_firstIds == null) jcasType.jcas.throwFeatMissing("firstIds", "ch.epfl.bbp.uima.types.Cooccurrence"); jcasType.ll_cas.ll_setRefValue(addr, ((Cooccurrence_Type)jcasType).casFeatCode_firstIds, jcasType.ll_cas.ll_getFSRef(v));}
java
public void setFirstIds(StringArray v) { if (Cooccurrence_Type.featOkTst && ((Cooccurrence_Type)jcasType).casFeat_firstIds == null) jcasType.jcas.throwFeatMissing("firstIds", "ch.epfl.bbp.uima.types.Cooccurrence"); jcasType.ll_cas.ll_setRefValue(addr, ((Cooccurrence_Type)jcasType).casFeatCode_firstIds, jcasType.ll_cas.ll_getFSRef(v));}
[ "public", "void", "setFirstIds", "(", "StringArray", "v", ")", "{", "if", "(", "Cooccurrence_Type", ".", "featOkTst", "&&", "(", "(", "Cooccurrence_Type", ")", "jcasType", ")", ".", "casFeat_firstIds", "==", "null", ")", "jcasType", ".", "jcas", ".", "throwFeatMissing", "(", "\"firstIds\"", ",", "\"ch.epfl.bbp.uima.types.Cooccurrence\"", ")", ";", "jcasType", ".", "ll_cas", ".", "ll_setRefValue", "(", "addr", ",", "(", "(", "Cooccurrence_Type", ")", "jcasType", ")", ".", "casFeatCode_firstIds", ",", "jcasType", ".", "ll_cas", ".", "ll_getFSRef", "(", "v", ")", ")", ";", "}" ]
setter for firstIds - sets A list of string ids to identify the first occurrence @generated @param v value to set into the feature
[ "setter", "for", "firstIds", "-", "sets", "A", "list", "of", "string", "ids", "to", "identify", "the", "first", "occurrence" ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/Cooccurrence.java#L184-L187
140,543
BlueBrain/bluima
modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/Cooccurrence.java
Cooccurrence.getFirstIds
public String getFirstIds(int i) { if (Cooccurrence_Type.featOkTst && ((Cooccurrence_Type)jcasType).casFeat_firstIds == null) jcasType.jcas.throwFeatMissing("firstIds", "ch.epfl.bbp.uima.types.Cooccurrence"); jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((Cooccurrence_Type)jcasType).casFeatCode_firstIds), i); return jcasType.ll_cas.ll_getStringArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((Cooccurrence_Type)jcasType).casFeatCode_firstIds), i);}
java
public String getFirstIds(int i) { if (Cooccurrence_Type.featOkTst && ((Cooccurrence_Type)jcasType).casFeat_firstIds == null) jcasType.jcas.throwFeatMissing("firstIds", "ch.epfl.bbp.uima.types.Cooccurrence"); jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((Cooccurrence_Type)jcasType).casFeatCode_firstIds), i); return jcasType.ll_cas.ll_getStringArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((Cooccurrence_Type)jcasType).casFeatCode_firstIds), i);}
[ "public", "String", "getFirstIds", "(", "int", "i", ")", "{", "if", "(", "Cooccurrence_Type", ".", "featOkTst", "&&", "(", "(", "Cooccurrence_Type", ")", "jcasType", ")", ".", "casFeat_firstIds", "==", "null", ")", "jcasType", ".", "jcas", ".", "throwFeatMissing", "(", "\"firstIds\"", ",", "\"ch.epfl.bbp.uima.types.Cooccurrence\"", ")", ";", "jcasType", ".", "jcas", ".", "checkArrayBounds", "(", "jcasType", ".", "ll_cas", ".", "ll_getRefValue", "(", "addr", ",", "(", "(", "Cooccurrence_Type", ")", "jcasType", ")", ".", "casFeatCode_firstIds", ")", ",", "i", ")", ";", "return", "jcasType", ".", "ll_cas", ".", "ll_getStringArrayValue", "(", "jcasType", ".", "ll_cas", ".", "ll_getRefValue", "(", "addr", ",", "(", "(", "Cooccurrence_Type", ")", "jcasType", ")", ".", "casFeatCode_firstIds", ")", ",", "i", ")", ";", "}" ]
indexed getter for firstIds - gets an indexed value - A list of string ids to identify the first occurrence @generated @param i index in the array to get @return value of the element at index i
[ "indexed", "getter", "for", "firstIds", "-", "gets", "an", "indexed", "value", "-", "A", "list", "of", "string", "ids", "to", "identify", "the", "first", "occurrence" ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/Cooccurrence.java#L194-L198
140,544
BlueBrain/bluima
modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/Cooccurrence.java
Cooccurrence.setFirstIds
public void setFirstIds(int i, String v) { if (Cooccurrence_Type.featOkTst && ((Cooccurrence_Type)jcasType).casFeat_firstIds == null) jcasType.jcas.throwFeatMissing("firstIds", "ch.epfl.bbp.uima.types.Cooccurrence"); jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((Cooccurrence_Type)jcasType).casFeatCode_firstIds), i); jcasType.ll_cas.ll_setStringArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((Cooccurrence_Type)jcasType).casFeatCode_firstIds), i, v);}
java
public void setFirstIds(int i, String v) { if (Cooccurrence_Type.featOkTst && ((Cooccurrence_Type)jcasType).casFeat_firstIds == null) jcasType.jcas.throwFeatMissing("firstIds", "ch.epfl.bbp.uima.types.Cooccurrence"); jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((Cooccurrence_Type)jcasType).casFeatCode_firstIds), i); jcasType.ll_cas.ll_setStringArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((Cooccurrence_Type)jcasType).casFeatCode_firstIds), i, v);}
[ "public", "void", "setFirstIds", "(", "int", "i", ",", "String", "v", ")", "{", "if", "(", "Cooccurrence_Type", ".", "featOkTst", "&&", "(", "(", "Cooccurrence_Type", ")", "jcasType", ")", ".", "casFeat_firstIds", "==", "null", ")", "jcasType", ".", "jcas", ".", "throwFeatMissing", "(", "\"firstIds\"", ",", "\"ch.epfl.bbp.uima.types.Cooccurrence\"", ")", ";", "jcasType", ".", "jcas", ".", "checkArrayBounds", "(", "jcasType", ".", "ll_cas", ".", "ll_getRefValue", "(", "addr", ",", "(", "(", "Cooccurrence_Type", ")", "jcasType", ")", ".", "casFeatCode_firstIds", ")", ",", "i", ")", ";", "jcasType", ".", "ll_cas", ".", "ll_setStringArrayValue", "(", "jcasType", ".", "ll_cas", ".", "ll_getRefValue", "(", "addr", ",", "(", "(", "Cooccurrence_Type", ")", "jcasType", ")", ".", "casFeatCode_firstIds", ")", ",", "i", ",", "v", ")", ";", "}" ]
indexed setter for firstIds - sets an indexed value - A list of string ids to identify the first occurrence @generated @param i index in the array to set @param v value to set into the array
[ "indexed", "setter", "for", "firstIds", "-", "sets", "an", "indexed", "value", "-", "A", "list", "of", "string", "ids", "to", "identify", "the", "first", "occurrence" ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/Cooccurrence.java#L205-L209
140,545
BlueBrain/bluima
modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/Cooccurrence.java
Cooccurrence.getSecondIds
public StringArray getSecondIds() { if (Cooccurrence_Type.featOkTst && ((Cooccurrence_Type)jcasType).casFeat_secondIds == null) jcasType.jcas.throwFeatMissing("secondIds", "ch.epfl.bbp.uima.types.Cooccurrence"); return (StringArray)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((Cooccurrence_Type)jcasType).casFeatCode_secondIds)));}
java
public StringArray getSecondIds() { if (Cooccurrence_Type.featOkTst && ((Cooccurrence_Type)jcasType).casFeat_secondIds == null) jcasType.jcas.throwFeatMissing("secondIds", "ch.epfl.bbp.uima.types.Cooccurrence"); return (StringArray)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((Cooccurrence_Type)jcasType).casFeatCode_secondIds)));}
[ "public", "StringArray", "getSecondIds", "(", ")", "{", "if", "(", "Cooccurrence_Type", ".", "featOkTst", "&&", "(", "(", "Cooccurrence_Type", ")", "jcasType", ")", ".", "casFeat_secondIds", "==", "null", ")", "jcasType", ".", "jcas", ".", "throwFeatMissing", "(", "\"secondIds\"", ",", "\"ch.epfl.bbp.uima.types.Cooccurrence\"", ")", ";", "return", "(", "StringArray", ")", "(", "jcasType", ".", "ll_cas", ".", "ll_getFSForRef", "(", "jcasType", ".", "ll_cas", ".", "ll_getRefValue", "(", "addr", ",", "(", "(", "Cooccurrence_Type", ")", "jcasType", ")", ".", "casFeatCode_secondIds", ")", ")", ")", ";", "}" ]
getter for secondIds - gets a list of string ids to identify the second occurrence @generated @return value of the feature
[ "getter", "for", "secondIds", "-", "gets", "a", "list", "of", "string", "ids", "to", "identify", "the", "second", "occurrence" ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/Cooccurrence.java#L219-L222
140,546
BlueBrain/bluima
modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/Cooccurrence.java
Cooccurrence.setSecondIds
public void setSecondIds(StringArray v) { if (Cooccurrence_Type.featOkTst && ((Cooccurrence_Type)jcasType).casFeat_secondIds == null) jcasType.jcas.throwFeatMissing("secondIds", "ch.epfl.bbp.uima.types.Cooccurrence"); jcasType.ll_cas.ll_setRefValue(addr, ((Cooccurrence_Type)jcasType).casFeatCode_secondIds, jcasType.ll_cas.ll_getFSRef(v));}
java
public void setSecondIds(StringArray v) { if (Cooccurrence_Type.featOkTst && ((Cooccurrence_Type)jcasType).casFeat_secondIds == null) jcasType.jcas.throwFeatMissing("secondIds", "ch.epfl.bbp.uima.types.Cooccurrence"); jcasType.ll_cas.ll_setRefValue(addr, ((Cooccurrence_Type)jcasType).casFeatCode_secondIds, jcasType.ll_cas.ll_getFSRef(v));}
[ "public", "void", "setSecondIds", "(", "StringArray", "v", ")", "{", "if", "(", "Cooccurrence_Type", ".", "featOkTst", "&&", "(", "(", "Cooccurrence_Type", ")", "jcasType", ")", ".", "casFeat_secondIds", "==", "null", ")", "jcasType", ".", "jcas", ".", "throwFeatMissing", "(", "\"secondIds\"", ",", "\"ch.epfl.bbp.uima.types.Cooccurrence\"", ")", ";", "jcasType", ".", "ll_cas", ".", "ll_setRefValue", "(", "addr", ",", "(", "(", "Cooccurrence_Type", ")", "jcasType", ")", ".", "casFeatCode_secondIds", ",", "jcasType", ".", "ll_cas", ".", "ll_getFSRef", "(", "v", ")", ")", ";", "}" ]
setter for secondIds - sets a list of string ids to identify the second occurrence @generated @param v value to set into the feature
[ "setter", "for", "secondIds", "-", "sets", "a", "list", "of", "string", "ids", "to", "identify", "the", "second", "occurrence" ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/Cooccurrence.java#L228-L231
140,547
BlueBrain/bluima
modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/Cooccurrence.java
Cooccurrence.getSecondIds
public String getSecondIds(int i) { if (Cooccurrence_Type.featOkTst && ((Cooccurrence_Type)jcasType).casFeat_secondIds == null) jcasType.jcas.throwFeatMissing("secondIds", "ch.epfl.bbp.uima.types.Cooccurrence"); jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((Cooccurrence_Type)jcasType).casFeatCode_secondIds), i); return jcasType.ll_cas.ll_getStringArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((Cooccurrence_Type)jcasType).casFeatCode_secondIds), i);}
java
public String getSecondIds(int i) { if (Cooccurrence_Type.featOkTst && ((Cooccurrence_Type)jcasType).casFeat_secondIds == null) jcasType.jcas.throwFeatMissing("secondIds", "ch.epfl.bbp.uima.types.Cooccurrence"); jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((Cooccurrence_Type)jcasType).casFeatCode_secondIds), i); return jcasType.ll_cas.ll_getStringArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((Cooccurrence_Type)jcasType).casFeatCode_secondIds), i);}
[ "public", "String", "getSecondIds", "(", "int", "i", ")", "{", "if", "(", "Cooccurrence_Type", ".", "featOkTst", "&&", "(", "(", "Cooccurrence_Type", ")", "jcasType", ")", ".", "casFeat_secondIds", "==", "null", ")", "jcasType", ".", "jcas", ".", "throwFeatMissing", "(", "\"secondIds\"", ",", "\"ch.epfl.bbp.uima.types.Cooccurrence\"", ")", ";", "jcasType", ".", "jcas", ".", "checkArrayBounds", "(", "jcasType", ".", "ll_cas", ".", "ll_getRefValue", "(", "addr", ",", "(", "(", "Cooccurrence_Type", ")", "jcasType", ")", ".", "casFeatCode_secondIds", ")", ",", "i", ")", ";", "return", "jcasType", ".", "ll_cas", ".", "ll_getStringArrayValue", "(", "jcasType", ".", "ll_cas", ".", "ll_getRefValue", "(", "addr", ",", "(", "(", "Cooccurrence_Type", ")", "jcasType", ")", ".", "casFeatCode_secondIds", ")", ",", "i", ")", ";", "}" ]
indexed getter for secondIds - gets an indexed value - a list of string ids to identify the second occurrence @generated @param i index in the array to get @return value of the element at index i
[ "indexed", "getter", "for", "secondIds", "-", "gets", "an", "indexed", "value", "-", "a", "list", "of", "string", "ids", "to", "identify", "the", "second", "occurrence" ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/Cooccurrence.java#L238-L242
140,548
BlueBrain/bluima
modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/Cooccurrence.java
Cooccurrence.setSecondIds
public void setSecondIds(int i, String v) { if (Cooccurrence_Type.featOkTst && ((Cooccurrence_Type)jcasType).casFeat_secondIds == null) jcasType.jcas.throwFeatMissing("secondIds", "ch.epfl.bbp.uima.types.Cooccurrence"); jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((Cooccurrence_Type)jcasType).casFeatCode_secondIds), i); jcasType.ll_cas.ll_setStringArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((Cooccurrence_Type)jcasType).casFeatCode_secondIds), i, v);}
java
public void setSecondIds(int i, String v) { if (Cooccurrence_Type.featOkTst && ((Cooccurrence_Type)jcasType).casFeat_secondIds == null) jcasType.jcas.throwFeatMissing("secondIds", "ch.epfl.bbp.uima.types.Cooccurrence"); jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((Cooccurrence_Type)jcasType).casFeatCode_secondIds), i); jcasType.ll_cas.ll_setStringArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((Cooccurrence_Type)jcasType).casFeatCode_secondIds), i, v);}
[ "public", "void", "setSecondIds", "(", "int", "i", ",", "String", "v", ")", "{", "if", "(", "Cooccurrence_Type", ".", "featOkTst", "&&", "(", "(", "Cooccurrence_Type", ")", "jcasType", ")", ".", "casFeat_secondIds", "==", "null", ")", "jcasType", ".", "jcas", ".", "throwFeatMissing", "(", "\"secondIds\"", ",", "\"ch.epfl.bbp.uima.types.Cooccurrence\"", ")", ";", "jcasType", ".", "jcas", ".", "checkArrayBounds", "(", "jcasType", ".", "ll_cas", ".", "ll_getRefValue", "(", "addr", ",", "(", "(", "Cooccurrence_Type", ")", "jcasType", ")", ".", "casFeatCode_secondIds", ")", ",", "i", ")", ";", "jcasType", ".", "ll_cas", ".", "ll_setStringArrayValue", "(", "jcasType", ".", "ll_cas", ".", "ll_getRefValue", "(", "addr", ",", "(", "(", "Cooccurrence_Type", ")", "jcasType", ")", ".", "casFeatCode_secondIds", ")", ",", "i", ",", "v", ")", ";", "}" ]
indexed setter for secondIds - sets an indexed value - a list of string ids to identify the second occurrence @generated @param i index in the array to set @param v value to set into the array
[ "indexed", "setter", "for", "secondIds", "-", "sets", "an", "indexed", "value", "-", "a", "list", "of", "string", "ids", "to", "identify", "the", "second", "occurrence" ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/Cooccurrence.java#L249-L253
140,549
BlueBrain/bluima
modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/Cooccurrence.java
Cooccurrence.getCooccurrenceType
public String getCooccurrenceType() { if (Cooccurrence_Type.featOkTst && ((Cooccurrence_Type)jcasType).casFeat_cooccurrenceType == null) jcasType.jcas.throwFeatMissing("cooccurrenceType", "ch.epfl.bbp.uima.types.Cooccurrence"); return jcasType.ll_cas.ll_getStringValue(addr, ((Cooccurrence_Type)jcasType).casFeatCode_cooccurrenceType);}
java
public String getCooccurrenceType() { if (Cooccurrence_Type.featOkTst && ((Cooccurrence_Type)jcasType).casFeat_cooccurrenceType == null) jcasType.jcas.throwFeatMissing("cooccurrenceType", "ch.epfl.bbp.uima.types.Cooccurrence"); return jcasType.ll_cas.ll_getStringValue(addr, ((Cooccurrence_Type)jcasType).casFeatCode_cooccurrenceType);}
[ "public", "String", "getCooccurrenceType", "(", ")", "{", "if", "(", "Cooccurrence_Type", ".", "featOkTst", "&&", "(", "(", "Cooccurrence_Type", ")", "jcasType", ")", ".", "casFeat_cooccurrenceType", "==", "null", ")", "jcasType", ".", "jcas", ".", "throwFeatMissing", "(", "\"cooccurrenceType\"", ",", "\"ch.epfl.bbp.uima.types.Cooccurrence\"", ")", ";", "return", "jcasType", ".", "ll_cas", ".", "ll_getStringValue", "(", "addr", ",", "(", "(", "Cooccurrence_Type", ")", "jcasType", ")", ".", "casFeatCode_cooccurrenceType", ")", ";", "}" ]
getter for cooccurrenceType - gets @generated @return value of the feature
[ "getter", "for", "cooccurrenceType", "-", "gets" ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/Cooccurrence.java#L263-L266
140,550
BlueBrain/bluima
modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/Cooccurrence.java
Cooccurrence.setCooccurrenceType
public void setCooccurrenceType(String v) { if (Cooccurrence_Type.featOkTst && ((Cooccurrence_Type)jcasType).casFeat_cooccurrenceType == null) jcasType.jcas.throwFeatMissing("cooccurrenceType", "ch.epfl.bbp.uima.types.Cooccurrence"); jcasType.ll_cas.ll_setStringValue(addr, ((Cooccurrence_Type)jcasType).casFeatCode_cooccurrenceType, v);}
java
public void setCooccurrenceType(String v) { if (Cooccurrence_Type.featOkTst && ((Cooccurrence_Type)jcasType).casFeat_cooccurrenceType == null) jcasType.jcas.throwFeatMissing("cooccurrenceType", "ch.epfl.bbp.uima.types.Cooccurrence"); jcasType.ll_cas.ll_setStringValue(addr, ((Cooccurrence_Type)jcasType).casFeatCode_cooccurrenceType, v);}
[ "public", "void", "setCooccurrenceType", "(", "String", "v", ")", "{", "if", "(", "Cooccurrence_Type", ".", "featOkTst", "&&", "(", "(", "Cooccurrence_Type", ")", "jcasType", ")", ".", "casFeat_cooccurrenceType", "==", "null", ")", "jcasType", ".", "jcas", ".", "throwFeatMissing", "(", "\"cooccurrenceType\"", ",", "\"ch.epfl.bbp.uima.types.Cooccurrence\"", ")", ";", "jcasType", ".", "ll_cas", ".", "ll_setStringValue", "(", "addr", ",", "(", "(", "Cooccurrence_Type", ")", "jcasType", ")", ".", "casFeatCode_cooccurrenceType", ",", "v", ")", ";", "}" ]
setter for cooccurrenceType - sets @generated @param v value to set into the feature
[ "setter", "for", "cooccurrenceType", "-", "sets" ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/Cooccurrence.java#L272-L275
140,551
BlueBrain/bluima
modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/Cooccurrence.java
Cooccurrence.getConfidence
public float getConfidence() { if (Cooccurrence_Type.featOkTst && ((Cooccurrence_Type)jcasType).casFeat_confidence == null) jcasType.jcas.throwFeatMissing("confidence", "ch.epfl.bbp.uima.types.Cooccurrence"); return jcasType.ll_cas.ll_getFloatValue(addr, ((Cooccurrence_Type)jcasType).casFeatCode_confidence);}
java
public float getConfidence() { if (Cooccurrence_Type.featOkTst && ((Cooccurrence_Type)jcasType).casFeat_confidence == null) jcasType.jcas.throwFeatMissing("confidence", "ch.epfl.bbp.uima.types.Cooccurrence"); return jcasType.ll_cas.ll_getFloatValue(addr, ((Cooccurrence_Type)jcasType).casFeatCode_confidence);}
[ "public", "float", "getConfidence", "(", ")", "{", "if", "(", "Cooccurrence_Type", ".", "featOkTst", "&&", "(", "(", "Cooccurrence_Type", ")", "jcasType", ")", ".", "casFeat_confidence", "==", "null", ")", "jcasType", ".", "jcas", ".", "throwFeatMissing", "(", "\"confidence\"", ",", "\"ch.epfl.bbp.uima.types.Cooccurrence\"", ")", ";", "return", "jcasType", ".", "ll_cas", ".", "ll_getFloatValue", "(", "addr", ",", "(", "(", "Cooccurrence_Type", ")", "jcasType", ")", ".", "casFeatCode_confidence", ")", ";", "}" ]
getter for confidence - gets To which degree we are confident about this being a true co-occurrence @generated @return value of the feature
[ "getter", "for", "confidence", "-", "gets", "To", "which", "degree", "we", "are", "confident", "about", "this", "being", "a", "true", "co", "-", "occurrence" ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/Cooccurrence.java#L285-L288
140,552
BlueBrain/bluima
modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/Cooccurrence.java
Cooccurrence.setConfidence
public void setConfidence(float v) { if (Cooccurrence_Type.featOkTst && ((Cooccurrence_Type)jcasType).casFeat_confidence == null) jcasType.jcas.throwFeatMissing("confidence", "ch.epfl.bbp.uima.types.Cooccurrence"); jcasType.ll_cas.ll_setFloatValue(addr, ((Cooccurrence_Type)jcasType).casFeatCode_confidence, v);}
java
public void setConfidence(float v) { if (Cooccurrence_Type.featOkTst && ((Cooccurrence_Type)jcasType).casFeat_confidence == null) jcasType.jcas.throwFeatMissing("confidence", "ch.epfl.bbp.uima.types.Cooccurrence"); jcasType.ll_cas.ll_setFloatValue(addr, ((Cooccurrence_Type)jcasType).casFeatCode_confidence, v);}
[ "public", "void", "setConfidence", "(", "float", "v", ")", "{", "if", "(", "Cooccurrence_Type", ".", "featOkTst", "&&", "(", "(", "Cooccurrence_Type", ")", "jcasType", ")", ".", "casFeat_confidence", "==", "null", ")", "jcasType", ".", "jcas", ".", "throwFeatMissing", "(", "\"confidence\"", ",", "\"ch.epfl.bbp.uima.types.Cooccurrence\"", ")", ";", "jcasType", ".", "ll_cas", ".", "ll_setFloatValue", "(", "addr", ",", "(", "(", "Cooccurrence_Type", ")", "jcasType", ")", ".", "casFeatCode_confidence", ",", "v", ")", ";", "}" ]
setter for confidence - sets To which degree we are confident about this being a true co-occurrence @generated @param v value to set into the feature
[ "setter", "for", "confidence", "-", "sets", "To", "which", "degree", "we", "are", "confident", "about", "this", "being", "a", "true", "co", "-", "occurrence" ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/Cooccurrence.java#L294-L297
140,553
BlueBrain/bluima
modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/Cooccurrence.java
Cooccurrence.getHasInteraction
public boolean getHasInteraction() { if (Cooccurrence_Type.featOkTst && ((Cooccurrence_Type)jcasType).casFeat_hasInteraction == null) jcasType.jcas.throwFeatMissing("hasInteraction", "ch.epfl.bbp.uima.types.Cooccurrence"); return jcasType.ll_cas.ll_getBooleanValue(addr, ((Cooccurrence_Type)jcasType).casFeatCode_hasInteraction);}
java
public boolean getHasInteraction() { if (Cooccurrence_Type.featOkTst && ((Cooccurrence_Type)jcasType).casFeat_hasInteraction == null) jcasType.jcas.throwFeatMissing("hasInteraction", "ch.epfl.bbp.uima.types.Cooccurrence"); return jcasType.ll_cas.ll_getBooleanValue(addr, ((Cooccurrence_Type)jcasType).casFeatCode_hasInteraction);}
[ "public", "boolean", "getHasInteraction", "(", ")", "{", "if", "(", "Cooccurrence_Type", ".", "featOkTst", "&&", "(", "(", "Cooccurrence_Type", ")", "jcasType", ")", ".", "casFeat_hasInteraction", "==", "null", ")", "jcasType", ".", "jcas", ".", "throwFeatMissing", "(", "\"hasInteraction\"", ",", "\"ch.epfl.bbp.uima.types.Cooccurrence\"", ")", ";", "return", "jcasType", ".", "ll_cas", ".", "ll_getBooleanValue", "(", "addr", ",", "(", "(", "Cooccurrence_Type", ")", "jcasType", ")", ".", "casFeatCode_hasInteraction", ")", ";", "}" ]
getter for hasInteraction - gets whether this cooccurrence signals an interaction between the two entities. This is relevant for the Whitetext corpus in particular. @generated @return value of the feature
[ "getter", "for", "hasInteraction", "-", "gets", "whether", "this", "cooccurrence", "signals", "an", "interaction", "between", "the", "two", "entities", ".", "This", "is", "relevant", "for", "the", "Whitetext", "corpus", "in", "particular", "." ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/Cooccurrence.java#L307-L310
140,554
BlueBrain/bluima
modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/Cooccurrence.java
Cooccurrence.setHasInteraction
public void setHasInteraction(boolean v) { if (Cooccurrence_Type.featOkTst && ((Cooccurrence_Type)jcasType).casFeat_hasInteraction == null) jcasType.jcas.throwFeatMissing("hasInteraction", "ch.epfl.bbp.uima.types.Cooccurrence"); jcasType.ll_cas.ll_setBooleanValue(addr, ((Cooccurrence_Type)jcasType).casFeatCode_hasInteraction, v);}
java
public void setHasInteraction(boolean v) { if (Cooccurrence_Type.featOkTst && ((Cooccurrence_Type)jcasType).casFeat_hasInteraction == null) jcasType.jcas.throwFeatMissing("hasInteraction", "ch.epfl.bbp.uima.types.Cooccurrence"); jcasType.ll_cas.ll_setBooleanValue(addr, ((Cooccurrence_Type)jcasType).casFeatCode_hasInteraction, v);}
[ "public", "void", "setHasInteraction", "(", "boolean", "v", ")", "{", "if", "(", "Cooccurrence_Type", ".", "featOkTst", "&&", "(", "(", "Cooccurrence_Type", ")", "jcasType", ")", ".", "casFeat_hasInteraction", "==", "null", ")", "jcasType", ".", "jcas", ".", "throwFeatMissing", "(", "\"hasInteraction\"", ",", "\"ch.epfl.bbp.uima.types.Cooccurrence\"", ")", ";", "jcasType", ".", "ll_cas", ".", "ll_setBooleanValue", "(", "addr", ",", "(", "(", "Cooccurrence_Type", ")", "jcasType", ")", ".", "casFeatCode_hasInteraction", ",", "v", ")", ";", "}" ]
setter for hasInteraction - sets whether this cooccurrence signals an interaction between the two entities. This is relevant for the Whitetext corpus in particular. @generated @param v value to set into the feature
[ "setter", "for", "hasInteraction", "-", "sets", "whether", "this", "cooccurrence", "signals", "an", "interaction", "between", "the", "two", "entities", ".", "This", "is", "relevant", "for", "the", "Whitetext", "corpus", "in", "particular", "." ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/Cooccurrence.java#L316-L319
140,555
BlueBrain/bluima
modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/MultipleProteins.java
MultipleProteins.getPresent
public int getPresent() { if (MultipleProteins_Type.featOkTst && ((MultipleProteins_Type)jcasType).casFeat_present == null) jcasType.jcas.throwFeatMissing("present", "ch.epfl.bbp.uima.types.MultipleProteins"); return jcasType.ll_cas.ll_getIntValue(addr, ((MultipleProteins_Type)jcasType).casFeatCode_present);}
java
public int getPresent() { if (MultipleProteins_Type.featOkTst && ((MultipleProteins_Type)jcasType).casFeat_present == null) jcasType.jcas.throwFeatMissing("present", "ch.epfl.bbp.uima.types.MultipleProteins"); return jcasType.ll_cas.ll_getIntValue(addr, ((MultipleProteins_Type)jcasType).casFeatCode_present);}
[ "public", "int", "getPresent", "(", ")", "{", "if", "(", "MultipleProteins_Type", ".", "featOkTst", "&&", "(", "(", "MultipleProteins_Type", ")", "jcasType", ")", ".", "casFeat_present", "==", "null", ")", "jcasType", ".", "jcas", ".", "throwFeatMissing", "(", "\"present\"", ",", "\"ch.epfl.bbp.uima.types.MultipleProteins\"", ")", ";", "return", "jcasType", ".", "ll_cas", ".", "ll_getIntValue", "(", "addr", ",", "(", "(", "MultipleProteins_Type", ")", "jcasType", ")", ".", "casFeatCode_present", ")", ";", "}" ]
getter for present - gets 1 if present @generated @return value of the feature
[ "getter", "for", "present", "-", "gets", "1", "if", "present" ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/MultipleProteins.java#L86-L89
140,556
BlueBrain/bluima
modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/MultipleProteins.java
MultipleProteins.setPresent
public void setPresent(int v) { if (MultipleProteins_Type.featOkTst && ((MultipleProteins_Type)jcasType).casFeat_present == null) jcasType.jcas.throwFeatMissing("present", "ch.epfl.bbp.uima.types.MultipleProteins"); jcasType.ll_cas.ll_setIntValue(addr, ((MultipleProteins_Type)jcasType).casFeatCode_present, v);}
java
public void setPresent(int v) { if (MultipleProteins_Type.featOkTst && ((MultipleProteins_Type)jcasType).casFeat_present == null) jcasType.jcas.throwFeatMissing("present", "ch.epfl.bbp.uima.types.MultipleProteins"); jcasType.ll_cas.ll_setIntValue(addr, ((MultipleProteins_Type)jcasType).casFeatCode_present, v);}
[ "public", "void", "setPresent", "(", "int", "v", ")", "{", "if", "(", "MultipleProteins_Type", ".", "featOkTst", "&&", "(", "(", "MultipleProteins_Type", ")", "jcasType", ")", ".", "casFeat_present", "==", "null", ")", "jcasType", ".", "jcas", ".", "throwFeatMissing", "(", "\"present\"", ",", "\"ch.epfl.bbp.uima.types.MultipleProteins\"", ")", ";", "jcasType", ".", "ll_cas", ".", "ll_setIntValue", "(", "addr", ",", "(", "(", "MultipleProteins_Type", ")", "jcasType", ")", ".", "casFeatCode_present", ",", "v", ")", ";", "}" ]
setter for present - sets 1 if present @generated @param v value to set into the feature
[ "setter", "for", "present", "-", "sets", "1", "if", "present" ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/MultipleProteins.java#L95-L98
140,557
BlueBrain/bluima
modules/bluima_opennlp/src/main/java/ch/epfl/bbp/shaded/opennlp/tools/ngram/MutableDictionary.java
MutableDictionary.persist
public void persist(File file) throws IOException { //System.err.println("Writting "+wordMap.size()+" words and "+gramSet.size()+" n-grams"); DataOutputStream output = new DataOutputStream(new GZIPOutputStream(new FileOutputStream(file))); output.writeUTF(FILE_TYPE); System.err.println("pruning from "+wordMap.size()); for (Iterator ki=wordMap.iterator();ki.hasNext();) { String key = (String) ki.next(); if (((CountedNumberedSet) wordMap).getCount(key) < cutoff) { ki.remove(); } } System.err.println("pruning to "+wordMap.size()); output.writeInt(wordMap.size()); for (Iterator ki=wordMap.iterator();ki.hasNext();) { String key = (String) ki.next(); output.writeUTF(key); output.writeInt(wordMap.getIndex(key)); } CountedSet cset = (CountedSet) gramSet; int gramCount = 0; for (Iterator gi = gramSet.iterator();gi.hasNext();) { NGram ngram = (NGram) gi.next(); if (cset.getCount(ngram) >= cutoff) { int[] words = ngram.getWords(); output.writeInt(words.length); for (int wi=0;wi<words.length;wi++) { output.writeInt(words[wi]); } gramCount++; } else { //System.err.println("ngram "+cset.getCount(ngram)); } } System.err.println("Wrote out "+gramCount+" n-grams"); output.close(); }
java
public void persist(File file) throws IOException { //System.err.println("Writting "+wordMap.size()+" words and "+gramSet.size()+" n-grams"); DataOutputStream output = new DataOutputStream(new GZIPOutputStream(new FileOutputStream(file))); output.writeUTF(FILE_TYPE); System.err.println("pruning from "+wordMap.size()); for (Iterator ki=wordMap.iterator();ki.hasNext();) { String key = (String) ki.next(); if (((CountedNumberedSet) wordMap).getCount(key) < cutoff) { ki.remove(); } } System.err.println("pruning to "+wordMap.size()); output.writeInt(wordMap.size()); for (Iterator ki=wordMap.iterator();ki.hasNext();) { String key = (String) ki.next(); output.writeUTF(key); output.writeInt(wordMap.getIndex(key)); } CountedSet cset = (CountedSet) gramSet; int gramCount = 0; for (Iterator gi = gramSet.iterator();gi.hasNext();) { NGram ngram = (NGram) gi.next(); if (cset.getCount(ngram) >= cutoff) { int[] words = ngram.getWords(); output.writeInt(words.length); for (int wi=0;wi<words.length;wi++) { output.writeInt(words[wi]); } gramCount++; } else { //System.err.println("ngram "+cset.getCount(ngram)); } } System.err.println("Wrote out "+gramCount+" n-grams"); output.close(); }
[ "public", "void", "persist", "(", "File", "file", ")", "throws", "IOException", "{", "//System.err.println(\"Writting \"+wordMap.size()+\" words and \"+gramSet.size()+\" n-grams\");", "DataOutputStream", "output", "=", "new", "DataOutputStream", "(", "new", "GZIPOutputStream", "(", "new", "FileOutputStream", "(", "file", ")", ")", ")", ";", "output", ".", "writeUTF", "(", "FILE_TYPE", ")", ";", "System", ".", "err", ".", "println", "(", "\"pruning from \"", "+", "wordMap", ".", "size", "(", ")", ")", ";", "for", "(", "Iterator", "ki", "=", "wordMap", ".", "iterator", "(", ")", ";", "ki", ".", "hasNext", "(", ")", ";", ")", "{", "String", "key", "=", "(", "String", ")", "ki", ".", "next", "(", ")", ";", "if", "(", "(", "(", "CountedNumberedSet", ")", "wordMap", ")", ".", "getCount", "(", "key", ")", "<", "cutoff", ")", "{", "ki", ".", "remove", "(", ")", ";", "}", "}", "System", ".", "err", ".", "println", "(", "\"pruning to \"", "+", "wordMap", ".", "size", "(", ")", ")", ";", "output", ".", "writeInt", "(", "wordMap", ".", "size", "(", ")", ")", ";", "for", "(", "Iterator", "ki", "=", "wordMap", ".", "iterator", "(", ")", ";", "ki", ".", "hasNext", "(", ")", ";", ")", "{", "String", "key", "=", "(", "String", ")", "ki", ".", "next", "(", ")", ";", "output", ".", "writeUTF", "(", "key", ")", ";", "output", ".", "writeInt", "(", "wordMap", ".", "getIndex", "(", "key", ")", ")", ";", "}", "CountedSet", "cset", "=", "(", "CountedSet", ")", "gramSet", ";", "int", "gramCount", "=", "0", ";", "for", "(", "Iterator", "gi", "=", "gramSet", ".", "iterator", "(", ")", ";", "gi", ".", "hasNext", "(", ")", ";", ")", "{", "NGram", "ngram", "=", "(", "NGram", ")", "gi", ".", "next", "(", ")", ";", "if", "(", "cset", ".", "getCount", "(", "ngram", ")", ">=", "cutoff", ")", "{", "int", "[", "]", "words", "=", "ngram", ".", "getWords", "(", ")", ";", "output", ".", "writeInt", "(", "words", ".", "length", ")", ";", "for", "(", "int", "wi", "=", "0", ";", "wi", "<", "words", ".", "length", ";", "wi", "++", ")", "{", "output", ".", "writeInt", "(", "words", "[", "wi", "]", ")", ";", "}", "gramCount", "++", ";", "}", "else", "{", "//System.err.println(\"ngram \"+cset.getCount(ngram));", "}", "}", "System", ".", "err", ".", "println", "(", "\"Wrote out \"", "+", "gramCount", "+", "\" n-grams\"", ")", ";", "output", ".", "close", "(", ")", ";", "}" ]
Save this n-gram dictionary to the specified file. @param file The file to store the n-gram dictionary. @throws IOException If the file can not be written.
[ "Save", "this", "n", "-", "gram", "dictionary", "to", "the", "specified", "file", "." ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_opennlp/src/main/java/ch/epfl/bbp/shaded/opennlp/tools/ngram/MutableDictionary.java#L121-L157
140,558
BlueBrain/bluima
modules/bluima_typesystem/src/main/java/de/julielab/jules/types/ace/Value.java
Value.getAce_subtype
public String getAce_subtype() { if (Value_Type.featOkTst && ((Value_Type)jcasType).casFeat_ace_subtype == null) jcasType.jcas.throwFeatMissing("ace_subtype", "de.julielab.jules.types.ace.Value"); return jcasType.ll_cas.ll_getStringValue(addr, ((Value_Type)jcasType).casFeatCode_ace_subtype);}
java
public String getAce_subtype() { if (Value_Type.featOkTst && ((Value_Type)jcasType).casFeat_ace_subtype == null) jcasType.jcas.throwFeatMissing("ace_subtype", "de.julielab.jules.types.ace.Value"); return jcasType.ll_cas.ll_getStringValue(addr, ((Value_Type)jcasType).casFeatCode_ace_subtype);}
[ "public", "String", "getAce_subtype", "(", ")", "{", "if", "(", "Value_Type", ".", "featOkTst", "&&", "(", "(", "Value_Type", ")", "jcasType", ")", ".", "casFeat_ace_subtype", "==", "null", ")", "jcasType", ".", "jcas", ".", "throwFeatMissing", "(", "\"ace_subtype\"", ",", "\"de.julielab.jules.types.ace.Value\"", ")", ";", "return", "jcasType", ".", "ll_cas", ".", "ll_getStringValue", "(", "addr", ",", "(", "(", "Value_Type", ")", "jcasType", ")", ".", "casFeatCode_ace_subtype", ")", ";", "}" ]
getter for ace_subtype - gets @generated @return value of the feature
[ "getter", "for", "ace_subtype", "-", "gets" ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/ace/Value.java#L152-L155
140,559
xqbase/metric
dashboard-sql/src/main/java/com/xqbase/metric/util/Kryos.java
Kryos.deserialize
public static <T> T deserialize(byte[] b, Class<T> clazz) { try ( Pool<Kryo, RuntimeException>.Entry entry = kryoPool.borrow(); Input input = new Input(b); ) { T t = entry.getObject().readObject(input, clazz); entry.setValid(true); return t; } catch (KryoException e) { Log.w(e.getMessage()); return null; } }
java
public static <T> T deserialize(byte[] b, Class<T> clazz) { try ( Pool<Kryo, RuntimeException>.Entry entry = kryoPool.borrow(); Input input = new Input(b); ) { T t = entry.getObject().readObject(input, clazz); entry.setValid(true); return t; } catch (KryoException e) { Log.w(e.getMessage()); return null; } }
[ "public", "static", "<", "T", ">", "T", "deserialize", "(", "byte", "[", "]", "b", ",", "Class", "<", "T", ">", "clazz", ")", "{", "try", "(", "Pool", "<", "Kryo", ",", "RuntimeException", ">", ".", "Entry", "entry", "=", "kryoPool", ".", "borrow", "(", ")", ";", "Input", "input", "=", "new", "Input", "(", "b", ")", ";", ")", "{", "T", "t", "=", "entry", ".", "getObject", "(", ")", ".", "readObject", "(", "input", ",", "clazz", ")", ";", "entry", ".", "setValid", "(", "true", ")", ";", "return", "t", ";", "}", "catch", "(", "KryoException", "e", ")", "{", "Log", ".", "w", "(", "e", ".", "getMessage", "(", ")", ")", ";", "return", "null", ";", "}", "}" ]
Be sure to do null pointer check on return value !!!
[ "Be", "sure", "to", "do", "null", "pointer", "check", "on", "return", "value", "!!!" ]
d7a0553b03e1adf3aeb3a8c1f72e5b1922aef47c
https://github.com/xqbase/metric/blob/d7a0553b03e1adf3aeb3a8c1f72e5b1922aef47c/dashboard-sql/src/main/java/com/xqbase/metric/util/Kryos.java#L36-L48
140,560
BlueBrain/bluima
modules/bluima_abbreviations/src/main/java/com/wcohen/ss/DistanceLearnerFactory.java
DistanceLearnerFactory.buildArray
public static StringDistance[] buildArray(String classNames) { String classNamesArray[] = split(classNames); StringDistance learners[] = new StringDistance[classNamesArray.length]; for (int i = 0; i < classNamesArray.length; i++) { learners[i] = build(classNamesArray[i]).getDistance(); } return learners; }
java
public static StringDistance[] buildArray(String classNames) { String classNamesArray[] = split(classNames); StringDistance learners[] = new StringDistance[classNamesArray.length]; for (int i = 0; i < classNamesArray.length; i++) { learners[i] = build(classNamesArray[i]).getDistance(); } return learners; }
[ "public", "static", "StringDistance", "[", "]", "buildArray", "(", "String", "classNames", ")", "{", "String", "classNamesArray", "[", "]", "=", "split", "(", "classNames", ")", ";", "StringDistance", "learners", "[", "]", "=", "new", "StringDistance", "[", "classNamesArray", ".", "length", "]", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "classNamesArray", ".", "length", ";", "i", "++", ")", "{", "learners", "[", "i", "]", "=", "build", "(", "classNamesArray", "[", "i", "]", ")", ".", "getDistance", "(", ")", ";", "}", "return", "learners", ";", "}" ]
Generate a StringDistanceArray given a sequence of classnames separated by slashes.
[ "Generate", "a", "StringDistanceArray", "given", "a", "sequence", "of", "classnames", "separated", "by", "slashes", "." ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_abbreviations/src/main/java/com/wcohen/ss/DistanceLearnerFactory.java#L36-L44
140,561
BlueBrain/bluima
modules/bluima_abbreviations/src/main/java/com/wcohen/ss/DistanceLearnerFactory.java
DistanceLearnerFactory.main
static public void main(String[] args) { try { if (args[0].indexOf('/')>0) { System.out.println(build(args[0])); } else { System.out.println(build(args)); } } catch (Exception e) { e.printStackTrace(); } }
java
static public void main(String[] args) { try { if (args[0].indexOf('/')>0) { System.out.println(build(args[0])); } else { System.out.println(build(args)); } } catch (Exception e) { e.printStackTrace(); } }
[ "static", "public", "void", "main", "(", "String", "[", "]", "args", ")", "{", "try", "{", "if", "(", "args", "[", "0", "]", ".", "indexOf", "(", "'", "'", ")", ">", "0", ")", "{", "System", ".", "out", ".", "println", "(", "build", "(", "args", "[", "0", "]", ")", ")", ";", "}", "else", "{", "System", ".", "out", ".", "println", "(", "build", "(", "args", ")", ")", ";", "}", "}", "catch", "(", "Exception", "e", ")", "{", "e", ".", "printStackTrace", "(", ")", ";", "}", "}" ]
Test routine.
[ "Test", "routine", "." ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_abbreviations/src/main/java/com/wcohen/ss/DistanceLearnerFactory.java#L136-L147
140,562
BlueBrain/bluima
modules/bluima_typesystem/src/main/java/de/julielab/jules/types/RelatedArticleList.java
RelatedArticleList.getRelatedArticles
public FSArray getRelatedArticles() { if (RelatedArticleList_Type.featOkTst && ((RelatedArticleList_Type)jcasType).casFeat_relatedArticles == null) jcasType.jcas.throwFeatMissing("relatedArticles", "de.julielab.jules.types.RelatedArticleList"); return (FSArray)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((RelatedArticleList_Type)jcasType).casFeatCode_relatedArticles)));}
java
public FSArray getRelatedArticles() { if (RelatedArticleList_Type.featOkTst && ((RelatedArticleList_Type)jcasType).casFeat_relatedArticles == null) jcasType.jcas.throwFeatMissing("relatedArticles", "de.julielab.jules.types.RelatedArticleList"); return (FSArray)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((RelatedArticleList_Type)jcasType).casFeatCode_relatedArticles)));}
[ "public", "FSArray", "getRelatedArticles", "(", ")", "{", "if", "(", "RelatedArticleList_Type", ".", "featOkTst", "&&", "(", "(", "RelatedArticleList_Type", ")", "jcasType", ")", ".", "casFeat_relatedArticles", "==", "null", ")", "jcasType", ".", "jcas", ".", "throwFeatMissing", "(", "\"relatedArticles\"", ",", "\"de.julielab.jules.types.RelatedArticleList\"", ")", ";", "return", "(", "FSArray", ")", "(", "jcasType", ".", "ll_cas", ".", "ll_getFSForRef", "(", "jcasType", ".", "ll_cas", ".", "ll_getRefValue", "(", "addr", ",", "(", "(", "RelatedArticleList_Type", ")", "jcasType", ")", ".", "casFeatCode_relatedArticles", ")", ")", ")", ";", "}" ]
getter for relatedArticles - gets @generated @return value of the feature
[ "getter", "for", "relatedArticles", "-", "gets" ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/RelatedArticleList.java#L86-L89
140,563
BlueBrain/bluima
modules/bluima_typesystem/src/main/java/de/julielab/jules/types/RelatedArticleList.java
RelatedArticleList.setRelatedArticles
public void setRelatedArticles(FSArray v) { if (RelatedArticleList_Type.featOkTst && ((RelatedArticleList_Type)jcasType).casFeat_relatedArticles == null) jcasType.jcas.throwFeatMissing("relatedArticles", "de.julielab.jules.types.RelatedArticleList"); jcasType.ll_cas.ll_setRefValue(addr, ((RelatedArticleList_Type)jcasType).casFeatCode_relatedArticles, jcasType.ll_cas.ll_getFSRef(v));}
java
public void setRelatedArticles(FSArray v) { if (RelatedArticleList_Type.featOkTst && ((RelatedArticleList_Type)jcasType).casFeat_relatedArticles == null) jcasType.jcas.throwFeatMissing("relatedArticles", "de.julielab.jules.types.RelatedArticleList"); jcasType.ll_cas.ll_setRefValue(addr, ((RelatedArticleList_Type)jcasType).casFeatCode_relatedArticles, jcasType.ll_cas.ll_getFSRef(v));}
[ "public", "void", "setRelatedArticles", "(", "FSArray", "v", ")", "{", "if", "(", "RelatedArticleList_Type", ".", "featOkTst", "&&", "(", "(", "RelatedArticleList_Type", ")", "jcasType", ")", ".", "casFeat_relatedArticles", "==", "null", ")", "jcasType", ".", "jcas", ".", "throwFeatMissing", "(", "\"relatedArticles\"", ",", "\"de.julielab.jules.types.RelatedArticleList\"", ")", ";", "jcasType", ".", "ll_cas", ".", "ll_setRefValue", "(", "addr", ",", "(", "(", "RelatedArticleList_Type", ")", "jcasType", ")", ".", "casFeatCode_relatedArticles", ",", "jcasType", ".", "ll_cas", ".", "ll_getFSRef", "(", "v", ")", ")", ";", "}" ]
setter for relatedArticles - sets @generated @param v value to set into the feature
[ "setter", "for", "relatedArticles", "-", "sets" ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/RelatedArticleList.java#L95-L98
140,564
BlueBrain/bluima
modules/bluima_typesystem/src/main/java/de/julielab/jules/types/RelatedArticleList.java
RelatedArticleList.getRelatedArticles
public RelatedArticle getRelatedArticles(int i) { if (RelatedArticleList_Type.featOkTst && ((RelatedArticleList_Type)jcasType).casFeat_relatedArticles == null) jcasType.jcas.throwFeatMissing("relatedArticles", "de.julielab.jules.types.RelatedArticleList"); jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((RelatedArticleList_Type)jcasType).casFeatCode_relatedArticles), i); return (RelatedArticle)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((RelatedArticleList_Type)jcasType).casFeatCode_relatedArticles), i)));}
java
public RelatedArticle getRelatedArticles(int i) { if (RelatedArticleList_Type.featOkTst && ((RelatedArticleList_Type)jcasType).casFeat_relatedArticles == null) jcasType.jcas.throwFeatMissing("relatedArticles", "de.julielab.jules.types.RelatedArticleList"); jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((RelatedArticleList_Type)jcasType).casFeatCode_relatedArticles), i); return (RelatedArticle)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((RelatedArticleList_Type)jcasType).casFeatCode_relatedArticles), i)));}
[ "public", "RelatedArticle", "getRelatedArticles", "(", "int", "i", ")", "{", "if", "(", "RelatedArticleList_Type", ".", "featOkTst", "&&", "(", "(", "RelatedArticleList_Type", ")", "jcasType", ")", ".", "casFeat_relatedArticles", "==", "null", ")", "jcasType", ".", "jcas", ".", "throwFeatMissing", "(", "\"relatedArticles\"", ",", "\"de.julielab.jules.types.RelatedArticleList\"", ")", ";", "jcasType", ".", "jcas", ".", "checkArrayBounds", "(", "jcasType", ".", "ll_cas", ".", "ll_getRefValue", "(", "addr", ",", "(", "(", "RelatedArticleList_Type", ")", "jcasType", ")", ".", "casFeatCode_relatedArticles", ")", ",", "i", ")", ";", "return", "(", "RelatedArticle", ")", "(", "jcasType", ".", "ll_cas", ".", "ll_getFSForRef", "(", "jcasType", ".", "ll_cas", ".", "ll_getRefArrayValue", "(", "jcasType", ".", "ll_cas", ".", "ll_getRefValue", "(", "addr", ",", "(", "(", "RelatedArticleList_Type", ")", "jcasType", ")", ".", "casFeatCode_relatedArticles", ")", ",", "i", ")", ")", ")", ";", "}" ]
indexed getter for relatedArticles - gets an indexed value - @generated @param i index in the array to get @return value of the element at index i
[ "indexed", "getter", "for", "relatedArticles", "-", "gets", "an", "indexed", "value", "-" ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/RelatedArticleList.java#L105-L109
140,565
BlueBrain/bluima
modules/bluima_typesystem/src/main/java/de/julielab/jules/types/RelatedArticleList.java
RelatedArticleList.setRelatedArticles
public void setRelatedArticles(int i, RelatedArticle v) { if (RelatedArticleList_Type.featOkTst && ((RelatedArticleList_Type)jcasType).casFeat_relatedArticles == null) jcasType.jcas.throwFeatMissing("relatedArticles", "de.julielab.jules.types.RelatedArticleList"); jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((RelatedArticleList_Type)jcasType).casFeatCode_relatedArticles), i); jcasType.ll_cas.ll_setRefArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((RelatedArticleList_Type)jcasType).casFeatCode_relatedArticles), i, jcasType.ll_cas.ll_getFSRef(v));}
java
public void setRelatedArticles(int i, RelatedArticle v) { if (RelatedArticleList_Type.featOkTst && ((RelatedArticleList_Type)jcasType).casFeat_relatedArticles == null) jcasType.jcas.throwFeatMissing("relatedArticles", "de.julielab.jules.types.RelatedArticleList"); jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((RelatedArticleList_Type)jcasType).casFeatCode_relatedArticles), i); jcasType.ll_cas.ll_setRefArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((RelatedArticleList_Type)jcasType).casFeatCode_relatedArticles), i, jcasType.ll_cas.ll_getFSRef(v));}
[ "public", "void", "setRelatedArticles", "(", "int", "i", ",", "RelatedArticle", "v", ")", "{", "if", "(", "RelatedArticleList_Type", ".", "featOkTst", "&&", "(", "(", "RelatedArticleList_Type", ")", "jcasType", ")", ".", "casFeat_relatedArticles", "==", "null", ")", "jcasType", ".", "jcas", ".", "throwFeatMissing", "(", "\"relatedArticles\"", ",", "\"de.julielab.jules.types.RelatedArticleList\"", ")", ";", "jcasType", ".", "jcas", ".", "checkArrayBounds", "(", "jcasType", ".", "ll_cas", ".", "ll_getRefValue", "(", "addr", ",", "(", "(", "RelatedArticleList_Type", ")", "jcasType", ")", ".", "casFeatCode_relatedArticles", ")", ",", "i", ")", ";", "jcasType", ".", "ll_cas", ".", "ll_setRefArrayValue", "(", "jcasType", ".", "ll_cas", ".", "ll_getRefValue", "(", "addr", ",", "(", "(", "RelatedArticleList_Type", ")", "jcasType", ")", ".", "casFeatCode_relatedArticles", ")", ",", "i", ",", "jcasType", ".", "ll_cas", ".", "ll_getFSRef", "(", "v", ")", ")", ";", "}" ]
indexed setter for relatedArticles - sets an indexed value - @generated @param i index in the array to set @param v value to set into the array
[ "indexed", "setter", "for", "relatedArticles", "-", "sets", "an", "indexed", "value", "-" ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/RelatedArticleList.java#L116-L120
140,566
BlueBrain/bluima
modules/bluima_typesystem/src/main/java/de/julielab/jules/types/List.java
List.getItemList
public FSArray getItemList() { if (List_Type.featOkTst && ((List_Type)jcasType).casFeat_itemList == null) jcasType.jcas.throwFeatMissing("itemList", "de.julielab.jules.types.List"); return (FSArray)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((List_Type)jcasType).casFeatCode_itemList)));}
java
public FSArray getItemList() { if (List_Type.featOkTst && ((List_Type)jcasType).casFeat_itemList == null) jcasType.jcas.throwFeatMissing("itemList", "de.julielab.jules.types.List"); return (FSArray)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((List_Type)jcasType).casFeatCode_itemList)));}
[ "public", "FSArray", "getItemList", "(", ")", "{", "if", "(", "List_Type", ".", "featOkTst", "&&", "(", "(", "List_Type", ")", "jcasType", ")", ".", "casFeat_itemList", "==", "null", ")", "jcasType", ".", "jcas", ".", "throwFeatMissing", "(", "\"itemList\"", ",", "\"de.julielab.jules.types.List\"", ")", ";", "return", "(", "FSArray", ")", "(", "jcasType", ".", "ll_cas", ".", "ll_getFSForRef", "(", "jcasType", ".", "ll_cas", ".", "ll_getRefValue", "(", "addr", ",", "(", "(", "List_Type", ")", "jcasType", ")", ".", "casFeatCode_itemList", ")", ")", ")", ";", "}" ]
getter for itemList - gets contains items of the level 1. The items of the level 1 could contain further items of next level and so on in order to represent an iterative structure of list items. @generated @return value of the feature
[ "getter", "for", "itemList", "-", "gets", "contains", "items", "of", "the", "level", "1", ".", "The", "items", "of", "the", "level", "1", "could", "contain", "further", "items", "of", "next", "level", "and", "so", "on", "in", "order", "to", "represent", "an", "iterative", "structure", "of", "list", "items", "." ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/List.java#L86-L89
140,567
BlueBrain/bluima
modules/bluima_typesystem/src/main/java/de/julielab/jules/types/List.java
List.setItemList
public void setItemList(FSArray v) { if (List_Type.featOkTst && ((List_Type)jcasType).casFeat_itemList == null) jcasType.jcas.throwFeatMissing("itemList", "de.julielab.jules.types.List"); jcasType.ll_cas.ll_setRefValue(addr, ((List_Type)jcasType).casFeatCode_itemList, jcasType.ll_cas.ll_getFSRef(v));}
java
public void setItemList(FSArray v) { if (List_Type.featOkTst && ((List_Type)jcasType).casFeat_itemList == null) jcasType.jcas.throwFeatMissing("itemList", "de.julielab.jules.types.List"); jcasType.ll_cas.ll_setRefValue(addr, ((List_Type)jcasType).casFeatCode_itemList, jcasType.ll_cas.ll_getFSRef(v));}
[ "public", "void", "setItemList", "(", "FSArray", "v", ")", "{", "if", "(", "List_Type", ".", "featOkTst", "&&", "(", "(", "List_Type", ")", "jcasType", ")", ".", "casFeat_itemList", "==", "null", ")", "jcasType", ".", "jcas", ".", "throwFeatMissing", "(", "\"itemList\"", ",", "\"de.julielab.jules.types.List\"", ")", ";", "jcasType", ".", "ll_cas", ".", "ll_setRefValue", "(", "addr", ",", "(", "(", "List_Type", ")", "jcasType", ")", ".", "casFeatCode_itemList", ",", "jcasType", ".", "ll_cas", ".", "ll_getFSRef", "(", "v", ")", ")", ";", "}" ]
setter for itemList - sets contains items of the level 1. The items of the level 1 could contain further items of next level and so on in order to represent an iterative structure of list items. @generated @param v value to set into the feature
[ "setter", "for", "itemList", "-", "sets", "contains", "items", "of", "the", "level", "1", ".", "The", "items", "of", "the", "level", "1", "could", "contain", "further", "items", "of", "next", "level", "and", "so", "on", "in", "order", "to", "represent", "an", "iterative", "structure", "of", "list", "items", "." ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/List.java#L95-L98
140,568
BlueBrain/bluima
modules/bluima_typesystem/src/main/java/de/julielab/jules/types/List.java
List.getItemList
public ListItem getItemList(int i) { if (List_Type.featOkTst && ((List_Type)jcasType).casFeat_itemList == null) jcasType.jcas.throwFeatMissing("itemList", "de.julielab.jules.types.List"); jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((List_Type)jcasType).casFeatCode_itemList), i); return (ListItem)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((List_Type)jcasType).casFeatCode_itemList), i)));}
java
public ListItem getItemList(int i) { if (List_Type.featOkTst && ((List_Type)jcasType).casFeat_itemList == null) jcasType.jcas.throwFeatMissing("itemList", "de.julielab.jules.types.List"); jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((List_Type)jcasType).casFeatCode_itemList), i); return (ListItem)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((List_Type)jcasType).casFeatCode_itemList), i)));}
[ "public", "ListItem", "getItemList", "(", "int", "i", ")", "{", "if", "(", "List_Type", ".", "featOkTst", "&&", "(", "(", "List_Type", ")", "jcasType", ")", ".", "casFeat_itemList", "==", "null", ")", "jcasType", ".", "jcas", ".", "throwFeatMissing", "(", "\"itemList\"", ",", "\"de.julielab.jules.types.List\"", ")", ";", "jcasType", ".", "jcas", ".", "checkArrayBounds", "(", "jcasType", ".", "ll_cas", ".", "ll_getRefValue", "(", "addr", ",", "(", "(", "List_Type", ")", "jcasType", ")", ".", "casFeatCode_itemList", ")", ",", "i", ")", ";", "return", "(", "ListItem", ")", "(", "jcasType", ".", "ll_cas", ".", "ll_getFSForRef", "(", "jcasType", ".", "ll_cas", ".", "ll_getRefArrayValue", "(", "jcasType", ".", "ll_cas", ".", "ll_getRefValue", "(", "addr", ",", "(", "(", "List_Type", ")", "jcasType", ")", ".", "casFeatCode_itemList", ")", ",", "i", ")", ")", ")", ";", "}" ]
indexed getter for itemList - gets an indexed value - contains items of the level 1. The items of the level 1 could contain further items of next level and so on in order to represent an iterative structure of list items. @generated @param i index in the array to get @return value of the element at index i
[ "indexed", "getter", "for", "itemList", "-", "gets", "an", "indexed", "value", "-", "contains", "items", "of", "the", "level", "1", ".", "The", "items", "of", "the", "level", "1", "could", "contain", "further", "items", "of", "next", "level", "and", "so", "on", "in", "order", "to", "represent", "an", "iterative", "structure", "of", "list", "items", "." ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/List.java#L105-L109
140,569
BlueBrain/bluima
modules/bluima_typesystem/src/main/java/de/julielab/jules/types/List.java
List.setItemList
public void setItemList(int i, ListItem v) { if (List_Type.featOkTst && ((List_Type)jcasType).casFeat_itemList == null) jcasType.jcas.throwFeatMissing("itemList", "de.julielab.jules.types.List"); jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((List_Type)jcasType).casFeatCode_itemList), i); jcasType.ll_cas.ll_setRefArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((List_Type)jcasType).casFeatCode_itemList), i, jcasType.ll_cas.ll_getFSRef(v));}
java
public void setItemList(int i, ListItem v) { if (List_Type.featOkTst && ((List_Type)jcasType).casFeat_itemList == null) jcasType.jcas.throwFeatMissing("itemList", "de.julielab.jules.types.List"); jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((List_Type)jcasType).casFeatCode_itemList), i); jcasType.ll_cas.ll_setRefArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((List_Type)jcasType).casFeatCode_itemList), i, jcasType.ll_cas.ll_getFSRef(v));}
[ "public", "void", "setItemList", "(", "int", "i", ",", "ListItem", "v", ")", "{", "if", "(", "List_Type", ".", "featOkTst", "&&", "(", "(", "List_Type", ")", "jcasType", ")", ".", "casFeat_itemList", "==", "null", ")", "jcasType", ".", "jcas", ".", "throwFeatMissing", "(", "\"itemList\"", ",", "\"de.julielab.jules.types.List\"", ")", ";", "jcasType", ".", "jcas", ".", "checkArrayBounds", "(", "jcasType", ".", "ll_cas", ".", "ll_getRefValue", "(", "addr", ",", "(", "(", "List_Type", ")", "jcasType", ")", ".", "casFeatCode_itemList", ")", ",", "i", ")", ";", "jcasType", ".", "ll_cas", ".", "ll_setRefArrayValue", "(", "jcasType", ".", "ll_cas", ".", "ll_getRefValue", "(", "addr", ",", "(", "(", "List_Type", ")", "jcasType", ")", ".", "casFeatCode_itemList", ")", ",", "i", ",", "jcasType", ".", "ll_cas", ".", "ll_getFSRef", "(", "v", ")", ")", ";", "}" ]
indexed setter for itemList - sets an indexed value - contains items of the level 1. The items of the level 1 could contain further items of next level and so on in order to represent an iterative structure of list items. @generated @param i index in the array to set @param v value to set into the array
[ "indexed", "setter", "for", "itemList", "-", "sets", "an", "indexed", "value", "-", "contains", "items", "of", "the", "level", "1", ".", "The", "items", "of", "the", "level", "1", "could", "contain", "further", "items", "of", "next", "level", "and", "so", "on", "in", "order", "to", "represent", "an", "iterative", "structure", "of", "list", "items", "." ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/List.java#L116-L120
140,570
BlueBrain/bluima
modules/bluima_typesystem/src/main/java/de/julielab/jules/types/ace/Entity.java
Entity.setAce_subtype
public void setAce_subtype(String v) { if (Entity_Type.featOkTst && ((Entity_Type)jcasType).casFeat_ace_subtype == null) jcasType.jcas.throwFeatMissing("ace_subtype", "de.julielab.jules.types.ace.Entity"); jcasType.ll_cas.ll_setStringValue(addr, ((Entity_Type)jcasType).casFeatCode_ace_subtype, v);}
java
public void setAce_subtype(String v) { if (Entity_Type.featOkTst && ((Entity_Type)jcasType).casFeat_ace_subtype == null) jcasType.jcas.throwFeatMissing("ace_subtype", "de.julielab.jules.types.ace.Entity"); jcasType.ll_cas.ll_setStringValue(addr, ((Entity_Type)jcasType).casFeatCode_ace_subtype, v);}
[ "public", "void", "setAce_subtype", "(", "String", "v", ")", "{", "if", "(", "Entity_Type", ".", "featOkTst", "&&", "(", "(", "Entity_Type", ")", "jcasType", ")", ".", "casFeat_ace_subtype", "==", "null", ")", "jcasType", ".", "jcas", ".", "throwFeatMissing", "(", "\"ace_subtype\"", ",", "\"de.julielab.jules.types.ace.Entity\"", ")", ";", "jcasType", ".", "ll_cas", ".", "ll_setStringValue", "(", "addr", ",", "(", "(", "Entity_Type", ")", "jcasType", ")", ".", "casFeatCode_ace_subtype", ",", "v", ")", ";", "}" ]
setter for ace_subtype - sets @generated @param v value to set into the feature
[ "setter", "for", "ace_subtype", "-", "sets" ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/ace/Entity.java#L117-L120
140,571
BlueBrain/bluima
modules/bluima_typesystem/src/main/java/de/julielab/jules/types/ace/Entity.java
Entity.getAce_class
public String getAce_class() { if (Entity_Type.featOkTst && ((Entity_Type)jcasType).casFeat_ace_class == null) jcasType.jcas.throwFeatMissing("ace_class", "de.julielab.jules.types.ace.Entity"); return jcasType.ll_cas.ll_getStringValue(addr, ((Entity_Type)jcasType).casFeatCode_ace_class);}
java
public String getAce_class() { if (Entity_Type.featOkTst && ((Entity_Type)jcasType).casFeat_ace_class == null) jcasType.jcas.throwFeatMissing("ace_class", "de.julielab.jules.types.ace.Entity"); return jcasType.ll_cas.ll_getStringValue(addr, ((Entity_Type)jcasType).casFeatCode_ace_class);}
[ "public", "String", "getAce_class", "(", ")", "{", "if", "(", "Entity_Type", ".", "featOkTst", "&&", "(", "(", "Entity_Type", ")", "jcasType", ")", ".", "casFeat_ace_class", "==", "null", ")", "jcasType", ".", "jcas", ".", "throwFeatMissing", "(", "\"ace_class\"", ",", "\"de.julielab.jules.types.ace.Entity\"", ")", ";", "return", "jcasType", ".", "ll_cas", ".", "ll_getStringValue", "(", "addr", ",", "(", "(", "Entity_Type", ")", "jcasType", ")", ".", "casFeatCode_ace_class", ")", ";", "}" ]
getter for ace_class - gets @generated @return value of the feature
[ "getter", "for", "ace_class", "-", "gets" ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/ace/Entity.java#L130-L133
140,572
BlueBrain/bluima
modules/bluima_typesystem/src/main/java/de/julielab/jules/types/ace/Entity.java
Entity.setAce_class
public void setAce_class(String v) { if (Entity_Type.featOkTst && ((Entity_Type)jcasType).casFeat_ace_class == null) jcasType.jcas.throwFeatMissing("ace_class", "de.julielab.jules.types.ace.Entity"); jcasType.ll_cas.ll_setStringValue(addr, ((Entity_Type)jcasType).casFeatCode_ace_class, v);}
java
public void setAce_class(String v) { if (Entity_Type.featOkTst && ((Entity_Type)jcasType).casFeat_ace_class == null) jcasType.jcas.throwFeatMissing("ace_class", "de.julielab.jules.types.ace.Entity"); jcasType.ll_cas.ll_setStringValue(addr, ((Entity_Type)jcasType).casFeatCode_ace_class, v);}
[ "public", "void", "setAce_class", "(", "String", "v", ")", "{", "if", "(", "Entity_Type", ".", "featOkTst", "&&", "(", "(", "Entity_Type", ")", "jcasType", ")", ".", "casFeat_ace_class", "==", "null", ")", "jcasType", ".", "jcas", ".", "throwFeatMissing", "(", "\"ace_class\"", ",", "\"de.julielab.jules.types.ace.Entity\"", ")", ";", "jcasType", ".", "ll_cas", ".", "ll_setStringValue", "(", "addr", ",", "(", "(", "Entity_Type", ")", "jcasType", ")", ".", "casFeatCode_ace_class", ",", "v", ")", ";", "}" ]
setter for ace_class - sets @generated @param v value to set into the feature
[ "setter", "for", "ace_class", "-", "sets" ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/ace/Entity.java#L139-L142
140,573
BlueBrain/bluima
modules/bluima_typesystem/src/main/java/de/julielab/jules/types/ace/Entity.java
Entity.getEntity_mentions
public FSArray getEntity_mentions() { if (Entity_Type.featOkTst && ((Entity_Type)jcasType).casFeat_entity_mentions == null) jcasType.jcas.throwFeatMissing("entity_mentions", "de.julielab.jules.types.ace.Entity"); return (FSArray)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((Entity_Type)jcasType).casFeatCode_entity_mentions)));}
java
public FSArray getEntity_mentions() { if (Entity_Type.featOkTst && ((Entity_Type)jcasType).casFeat_entity_mentions == null) jcasType.jcas.throwFeatMissing("entity_mentions", "de.julielab.jules.types.ace.Entity"); return (FSArray)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((Entity_Type)jcasType).casFeatCode_entity_mentions)));}
[ "public", "FSArray", "getEntity_mentions", "(", ")", "{", "if", "(", "Entity_Type", ".", "featOkTst", "&&", "(", "(", "Entity_Type", ")", "jcasType", ")", ".", "casFeat_entity_mentions", "==", "null", ")", "jcasType", ".", "jcas", ".", "throwFeatMissing", "(", "\"entity_mentions\"", ",", "\"de.julielab.jules.types.ace.Entity\"", ")", ";", "return", "(", "FSArray", ")", "(", "jcasType", ".", "ll_cas", ".", "ll_getFSForRef", "(", "jcasType", ".", "ll_cas", ".", "ll_getRefValue", "(", "addr", ",", "(", "(", "Entity_Type", ")", "jcasType", ")", ".", "casFeatCode_entity_mentions", ")", ")", ")", ";", "}" ]
getter for entity_mentions - gets @generated @return value of the feature
[ "getter", "for", "entity_mentions", "-", "gets" ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/ace/Entity.java#L152-L155
140,574
BlueBrain/bluima
modules/bluima_typesystem/src/main/java/de/julielab/jules/types/ace/Entity.java
Entity.setEntity_mentions
public void setEntity_mentions(FSArray v) { if (Entity_Type.featOkTst && ((Entity_Type)jcasType).casFeat_entity_mentions == null) jcasType.jcas.throwFeatMissing("entity_mentions", "de.julielab.jules.types.ace.Entity"); jcasType.ll_cas.ll_setRefValue(addr, ((Entity_Type)jcasType).casFeatCode_entity_mentions, jcasType.ll_cas.ll_getFSRef(v));}
java
public void setEntity_mentions(FSArray v) { if (Entity_Type.featOkTst && ((Entity_Type)jcasType).casFeat_entity_mentions == null) jcasType.jcas.throwFeatMissing("entity_mentions", "de.julielab.jules.types.ace.Entity"); jcasType.ll_cas.ll_setRefValue(addr, ((Entity_Type)jcasType).casFeatCode_entity_mentions, jcasType.ll_cas.ll_getFSRef(v));}
[ "public", "void", "setEntity_mentions", "(", "FSArray", "v", ")", "{", "if", "(", "Entity_Type", ".", "featOkTst", "&&", "(", "(", "Entity_Type", ")", "jcasType", ")", ".", "casFeat_entity_mentions", "==", "null", ")", "jcasType", ".", "jcas", ".", "throwFeatMissing", "(", "\"entity_mentions\"", ",", "\"de.julielab.jules.types.ace.Entity\"", ")", ";", "jcasType", ".", "ll_cas", ".", "ll_setRefValue", "(", "addr", ",", "(", "(", "Entity_Type", ")", "jcasType", ")", ".", "casFeatCode_entity_mentions", ",", "jcasType", ".", "ll_cas", ".", "ll_getFSRef", "(", "v", ")", ")", ";", "}" ]
setter for entity_mentions - sets @generated @param v value to set into the feature
[ "setter", "for", "entity_mentions", "-", "sets" ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/ace/Entity.java#L161-L164
140,575
BlueBrain/bluima
modules/bluima_typesystem/src/main/java/de/julielab/jules/types/ace/Entity.java
Entity.getEntity_mentions
public EntityMention getEntity_mentions(int i) { if (Entity_Type.featOkTst && ((Entity_Type)jcasType).casFeat_entity_mentions == null) jcasType.jcas.throwFeatMissing("entity_mentions", "de.julielab.jules.types.ace.Entity"); jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((Entity_Type)jcasType).casFeatCode_entity_mentions), i); return (EntityMention)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((Entity_Type)jcasType).casFeatCode_entity_mentions), i)));}
java
public EntityMention getEntity_mentions(int i) { if (Entity_Type.featOkTst && ((Entity_Type)jcasType).casFeat_entity_mentions == null) jcasType.jcas.throwFeatMissing("entity_mentions", "de.julielab.jules.types.ace.Entity"); jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((Entity_Type)jcasType).casFeatCode_entity_mentions), i); return (EntityMention)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((Entity_Type)jcasType).casFeatCode_entity_mentions), i)));}
[ "public", "EntityMention", "getEntity_mentions", "(", "int", "i", ")", "{", "if", "(", "Entity_Type", ".", "featOkTst", "&&", "(", "(", "Entity_Type", ")", "jcasType", ")", ".", "casFeat_entity_mentions", "==", "null", ")", "jcasType", ".", "jcas", ".", "throwFeatMissing", "(", "\"entity_mentions\"", ",", "\"de.julielab.jules.types.ace.Entity\"", ")", ";", "jcasType", ".", "jcas", ".", "checkArrayBounds", "(", "jcasType", ".", "ll_cas", ".", "ll_getRefValue", "(", "addr", ",", "(", "(", "Entity_Type", ")", "jcasType", ")", ".", "casFeatCode_entity_mentions", ")", ",", "i", ")", ";", "return", "(", "EntityMention", ")", "(", "jcasType", ".", "ll_cas", ".", "ll_getFSForRef", "(", "jcasType", ".", "ll_cas", ".", "ll_getRefArrayValue", "(", "jcasType", ".", "ll_cas", ".", "ll_getRefValue", "(", "addr", ",", "(", "(", "Entity_Type", ")", "jcasType", ")", ".", "casFeatCode_entity_mentions", ")", ",", "i", ")", ")", ")", ";", "}" ]
indexed getter for entity_mentions - gets an indexed value - @generated @param i index in the array to get @return value of the element at index i
[ "indexed", "getter", "for", "entity_mentions", "-", "gets", "an", "indexed", "value", "-" ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/ace/Entity.java#L171-L175
140,576
BlueBrain/bluima
modules/bluima_typesystem/src/main/java/de/julielab/jules/types/ace/Entity.java
Entity.setEntity_mentions
public void setEntity_mentions(int i, EntityMention v) { if (Entity_Type.featOkTst && ((Entity_Type)jcasType).casFeat_entity_mentions == null) jcasType.jcas.throwFeatMissing("entity_mentions", "de.julielab.jules.types.ace.Entity"); jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((Entity_Type)jcasType).casFeatCode_entity_mentions), i); jcasType.ll_cas.ll_setRefArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((Entity_Type)jcasType).casFeatCode_entity_mentions), i, jcasType.ll_cas.ll_getFSRef(v));}
java
public void setEntity_mentions(int i, EntityMention v) { if (Entity_Type.featOkTst && ((Entity_Type)jcasType).casFeat_entity_mentions == null) jcasType.jcas.throwFeatMissing("entity_mentions", "de.julielab.jules.types.ace.Entity"); jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((Entity_Type)jcasType).casFeatCode_entity_mentions), i); jcasType.ll_cas.ll_setRefArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((Entity_Type)jcasType).casFeatCode_entity_mentions), i, jcasType.ll_cas.ll_getFSRef(v));}
[ "public", "void", "setEntity_mentions", "(", "int", "i", ",", "EntityMention", "v", ")", "{", "if", "(", "Entity_Type", ".", "featOkTst", "&&", "(", "(", "Entity_Type", ")", "jcasType", ")", ".", "casFeat_entity_mentions", "==", "null", ")", "jcasType", ".", "jcas", ".", "throwFeatMissing", "(", "\"entity_mentions\"", ",", "\"de.julielab.jules.types.ace.Entity\"", ")", ";", "jcasType", ".", "jcas", ".", "checkArrayBounds", "(", "jcasType", ".", "ll_cas", ".", "ll_getRefValue", "(", "addr", ",", "(", "(", "Entity_Type", ")", "jcasType", ")", ".", "casFeatCode_entity_mentions", ")", ",", "i", ")", ";", "jcasType", ".", "ll_cas", ".", "ll_setRefArrayValue", "(", "jcasType", ".", "ll_cas", ".", "ll_getRefValue", "(", "addr", ",", "(", "(", "Entity_Type", ")", "jcasType", ")", ".", "casFeatCode_entity_mentions", ")", ",", "i", ",", "jcasType", ".", "ll_cas", ".", "ll_getFSRef", "(", "v", ")", ")", ";", "}" ]
indexed setter for entity_mentions - sets an indexed value - @generated @param i index in the array to set @param v value to set into the array
[ "indexed", "setter", "for", "entity_mentions", "-", "sets", "an", "indexed", "value", "-" ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/ace/Entity.java#L182-L186
140,577
BlueBrain/bluima
modules/bluima_typesystem/src/main/java/de/julielab/jules/types/ace/Entity.java
Entity.getEntity_attributes
public FSArray getEntity_attributes() { if (Entity_Type.featOkTst && ((Entity_Type)jcasType).casFeat_entity_attributes == null) jcasType.jcas.throwFeatMissing("entity_attributes", "de.julielab.jules.types.ace.Entity"); return (FSArray)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((Entity_Type)jcasType).casFeatCode_entity_attributes)));}
java
public FSArray getEntity_attributes() { if (Entity_Type.featOkTst && ((Entity_Type)jcasType).casFeat_entity_attributes == null) jcasType.jcas.throwFeatMissing("entity_attributes", "de.julielab.jules.types.ace.Entity"); return (FSArray)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((Entity_Type)jcasType).casFeatCode_entity_attributes)));}
[ "public", "FSArray", "getEntity_attributes", "(", ")", "{", "if", "(", "Entity_Type", ".", "featOkTst", "&&", "(", "(", "Entity_Type", ")", "jcasType", ")", ".", "casFeat_entity_attributes", "==", "null", ")", "jcasType", ".", "jcas", ".", "throwFeatMissing", "(", "\"entity_attributes\"", ",", "\"de.julielab.jules.types.ace.Entity\"", ")", ";", "return", "(", "FSArray", ")", "(", "jcasType", ".", "ll_cas", ".", "ll_getFSForRef", "(", "jcasType", ".", "ll_cas", ".", "ll_getRefValue", "(", "addr", ",", "(", "(", "Entity_Type", ")", "jcasType", ")", ".", "casFeatCode_entity_attributes", ")", ")", ")", ";", "}" ]
getter for entity_attributes - gets @generated @return value of the feature
[ "getter", "for", "entity_attributes", "-", "gets" ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/ace/Entity.java#L196-L199
140,578
BlueBrain/bluima
modules/bluima_typesystem/src/main/java/de/julielab/jules/types/ace/Entity.java
Entity.setEntity_attributes
public void setEntity_attributes(FSArray v) { if (Entity_Type.featOkTst && ((Entity_Type)jcasType).casFeat_entity_attributes == null) jcasType.jcas.throwFeatMissing("entity_attributes", "de.julielab.jules.types.ace.Entity"); jcasType.ll_cas.ll_setRefValue(addr, ((Entity_Type)jcasType).casFeatCode_entity_attributes, jcasType.ll_cas.ll_getFSRef(v));}
java
public void setEntity_attributes(FSArray v) { if (Entity_Type.featOkTst && ((Entity_Type)jcasType).casFeat_entity_attributes == null) jcasType.jcas.throwFeatMissing("entity_attributes", "de.julielab.jules.types.ace.Entity"); jcasType.ll_cas.ll_setRefValue(addr, ((Entity_Type)jcasType).casFeatCode_entity_attributes, jcasType.ll_cas.ll_getFSRef(v));}
[ "public", "void", "setEntity_attributes", "(", "FSArray", "v", ")", "{", "if", "(", "Entity_Type", ".", "featOkTst", "&&", "(", "(", "Entity_Type", ")", "jcasType", ")", ".", "casFeat_entity_attributes", "==", "null", ")", "jcasType", ".", "jcas", ".", "throwFeatMissing", "(", "\"entity_attributes\"", ",", "\"de.julielab.jules.types.ace.Entity\"", ")", ";", "jcasType", ".", "ll_cas", ".", "ll_setRefValue", "(", "addr", ",", "(", "(", "Entity_Type", ")", "jcasType", ")", ".", "casFeatCode_entity_attributes", ",", "jcasType", ".", "ll_cas", ".", "ll_getFSRef", "(", "v", ")", ")", ";", "}" ]
setter for entity_attributes - sets @generated @param v value to set into the feature
[ "setter", "for", "entity_attributes", "-", "sets" ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/ace/Entity.java#L205-L208
140,579
BlueBrain/bluima
modules/bluima_typesystem/src/main/java/de/julielab/jules/types/ace/Entity.java
Entity.getEntity_attributes
public EntityAttribute getEntity_attributes(int i) { if (Entity_Type.featOkTst && ((Entity_Type)jcasType).casFeat_entity_attributes == null) jcasType.jcas.throwFeatMissing("entity_attributes", "de.julielab.jules.types.ace.Entity"); jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((Entity_Type)jcasType).casFeatCode_entity_attributes), i); return (EntityAttribute)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((Entity_Type)jcasType).casFeatCode_entity_attributes), i)));}
java
public EntityAttribute getEntity_attributes(int i) { if (Entity_Type.featOkTst && ((Entity_Type)jcasType).casFeat_entity_attributes == null) jcasType.jcas.throwFeatMissing("entity_attributes", "de.julielab.jules.types.ace.Entity"); jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((Entity_Type)jcasType).casFeatCode_entity_attributes), i); return (EntityAttribute)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((Entity_Type)jcasType).casFeatCode_entity_attributes), i)));}
[ "public", "EntityAttribute", "getEntity_attributes", "(", "int", "i", ")", "{", "if", "(", "Entity_Type", ".", "featOkTst", "&&", "(", "(", "Entity_Type", ")", "jcasType", ")", ".", "casFeat_entity_attributes", "==", "null", ")", "jcasType", ".", "jcas", ".", "throwFeatMissing", "(", "\"entity_attributes\"", ",", "\"de.julielab.jules.types.ace.Entity\"", ")", ";", "jcasType", ".", "jcas", ".", "checkArrayBounds", "(", "jcasType", ".", "ll_cas", ".", "ll_getRefValue", "(", "addr", ",", "(", "(", "Entity_Type", ")", "jcasType", ")", ".", "casFeatCode_entity_attributes", ")", ",", "i", ")", ";", "return", "(", "EntityAttribute", ")", "(", "jcasType", ".", "ll_cas", ".", "ll_getFSForRef", "(", "jcasType", ".", "ll_cas", ".", "ll_getRefArrayValue", "(", "jcasType", ".", "ll_cas", ".", "ll_getRefValue", "(", "addr", ",", "(", "(", "Entity_Type", ")", "jcasType", ")", ".", "casFeatCode_entity_attributes", ")", ",", "i", ")", ")", ")", ";", "}" ]
indexed getter for entity_attributes - gets an indexed value - @generated @param i index in the array to get @return value of the element at index i
[ "indexed", "getter", "for", "entity_attributes", "-", "gets", "an", "indexed", "value", "-" ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/ace/Entity.java#L215-L219
140,580
BlueBrain/bluima
modules/bluima_typesystem/src/main/java/de/julielab/jules/types/ace/Entity.java
Entity.setEntity_attributes
public void setEntity_attributes(int i, EntityAttribute v) { if (Entity_Type.featOkTst && ((Entity_Type)jcasType).casFeat_entity_attributes == null) jcasType.jcas.throwFeatMissing("entity_attributes", "de.julielab.jules.types.ace.Entity"); jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((Entity_Type)jcasType).casFeatCode_entity_attributes), i); jcasType.ll_cas.ll_setRefArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((Entity_Type)jcasType).casFeatCode_entity_attributes), i, jcasType.ll_cas.ll_getFSRef(v));}
java
public void setEntity_attributes(int i, EntityAttribute v) { if (Entity_Type.featOkTst && ((Entity_Type)jcasType).casFeat_entity_attributes == null) jcasType.jcas.throwFeatMissing("entity_attributes", "de.julielab.jules.types.ace.Entity"); jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((Entity_Type)jcasType).casFeatCode_entity_attributes), i); jcasType.ll_cas.ll_setRefArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((Entity_Type)jcasType).casFeatCode_entity_attributes), i, jcasType.ll_cas.ll_getFSRef(v));}
[ "public", "void", "setEntity_attributes", "(", "int", "i", ",", "EntityAttribute", "v", ")", "{", "if", "(", "Entity_Type", ".", "featOkTst", "&&", "(", "(", "Entity_Type", ")", "jcasType", ")", ".", "casFeat_entity_attributes", "==", "null", ")", "jcasType", ".", "jcas", ".", "throwFeatMissing", "(", "\"entity_attributes\"", ",", "\"de.julielab.jules.types.ace.Entity\"", ")", ";", "jcasType", ".", "jcas", ".", "checkArrayBounds", "(", "jcasType", ".", "ll_cas", ".", "ll_getRefValue", "(", "addr", ",", "(", "(", "Entity_Type", ")", "jcasType", ")", ".", "casFeatCode_entity_attributes", ")", ",", "i", ")", ";", "jcasType", ".", "ll_cas", ".", "ll_setRefArrayValue", "(", "jcasType", ".", "ll_cas", ".", "ll_getRefValue", "(", "addr", ",", "(", "(", "Entity_Type", ")", "jcasType", ")", ".", "casFeatCode_entity_attributes", ")", ",", "i", ",", "jcasType", ".", "ll_cas", ".", "ll_getFSRef", "(", "v", ")", ")", ";", "}" ]
indexed setter for entity_attributes - sets an indexed value - @generated @param i index in the array to set @param v value to set into the array
[ "indexed", "setter", "for", "entity_attributes", "-", "sets", "an", "indexed", "value", "-" ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/ace/Entity.java#L226-L230
140,581
BlueBrain/bluima
modules/bluima_typesystem/src/main/java/de/julielab/jules/types/wikipedia/Link.java
Link.getTarget
public String getTarget() { if (Link_Type.featOkTst && ((Link_Type)jcasType).casFeat_target == null) jcasType.jcas.throwFeatMissing("target", "de.julielab.jules.types.wikipedia.Link"); return jcasType.ll_cas.ll_getStringValue(addr, ((Link_Type)jcasType).casFeatCode_target);}
java
public String getTarget() { if (Link_Type.featOkTst && ((Link_Type)jcasType).casFeat_target == null) jcasType.jcas.throwFeatMissing("target", "de.julielab.jules.types.wikipedia.Link"); return jcasType.ll_cas.ll_getStringValue(addr, ((Link_Type)jcasType).casFeatCode_target);}
[ "public", "String", "getTarget", "(", ")", "{", "if", "(", "Link_Type", ".", "featOkTst", "&&", "(", "(", "Link_Type", ")", "jcasType", ")", ".", "casFeat_target", "==", "null", ")", "jcasType", ".", "jcas", ".", "throwFeatMissing", "(", "\"target\"", ",", "\"de.julielab.jules.types.wikipedia.Link\"", ")", ";", "return", "jcasType", ".", "ll_cas", ".", "ll_getStringValue", "(", "addr", ",", "(", "(", "Link_Type", ")", "jcasType", ")", ".", "casFeatCode_target", ")", ";", "}" ]
getter for target - gets Title of the Wikipedia page to which the link is pointing to. @generated @return value of the feature
[ "getter", "for", "target", "-", "gets", "Title", "of", "the", "Wikipedia", "page", "to", "which", "the", "link", "is", "pointing", "to", "." ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/wikipedia/Link.java#L86-L89
140,582
BlueBrain/bluima
modules/bluima_typesystem/src/main/java/de/julielab/jules/types/wikipedia/Link.java
Link.setTarget
public void setTarget(String v) { if (Link_Type.featOkTst && ((Link_Type)jcasType).casFeat_target == null) jcasType.jcas.throwFeatMissing("target", "de.julielab.jules.types.wikipedia.Link"); jcasType.ll_cas.ll_setStringValue(addr, ((Link_Type)jcasType).casFeatCode_target, v);}
java
public void setTarget(String v) { if (Link_Type.featOkTst && ((Link_Type)jcasType).casFeat_target == null) jcasType.jcas.throwFeatMissing("target", "de.julielab.jules.types.wikipedia.Link"); jcasType.ll_cas.ll_setStringValue(addr, ((Link_Type)jcasType).casFeatCode_target, v);}
[ "public", "void", "setTarget", "(", "String", "v", ")", "{", "if", "(", "Link_Type", ".", "featOkTst", "&&", "(", "(", "Link_Type", ")", "jcasType", ")", ".", "casFeat_target", "==", "null", ")", "jcasType", ".", "jcas", ".", "throwFeatMissing", "(", "\"target\"", ",", "\"de.julielab.jules.types.wikipedia.Link\"", ")", ";", "jcasType", ".", "ll_cas", ".", "ll_setStringValue", "(", "addr", ",", "(", "(", "Link_Type", ")", "jcasType", ")", ".", "casFeatCode_target", ",", "v", ")", ";", "}" ]
setter for target - sets Title of the Wikipedia page to which the link is pointing to. @generated @param v value to set into the feature
[ "setter", "for", "target", "-", "sets", "Title", "of", "the", "Wikipedia", "page", "to", "which", "the", "link", "is", "pointing", "to", "." ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/wikipedia/Link.java#L95-L98
140,583
BlueBrain/bluima
modules/bluima_bbp/src/main/java/ch/epfl/bbp/uima/ae/ExtractBrainregionsCoocurrences.java
ExtractBrainregionsCoocurrences.getLoadline
private String[] getLoadline( Pair<BrainRegionDictTerm, BrainRegionDictTerm> pair, int pmId) { BrainRegionDictTerm br1 = pair.getKey(); BrainRegionDictTerm br2 = pair.getValue(); return new String[] { pmId + "",// br1.getEntityId(), br1.getBegin() + "", br1.getEnd() + "", // br2.getEntityId(), br2.getBegin() + "", br2.getEnd() + "" }; }
java
private String[] getLoadline( Pair<BrainRegionDictTerm, BrainRegionDictTerm> pair, int pmId) { BrainRegionDictTerm br1 = pair.getKey(); BrainRegionDictTerm br2 = pair.getValue(); return new String[] { pmId + "",// br1.getEntityId(), br1.getBegin() + "", br1.getEnd() + "", // br2.getEntityId(), br2.getBegin() + "", br2.getEnd() + "" }; }
[ "private", "String", "[", "]", "getLoadline", "(", "Pair", "<", "BrainRegionDictTerm", ",", "BrainRegionDictTerm", ">", "pair", ",", "int", "pmId", ")", "{", "BrainRegionDictTerm", "br1", "=", "pair", ".", "getKey", "(", ")", ";", "BrainRegionDictTerm", "br2", "=", "pair", ".", "getValue", "(", ")", ";", "return", "new", "String", "[", "]", "{", "pmId", "+", "\"\"", ",", "//", "br1", ".", "getEntityId", "(", ")", ",", "br1", ".", "getBegin", "(", ")", "+", "\"\"", ",", "br1", ".", "getEnd", "(", ")", "+", "\"\"", ",", "//", "br2", ".", "getEntityId", "(", ")", ",", "br2", ".", "getBegin", "(", ")", "+", "\"\"", ",", "br2", ".", "getEnd", "(", ")", "+", "\"\"", "}", ";", "}" ]
`pubmed_id`,`region_1_id`,`region_1_start`,`region_1_end`,`region_2_id`,` region_2_start`,`region_2_end`
[ "pubmed_id", "region_1_id", "region_1_start", "region_1_end", "region_2_id", "region_2_start", "region_2_end" ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_bbp/src/main/java/ch/epfl/bbp/uima/ae/ExtractBrainregionsCoocurrences.java#L135-L144
140,584
BlueBrain/bluima
modules/bluima_typesystem/src/main/java/neuroner/NeuroNER/NeurotransmitterProp.java
NeurotransmitterProp.setOntologyId
public void setOntologyId(String v) { if (NeurotransmitterProp_Type.featOkTst && ((NeurotransmitterProp_Type)jcasType).casFeat_ontologyId == null) jcasType.jcas.throwFeatMissing("ontologyId", "neuroner.NeuroNER.NeurotransmitterProp"); jcasType.ll_cas.ll_setStringValue(addr, ((NeurotransmitterProp_Type)jcasType).casFeatCode_ontologyId, v);}
java
public void setOntologyId(String v) { if (NeurotransmitterProp_Type.featOkTst && ((NeurotransmitterProp_Type)jcasType).casFeat_ontologyId == null) jcasType.jcas.throwFeatMissing("ontologyId", "neuroner.NeuroNER.NeurotransmitterProp"); jcasType.ll_cas.ll_setStringValue(addr, ((NeurotransmitterProp_Type)jcasType).casFeatCode_ontologyId, v);}
[ "public", "void", "setOntologyId", "(", "String", "v", ")", "{", "if", "(", "NeurotransmitterProp_Type", ".", "featOkTst", "&&", "(", "(", "NeurotransmitterProp_Type", ")", "jcasType", ")", ".", "casFeat_ontologyId", "==", "null", ")", "jcasType", ".", "jcas", ".", "throwFeatMissing", "(", "\"ontologyId\"", ",", "\"neuroner.NeuroNER.NeurotransmitterProp\"", ")", ";", "jcasType", ".", "ll_cas", ".", "ll_setStringValue", "(", "addr", ",", "(", "(", "NeurotransmitterProp_Type", ")", "jcasType", ")", ".", "casFeatCode_ontologyId", ",", "v", ")", ";", "}" ]
setter for ontologyId - sets ontologyId @generated @param v value to set into the feature
[ "setter", "for", "ontologyId", "-", "sets", "ontologyId" ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/neuroner/NeuroNER/NeurotransmitterProp.java#L114-L117
140,585
BlueBrain/bluima
modules/bluima_opennlp/src/main/java/ch/epfl/bbp/shaded/opennlp/tools/tokenize/TokenizerME.java
TokenizerME.tokenizePos
public Span[] tokenizePos(String d) { Span[] tokens = split(d); newTokens.clear(); tokProbs.clear(); for (int i = 0, il = tokens.length; i < il; i++) { Span s = tokens[i]; String tok = d.substring(s.getStart(), s.getEnd()); // Can't tokenize single characters if (tok.length() < 2) { newTokens.add(s); tokProbs.add(ONE); } else if (useAlphaNumericOptimization() && alphaNumeric.matcher(tok).matches()) { newTokens.add(s); tokProbs.add(ONE); } else { int start = s.getStart(); int end = s.getEnd(); final int origStart = s.getStart(); double tokenProb = 1.0; for (int j = origStart + 1; j < end; j++) { double[] probs = model.eval(cg.getContext(new ObjectIntPair(tok, j - origStart))); String best = model.getBestOutcome(probs); //System.err.println("TokenizerME: "+tok.substring(0,j-origStart)+"^"+tok.substring(j-origStart)+" "+best+" "+probs[model.getIndex(best)]); tokenProb *= probs[model.getIndex(best)]; if (best.equals(TokContextGenerator.SPLIT)) { newTokens.add(new Span(start, j)); tokProbs.add(new Double(tokenProb)); start = j; tokenProb = 1.0; } } newTokens.add(new Span(start, end)); tokProbs.add(new Double(tokenProb)); } } Span[] spans = new Span[newTokens.size()]; newTokens.toArray(spans); return spans; }
java
public Span[] tokenizePos(String d) { Span[] tokens = split(d); newTokens.clear(); tokProbs.clear(); for (int i = 0, il = tokens.length; i < il; i++) { Span s = tokens[i]; String tok = d.substring(s.getStart(), s.getEnd()); // Can't tokenize single characters if (tok.length() < 2) { newTokens.add(s); tokProbs.add(ONE); } else if (useAlphaNumericOptimization() && alphaNumeric.matcher(tok).matches()) { newTokens.add(s); tokProbs.add(ONE); } else { int start = s.getStart(); int end = s.getEnd(); final int origStart = s.getStart(); double tokenProb = 1.0; for (int j = origStart + 1; j < end; j++) { double[] probs = model.eval(cg.getContext(new ObjectIntPair(tok, j - origStart))); String best = model.getBestOutcome(probs); //System.err.println("TokenizerME: "+tok.substring(0,j-origStart)+"^"+tok.substring(j-origStart)+" "+best+" "+probs[model.getIndex(best)]); tokenProb *= probs[model.getIndex(best)]; if (best.equals(TokContextGenerator.SPLIT)) { newTokens.add(new Span(start, j)); tokProbs.add(new Double(tokenProb)); start = j; tokenProb = 1.0; } } newTokens.add(new Span(start, end)); tokProbs.add(new Double(tokenProb)); } } Span[] spans = new Span[newTokens.size()]; newTokens.toArray(spans); return spans; }
[ "public", "Span", "[", "]", "tokenizePos", "(", "String", "d", ")", "{", "Span", "[", "]", "tokens", "=", "split", "(", "d", ")", ";", "newTokens", ".", "clear", "(", ")", ";", "tokProbs", ".", "clear", "(", ")", ";", "for", "(", "int", "i", "=", "0", ",", "il", "=", "tokens", ".", "length", ";", "i", "<", "il", ";", "i", "++", ")", "{", "Span", "s", "=", "tokens", "[", "i", "]", ";", "String", "tok", "=", "d", ".", "substring", "(", "s", ".", "getStart", "(", ")", ",", "s", ".", "getEnd", "(", ")", ")", ";", "// Can't tokenize single characters", "if", "(", "tok", ".", "length", "(", ")", "<", "2", ")", "{", "newTokens", ".", "add", "(", "s", ")", ";", "tokProbs", ".", "add", "(", "ONE", ")", ";", "}", "else", "if", "(", "useAlphaNumericOptimization", "(", ")", "&&", "alphaNumeric", ".", "matcher", "(", "tok", ")", ".", "matches", "(", ")", ")", "{", "newTokens", ".", "add", "(", "s", ")", ";", "tokProbs", ".", "add", "(", "ONE", ")", ";", "}", "else", "{", "int", "start", "=", "s", ".", "getStart", "(", ")", ";", "int", "end", "=", "s", ".", "getEnd", "(", ")", ";", "final", "int", "origStart", "=", "s", ".", "getStart", "(", ")", ";", "double", "tokenProb", "=", "1.0", ";", "for", "(", "int", "j", "=", "origStart", "+", "1", ";", "j", "<", "end", ";", "j", "++", ")", "{", "double", "[", "]", "probs", "=", "model", ".", "eval", "(", "cg", ".", "getContext", "(", "new", "ObjectIntPair", "(", "tok", ",", "j", "-", "origStart", ")", ")", ")", ";", "String", "best", "=", "model", ".", "getBestOutcome", "(", "probs", ")", ";", "//System.err.println(\"TokenizerME: \"+tok.substring(0,j-origStart)+\"^\"+tok.substring(j-origStart)+\" \"+best+\" \"+probs[model.getIndex(best)]);", "tokenProb", "*=", "probs", "[", "model", ".", "getIndex", "(", "best", ")", "]", ";", "if", "(", "best", ".", "equals", "(", "TokContextGenerator", ".", "SPLIT", ")", ")", "{", "newTokens", ".", "add", "(", "new", "Span", "(", "start", ",", "j", ")", ")", ";", "tokProbs", ".", "add", "(", "new", "Double", "(", "tokenProb", ")", ")", ";", "start", "=", "j", ";", "tokenProb", "=", "1.0", ";", "}", "}", "newTokens", ".", "add", "(", "new", "Span", "(", "start", ",", "end", ")", ")", ";", "tokProbs", ".", "add", "(", "new", "Double", "(", "tokenProb", ")", ")", ";", "}", "}", "Span", "[", "]", "spans", "=", "new", "Span", "[", "newTokens", ".", "size", "(", ")", "]", ";", "newTokens", ".", "toArray", "(", "spans", ")", ";", "return", "spans", ";", "}" ]
Tokenizes the string. @param d The string to be tokenized. @return A span array containing individual tokens as elements.
[ "Tokenizes", "the", "string", "." ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_opennlp/src/main/java/ch/epfl/bbp/shaded/opennlp/tools/tokenize/TokenizerME.java#L108-L150
140,586
BlueBrain/bluima
modules/bluima_opennlp/src/main/java/ch/epfl/bbp/shaded/opennlp/tools/tokenize/TokenizerME.java
TokenizerME.tokenize
public String[] tokenize(String s) { Span[] spans = tokenizePos(s); String[] toks = new String[spans.length]; for (int ti = 0, tl = toks.length; ti < tl; ti++) { toks[ti] = s.substring(spans[ti].getStart(), spans[ti].getEnd()); } return toks; }
java
public String[] tokenize(String s) { Span[] spans = tokenizePos(s); String[] toks = new String[spans.length]; for (int ti = 0, tl = toks.length; ti < tl; ti++) { toks[ti] = s.substring(spans[ti].getStart(), spans[ti].getEnd()); } return toks; }
[ "public", "String", "[", "]", "tokenize", "(", "String", "s", ")", "{", "Span", "[", "]", "spans", "=", "tokenizePos", "(", "s", ")", ";", "String", "[", "]", "toks", "=", "new", "String", "[", "spans", ".", "length", "]", ";", "for", "(", "int", "ti", "=", "0", ",", "tl", "=", "toks", ".", "length", ";", "ti", "<", "tl", ";", "ti", "++", ")", "{", "toks", "[", "ti", "]", "=", "s", ".", "substring", "(", "spans", "[", "ti", "]", ".", "getStart", "(", ")", ",", "spans", "[", "ti", "]", ".", "getEnd", "(", ")", ")", ";", "}", "return", "toks", ";", "}" ]
Tokenize a String. @param s The string to be tokenized. @return A string array containing individual tokens as elements.
[ "Tokenize", "a", "String", "." ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_opennlp/src/main/java/ch/epfl/bbp/shaded/opennlp/tools/tokenize/TokenizerME.java#L159-L166
140,587
BlueBrain/bluima
modules/bluima_banner/src/main/java/banner/Sentence.java
Sentence.getMention
private Mention getMention(int tokenIndex) { Mention mention = null; for (Mention mention2 : mentions) { if (mention2.contains(tokenIndex)) if (mention == null) mention = mention2; else throw new IllegalArgumentException(); } return mention; }
java
private Mention getMention(int tokenIndex) { Mention mention = null; for (Mention mention2 : mentions) { if (mention2.contains(tokenIndex)) if (mention == null) mention = mention2; else throw new IllegalArgumentException(); } return mention; }
[ "private", "Mention", "getMention", "(", "int", "tokenIndex", ")", "{", "Mention", "mention", "=", "null", ";", "for", "(", "Mention", "mention2", ":", "mentions", ")", "{", "if", "(", "mention2", ".", "contains", "(", "tokenIndex", ")", ")", "if", "(", "mention", "==", "null", ")", "mention", "=", "mention2", ";", "else", "throw", "new", "IllegalArgumentException", "(", ")", ";", "}", "return", "mention", ";", "}" ]
Assumes that each token is tagged either 0 or 1 times
[ "Assumes", "that", "each", "token", "is", "tagged", "either", "0", "or", "1", "times" ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_banner/src/main/java/banner/Sentence.java#L339-L351
140,588
BlueBrain/bluima
modules/bluima_opennlp/src/main/java/ch/epfl/bbp/shaded/opennlp/tools/tokenize/TokContextGenerator.java
TokContextGenerator.getContext
public String[] getContext(Object o) { String sb = (String)((ObjectIntPair)o).a; int id = ((ObjectIntPair)o).b; List preds = new ArrayList(); preds.add("p="+sb.substring(0,id)); preds.add("s="+sb.substring(id)); if (id>0) { addCharPreds("p1", sb.charAt(id-1), preds); if (id>1) { addCharPreds("p2", sb.charAt(id-2), preds); preds.add("p21="+sb.charAt(id-2)+sb.charAt(id-1)); } else { preds.add("p2=bok"); } preds.add("p1f1="+sb.charAt(id-1)+sb.charAt(id)); } else { preds.add("p1=bok"); } addCharPreds("f1",sb.charAt(id), preds); if (id+1 < sb.length()) { addCharPreds("f2", sb.charAt(id+1), preds); preds.add("f12="+sb.charAt(id)+sb.charAt(id+1)); } else { preds.add("f2=bok"); } if (sb.charAt(0) == '&' && sb.charAt(sb.length()-1) == ';') { preds.add("cc");//character code } String[] context = new String[preds.size()]; preds.toArray(context); return context; }
java
public String[] getContext(Object o) { String sb = (String)((ObjectIntPair)o).a; int id = ((ObjectIntPair)o).b; List preds = new ArrayList(); preds.add("p="+sb.substring(0,id)); preds.add("s="+sb.substring(id)); if (id>0) { addCharPreds("p1", sb.charAt(id-1), preds); if (id>1) { addCharPreds("p2", sb.charAt(id-2), preds); preds.add("p21="+sb.charAt(id-2)+sb.charAt(id-1)); } else { preds.add("p2=bok"); } preds.add("p1f1="+sb.charAt(id-1)+sb.charAt(id)); } else { preds.add("p1=bok"); } addCharPreds("f1",sb.charAt(id), preds); if (id+1 < sb.length()) { addCharPreds("f2", sb.charAt(id+1), preds); preds.add("f12="+sb.charAt(id)+sb.charAt(id+1)); } else { preds.add("f2=bok"); } if (sb.charAt(0) == '&' && sb.charAt(sb.length()-1) == ';') { preds.add("cc");//character code } String[] context = new String[preds.size()]; preds.toArray(context); return context; }
[ "public", "String", "[", "]", "getContext", "(", "Object", "o", ")", "{", "String", "sb", "=", "(", "String", ")", "(", "(", "ObjectIntPair", ")", "o", ")", ".", "a", ";", "int", "id", "=", "(", "(", "ObjectIntPair", ")", "o", ")", ".", "b", ";", "List", "preds", "=", "new", "ArrayList", "(", ")", ";", "preds", ".", "add", "(", "\"p=\"", "+", "sb", ".", "substring", "(", "0", ",", "id", ")", ")", ";", "preds", ".", "add", "(", "\"s=\"", "+", "sb", ".", "substring", "(", "id", ")", ")", ";", "if", "(", "id", ">", "0", ")", "{", "addCharPreds", "(", "\"p1\"", ",", "sb", ".", "charAt", "(", "id", "-", "1", ")", ",", "preds", ")", ";", "if", "(", "id", ">", "1", ")", "{", "addCharPreds", "(", "\"p2\"", ",", "sb", ".", "charAt", "(", "id", "-", "2", ")", ",", "preds", ")", ";", "preds", ".", "add", "(", "\"p21=\"", "+", "sb", ".", "charAt", "(", "id", "-", "2", ")", "+", "sb", ".", "charAt", "(", "id", "-", "1", ")", ")", ";", "}", "else", "{", "preds", ".", "add", "(", "\"p2=bok\"", ")", ";", "}", "preds", ".", "add", "(", "\"p1f1=\"", "+", "sb", ".", "charAt", "(", "id", "-", "1", ")", "+", "sb", ".", "charAt", "(", "id", ")", ")", ";", "}", "else", "{", "preds", ".", "add", "(", "\"p1=bok\"", ")", ";", "}", "addCharPreds", "(", "\"f1\"", ",", "sb", ".", "charAt", "(", "id", ")", ",", "preds", ")", ";", "if", "(", "id", "+", "1", "<", "sb", ".", "length", "(", ")", ")", "{", "addCharPreds", "(", "\"f2\"", ",", "sb", ".", "charAt", "(", "id", "+", "1", ")", ",", "preds", ")", ";", "preds", ".", "add", "(", "\"f12=\"", "+", "sb", ".", "charAt", "(", "id", ")", "+", "sb", ".", "charAt", "(", "id", "+", "1", ")", ")", ";", "}", "else", "{", "preds", ".", "add", "(", "\"f2=bok\"", ")", ";", "}", "if", "(", "sb", ".", "charAt", "(", "0", ")", "==", "'", "'", "&&", "sb", ".", "charAt", "(", "sb", ".", "length", "(", ")", "-", "1", ")", "==", "'", "'", ")", "{", "preds", ".", "add", "(", "\"cc\"", ")", ";", "//character code", "}", "String", "[", "]", "context", "=", "new", "String", "[", "preds", ".", "size", "(", ")", "]", ";", "preds", ".", "toArray", "(", "context", ")", ";", "return", "context", ";", "}" ]
Builds up the list of features based on the information in the Object, which is a pair containing a String and and Integer which indicates the index of the position we are investigating.
[ "Builds", "up", "the", "list", "of", "features", "based", "on", "the", "information", "in", "the", "Object", "which", "is", "a", "pair", "containing", "a", "String", "and", "and", "Integer", "which", "indicates", "the", "index", "of", "the", "position", "we", "are", "investigating", "." ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_opennlp/src/main/java/ch/epfl/bbp/shaded/opennlp/tools/tokenize/TokContextGenerator.java#L46-L82
140,589
BlueBrain/bluima
modules/bluima_typesystem/src/main/java/de/julielab/jules/types/muc7/TIMEX.java
TIMEX.getMin
public String getMin() { if (TIMEX_Type.featOkTst && ((TIMEX_Type)jcasType).casFeat_min == null) jcasType.jcas.throwFeatMissing("min", "de.julielab.jules.types.muc7.TIMEX"); return jcasType.ll_cas.ll_getStringValue(addr, ((TIMEX_Type)jcasType).casFeatCode_min);}
java
public String getMin() { if (TIMEX_Type.featOkTst && ((TIMEX_Type)jcasType).casFeat_min == null) jcasType.jcas.throwFeatMissing("min", "de.julielab.jules.types.muc7.TIMEX"); return jcasType.ll_cas.ll_getStringValue(addr, ((TIMEX_Type)jcasType).casFeatCode_min);}
[ "public", "String", "getMin", "(", ")", "{", "if", "(", "TIMEX_Type", ".", "featOkTst", "&&", "(", "(", "TIMEX_Type", ")", "jcasType", ")", ".", "casFeat_min", "==", "null", ")", "jcasType", ".", "jcas", ".", "throwFeatMissing", "(", "\"min\"", ",", "\"de.julielab.jules.types.muc7.TIMEX\"", ")", ";", "return", "jcasType", ".", "ll_cas", ".", "ll_getStringValue", "(", "addr", ",", "(", "(", "TIMEX_Type", ")", "jcasType", ")", ".", "casFeatCode_min", ")", ";", "}" ]
getter for min - gets the minimal head of the named entity @generated @return value of the feature
[ "getter", "for", "min", "-", "gets", "the", "minimal", "head", "of", "the", "named", "entity" ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/muc7/TIMEX.java#L108-L111
140,590
BlueBrain/bluima
modules/bluima_utils/src/main/java/ch/epfl/bbp/uima/utils/ExtractAbbrev.java
ExtractAbbrev.extractAbbrPairs
public Map<String, String> extractAbbrPairs(String inputText, boolean isFileName) { if (isFileName) { return extractAbbrPairs(inputText); } StringReader sr = new StringReader(inputText); return extractAbbrPairs(sr); }
java
public Map<String, String> extractAbbrPairs(String inputText, boolean isFileName) { if (isFileName) { return extractAbbrPairs(inputText); } StringReader sr = new StringReader(inputText); return extractAbbrPairs(sr); }
[ "public", "Map", "<", "String", ",", "String", ">", "extractAbbrPairs", "(", "String", "inputText", ",", "boolean", "isFileName", ")", "{", "if", "(", "isFileName", ")", "{", "return", "extractAbbrPairs", "(", "inputText", ")", ";", "}", "StringReader", "sr", "=", "new", "StringReader", "(", "inputText", ")", ";", "return", "extractAbbrPairs", "(", "sr", ")", ";", "}" ]
Extract abbreviation pairs directly from input text. Method added by University of Colorado, Center for Computational Pharmacology, 08/19/08 @param inputText @return
[ "Extract", "abbreviation", "pairs", "directly", "from", "input", "text", "." ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_utils/src/main/java/ch/epfl/bbp/uima/utils/ExtractAbbrev.java#L136-L144
140,591
BlueBrain/bluima
modules/bluima_xml/src/main/java/ch/epfl/bbp/uima/xml/pubmed/Author.java
Author.getLastNameOrForeNameOrInitialsOrSuffixOrNameIDOrCollectiveName
public List<java.lang.Object> getLastNameOrForeNameOrInitialsOrSuffixOrNameIDOrCollectiveName() { if (lastNameOrForeNameOrInitialsOrSuffixOrNameIDOrCollectiveName == null) { lastNameOrForeNameOrInitialsOrSuffixOrNameIDOrCollectiveName = new ArrayList<java.lang.Object>(); } return this.lastNameOrForeNameOrInitialsOrSuffixOrNameIDOrCollectiveName; }
java
public List<java.lang.Object> getLastNameOrForeNameOrInitialsOrSuffixOrNameIDOrCollectiveName() { if (lastNameOrForeNameOrInitialsOrSuffixOrNameIDOrCollectiveName == null) { lastNameOrForeNameOrInitialsOrSuffixOrNameIDOrCollectiveName = new ArrayList<java.lang.Object>(); } return this.lastNameOrForeNameOrInitialsOrSuffixOrNameIDOrCollectiveName; }
[ "public", "List", "<", "java", ".", "lang", ".", "Object", ">", "getLastNameOrForeNameOrInitialsOrSuffixOrNameIDOrCollectiveName", "(", ")", "{", "if", "(", "lastNameOrForeNameOrInitialsOrSuffixOrNameIDOrCollectiveName", "==", "null", ")", "{", "lastNameOrForeNameOrInitialsOrSuffixOrNameIDOrCollectiveName", "=", "new", "ArrayList", "<", "java", ".", "lang", ".", "Object", ">", "(", ")", ";", "}", "return", "this", ".", "lastNameOrForeNameOrInitialsOrSuffixOrNameIDOrCollectiveName", ";", "}" ]
Gets the value of the lastNameOrForeNameOrInitialsOrSuffixOrNameIDOrCollectiveName property. <p> This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a <CODE>set</CODE> method for the lastNameOrForeNameOrInitialsOrSuffixOrNameIDOrCollectiveName property. <p> For example, to add a new item, do as follows: <pre> getLastNameOrForeNameOrInitialsOrSuffixOrNameIDOrCollectiveName().add(newItem); </pre> <p> Objects of the following type(s) are allowed in the list {@link LastName } {@link ForeName } {@link Initials } {@link Suffix } {@link NameID } {@link CollectiveName }
[ "Gets", "the", "value", "of", "the", "lastNameOrForeNameOrInitialsOrSuffixOrNameIDOrCollectiveName", "property", "." ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_xml/src/main/java/ch/epfl/bbp/uima/xml/pubmed/Author.java#L105-L110
140,592
BlueBrain/bluima
modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/CellTypeProteinConcentration.java
CellTypeProteinConcentration.getProtein
public Protein getProtein() { if (CellTypeProteinConcentration_Type.featOkTst && ((CellTypeProteinConcentration_Type)jcasType).casFeat_protein == null) jcasType.jcas.throwFeatMissing("protein", "ch.epfl.bbp.uima.types.CellTypeProteinConcentration"); return (Protein)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((CellTypeProteinConcentration_Type)jcasType).casFeatCode_protein)));}
java
public Protein getProtein() { if (CellTypeProteinConcentration_Type.featOkTst && ((CellTypeProteinConcentration_Type)jcasType).casFeat_protein == null) jcasType.jcas.throwFeatMissing("protein", "ch.epfl.bbp.uima.types.CellTypeProteinConcentration"); return (Protein)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((CellTypeProteinConcentration_Type)jcasType).casFeatCode_protein)));}
[ "public", "Protein", "getProtein", "(", ")", "{", "if", "(", "CellTypeProteinConcentration_Type", ".", "featOkTst", "&&", "(", "(", "CellTypeProteinConcentration_Type", ")", "jcasType", ")", ".", "casFeat_protein", "==", "null", ")", "jcasType", ".", "jcas", ".", "throwFeatMissing", "(", "\"protein\"", ",", "\"ch.epfl.bbp.uima.types.CellTypeProteinConcentration\"", ")", ";", "return", "(", "Protein", ")", "(", "jcasType", ".", "ll_cas", ".", "ll_getFSForRef", "(", "jcasType", ".", "ll_cas", ".", "ll_getRefValue", "(", "addr", ",", "(", "(", "CellTypeProteinConcentration_Type", ")", "jcasType", ")", ".", "casFeatCode_protein", ")", ")", ")", ";", "}" ]
getter for protein - gets @generated @return value of the feature
[ "getter", "for", "protein", "-", "gets" ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/CellTypeProteinConcentration.java#L86-L89
140,593
BlueBrain/bluima
modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/CellTypeProteinConcentration.java
CellTypeProteinConcentration.setProtein
public void setProtein(Protein v) { if (CellTypeProteinConcentration_Type.featOkTst && ((CellTypeProteinConcentration_Type)jcasType).casFeat_protein == null) jcasType.jcas.throwFeatMissing("protein", "ch.epfl.bbp.uima.types.CellTypeProteinConcentration"); jcasType.ll_cas.ll_setRefValue(addr, ((CellTypeProteinConcentration_Type)jcasType).casFeatCode_protein, jcasType.ll_cas.ll_getFSRef(v));}
java
public void setProtein(Protein v) { if (CellTypeProteinConcentration_Type.featOkTst && ((CellTypeProteinConcentration_Type)jcasType).casFeat_protein == null) jcasType.jcas.throwFeatMissing("protein", "ch.epfl.bbp.uima.types.CellTypeProteinConcentration"); jcasType.ll_cas.ll_setRefValue(addr, ((CellTypeProteinConcentration_Type)jcasType).casFeatCode_protein, jcasType.ll_cas.ll_getFSRef(v));}
[ "public", "void", "setProtein", "(", "Protein", "v", ")", "{", "if", "(", "CellTypeProteinConcentration_Type", ".", "featOkTst", "&&", "(", "(", "CellTypeProteinConcentration_Type", ")", "jcasType", ")", ".", "casFeat_protein", "==", "null", ")", "jcasType", ".", "jcas", ".", "throwFeatMissing", "(", "\"protein\"", ",", "\"ch.epfl.bbp.uima.types.CellTypeProteinConcentration\"", ")", ";", "jcasType", ".", "ll_cas", ".", "ll_setRefValue", "(", "addr", ",", "(", "(", "CellTypeProteinConcentration_Type", ")", "jcasType", ")", ".", "casFeatCode_protein", ",", "jcasType", ".", "ll_cas", ".", "ll_getFSRef", "(", "v", ")", ")", ";", "}" ]
setter for protein - sets @generated @param v value to set into the feature
[ "setter", "for", "protein", "-", "sets" ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/CellTypeProteinConcentration.java#L95-L98
140,594
BlueBrain/bluima
modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/CellTypeProteinConcentration.java
CellTypeProteinConcentration.getConcentration
public Concentration getConcentration() { if (CellTypeProteinConcentration_Type.featOkTst && ((CellTypeProteinConcentration_Type)jcasType).casFeat_concentration == null) jcasType.jcas.throwFeatMissing("concentration", "ch.epfl.bbp.uima.types.CellTypeProteinConcentration"); return (Concentration)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((CellTypeProteinConcentration_Type)jcasType).casFeatCode_concentration)));}
java
public Concentration getConcentration() { if (CellTypeProteinConcentration_Type.featOkTst && ((CellTypeProteinConcentration_Type)jcasType).casFeat_concentration == null) jcasType.jcas.throwFeatMissing("concentration", "ch.epfl.bbp.uima.types.CellTypeProteinConcentration"); return (Concentration)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((CellTypeProteinConcentration_Type)jcasType).casFeatCode_concentration)));}
[ "public", "Concentration", "getConcentration", "(", ")", "{", "if", "(", "CellTypeProteinConcentration_Type", ".", "featOkTst", "&&", "(", "(", "CellTypeProteinConcentration_Type", ")", "jcasType", ")", ".", "casFeat_concentration", "==", "null", ")", "jcasType", ".", "jcas", ".", "throwFeatMissing", "(", "\"concentration\"", ",", "\"ch.epfl.bbp.uima.types.CellTypeProteinConcentration\"", ")", ";", "return", "(", "Concentration", ")", "(", "jcasType", ".", "ll_cas", ".", "ll_getFSForRef", "(", "jcasType", ".", "ll_cas", ".", "ll_getRefValue", "(", "addr", ",", "(", "(", "CellTypeProteinConcentration_Type", ")", "jcasType", ")", ".", "casFeatCode_concentration", ")", ")", ")", ";", "}" ]
getter for concentration - gets @generated @return value of the feature
[ "getter", "for", "concentration", "-", "gets" ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/CellTypeProteinConcentration.java#L108-L111
140,595
BlueBrain/bluima
modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/CellTypeProteinConcentration.java
CellTypeProteinConcentration.setConcentration
public void setConcentration(Concentration v) { if (CellTypeProteinConcentration_Type.featOkTst && ((CellTypeProteinConcentration_Type)jcasType).casFeat_concentration == null) jcasType.jcas.throwFeatMissing("concentration", "ch.epfl.bbp.uima.types.CellTypeProteinConcentration"); jcasType.ll_cas.ll_setRefValue(addr, ((CellTypeProteinConcentration_Type)jcasType).casFeatCode_concentration, jcasType.ll_cas.ll_getFSRef(v));}
java
public void setConcentration(Concentration v) { if (CellTypeProteinConcentration_Type.featOkTst && ((CellTypeProteinConcentration_Type)jcasType).casFeat_concentration == null) jcasType.jcas.throwFeatMissing("concentration", "ch.epfl.bbp.uima.types.CellTypeProteinConcentration"); jcasType.ll_cas.ll_setRefValue(addr, ((CellTypeProteinConcentration_Type)jcasType).casFeatCode_concentration, jcasType.ll_cas.ll_getFSRef(v));}
[ "public", "void", "setConcentration", "(", "Concentration", "v", ")", "{", "if", "(", "CellTypeProteinConcentration_Type", ".", "featOkTst", "&&", "(", "(", "CellTypeProteinConcentration_Type", ")", "jcasType", ")", ".", "casFeat_concentration", "==", "null", ")", "jcasType", ".", "jcas", ".", "throwFeatMissing", "(", "\"concentration\"", ",", "\"ch.epfl.bbp.uima.types.CellTypeProteinConcentration\"", ")", ";", "jcasType", ".", "ll_cas", ".", "ll_setRefValue", "(", "addr", ",", "(", "(", "CellTypeProteinConcentration_Type", ")", "jcasType", ")", ".", "casFeatCode_concentration", ",", "jcasType", ".", "ll_cas", ".", "ll_getFSRef", "(", "v", ")", ")", ";", "}" ]
setter for concentration - sets @generated @param v value to set into the feature
[ "setter", "for", "concentration", "-", "sets" ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/CellTypeProteinConcentration.java#L117-L120
140,596
BlueBrain/bluima
modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/CellTypeProteinConcentration.java
CellTypeProteinConcentration.getCelltype
public CellType getCelltype() { if (CellTypeProteinConcentration_Type.featOkTst && ((CellTypeProteinConcentration_Type)jcasType).casFeat_celltype == null) jcasType.jcas.throwFeatMissing("celltype", "ch.epfl.bbp.uima.types.CellTypeProteinConcentration"); return (CellType)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((CellTypeProteinConcentration_Type)jcasType).casFeatCode_celltype)));}
java
public CellType getCelltype() { if (CellTypeProteinConcentration_Type.featOkTst && ((CellTypeProteinConcentration_Type)jcasType).casFeat_celltype == null) jcasType.jcas.throwFeatMissing("celltype", "ch.epfl.bbp.uima.types.CellTypeProteinConcentration"); return (CellType)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((CellTypeProteinConcentration_Type)jcasType).casFeatCode_celltype)));}
[ "public", "CellType", "getCelltype", "(", ")", "{", "if", "(", "CellTypeProteinConcentration_Type", ".", "featOkTst", "&&", "(", "(", "CellTypeProteinConcentration_Type", ")", "jcasType", ")", ".", "casFeat_celltype", "==", "null", ")", "jcasType", ".", "jcas", ".", "throwFeatMissing", "(", "\"celltype\"", ",", "\"ch.epfl.bbp.uima.types.CellTypeProteinConcentration\"", ")", ";", "return", "(", "CellType", ")", "(", "jcasType", ".", "ll_cas", ".", "ll_getFSForRef", "(", "jcasType", ".", "ll_cas", ".", "ll_getRefValue", "(", "addr", ",", "(", "(", "CellTypeProteinConcentration_Type", ")", "jcasType", ")", ".", "casFeatCode_celltype", ")", ")", ")", ";", "}" ]
getter for celltype - gets @generated @return value of the feature
[ "getter", "for", "celltype", "-", "gets" ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/CellTypeProteinConcentration.java#L130-L133
140,597
BlueBrain/bluima
modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/CellTypeProteinConcentration.java
CellTypeProteinConcentration.setCelltype
public void setCelltype(CellType v) { if (CellTypeProteinConcentration_Type.featOkTst && ((CellTypeProteinConcentration_Type)jcasType).casFeat_celltype == null) jcasType.jcas.throwFeatMissing("celltype", "ch.epfl.bbp.uima.types.CellTypeProteinConcentration"); jcasType.ll_cas.ll_setRefValue(addr, ((CellTypeProteinConcentration_Type)jcasType).casFeatCode_celltype, jcasType.ll_cas.ll_getFSRef(v));}
java
public void setCelltype(CellType v) { if (CellTypeProteinConcentration_Type.featOkTst && ((CellTypeProteinConcentration_Type)jcasType).casFeat_celltype == null) jcasType.jcas.throwFeatMissing("celltype", "ch.epfl.bbp.uima.types.CellTypeProteinConcentration"); jcasType.ll_cas.ll_setRefValue(addr, ((CellTypeProteinConcentration_Type)jcasType).casFeatCode_celltype, jcasType.ll_cas.ll_getFSRef(v));}
[ "public", "void", "setCelltype", "(", "CellType", "v", ")", "{", "if", "(", "CellTypeProteinConcentration_Type", ".", "featOkTst", "&&", "(", "(", "CellTypeProteinConcentration_Type", ")", "jcasType", ")", ".", "casFeat_celltype", "==", "null", ")", "jcasType", ".", "jcas", ".", "throwFeatMissing", "(", "\"celltype\"", ",", "\"ch.epfl.bbp.uima.types.CellTypeProteinConcentration\"", ")", ";", "jcasType", ".", "ll_cas", ".", "ll_setRefValue", "(", "addr", ",", "(", "(", "CellTypeProteinConcentration_Type", ")", "jcasType", ")", ".", "casFeatCode_celltype", ",", "jcasType", ".", "ll_cas", ".", "ll_getFSRef", "(", "v", ")", ")", ";", "}" ]
setter for celltype - sets @generated @param v value to set into the feature
[ "setter", "for", "celltype", "-", "sets" ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/CellTypeProteinConcentration.java#L139-L142
140,598
BlueBrain/bluima
modules/bluima_typesystem/src/main/java/de/julielab/jules/types/DependencyRelation.java
DependencyRelation.getProjective
public boolean getProjective() { if (DependencyRelation_Type.featOkTst && ((DependencyRelation_Type)jcasType).casFeat_projective == null) jcasType.jcas.throwFeatMissing("projective", "de.julielab.jules.types.DependencyRelation"); return jcasType.ll_cas.ll_getBooleanValue(addr, ((DependencyRelation_Type)jcasType).casFeatCode_projective);}
java
public boolean getProjective() { if (DependencyRelation_Type.featOkTst && ((DependencyRelation_Type)jcasType).casFeat_projective == null) jcasType.jcas.throwFeatMissing("projective", "de.julielab.jules.types.DependencyRelation"); return jcasType.ll_cas.ll_getBooleanValue(addr, ((DependencyRelation_Type)jcasType).casFeatCode_projective);}
[ "public", "boolean", "getProjective", "(", ")", "{", "if", "(", "DependencyRelation_Type", ".", "featOkTst", "&&", "(", "(", "DependencyRelation_Type", ")", "jcasType", ")", ".", "casFeat_projective", "==", "null", ")", "jcasType", ".", "jcas", ".", "throwFeatMissing", "(", "\"projective\"", ",", "\"de.julielab.jules.types.DependencyRelation\"", ")", ";", "return", "jcasType", ".", "ll_cas", ".", "ll_getBooleanValue", "(", "addr", ",", "(", "(", "DependencyRelation_Type", ")", "jcasType", ")", ".", "casFeatCode_projective", ")", ";", "}" ]
getter for projective - gets The dependency relations can be projective or not, C @generated @return value of the feature
[ "getter", "for", "projective", "-", "gets", "The", "dependency", "relations", "can", "be", "projective", "or", "not", "C" ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/DependencyRelation.java#L107-L110
140,599
BlueBrain/bluima
modules/bluima_typesystem/src/main/java/de/julielab/jules/types/DependencyRelation.java
DependencyRelation.setProjective
public void setProjective(boolean v) { if (DependencyRelation_Type.featOkTst && ((DependencyRelation_Type)jcasType).casFeat_projective == null) jcasType.jcas.throwFeatMissing("projective", "de.julielab.jules.types.DependencyRelation"); jcasType.ll_cas.ll_setBooleanValue(addr, ((DependencyRelation_Type)jcasType).casFeatCode_projective, v);}
java
public void setProjective(boolean v) { if (DependencyRelation_Type.featOkTst && ((DependencyRelation_Type)jcasType).casFeat_projective == null) jcasType.jcas.throwFeatMissing("projective", "de.julielab.jules.types.DependencyRelation"); jcasType.ll_cas.ll_setBooleanValue(addr, ((DependencyRelation_Type)jcasType).casFeatCode_projective, v);}
[ "public", "void", "setProjective", "(", "boolean", "v", ")", "{", "if", "(", "DependencyRelation_Type", ".", "featOkTst", "&&", "(", "(", "DependencyRelation_Type", ")", "jcasType", ")", ".", "casFeat_projective", "==", "null", ")", "jcasType", ".", "jcas", ".", "throwFeatMissing", "(", "\"projective\"", ",", "\"de.julielab.jules.types.DependencyRelation\"", ")", ";", "jcasType", ".", "ll_cas", ".", "ll_setBooleanValue", "(", "addr", ",", "(", "(", "DependencyRelation_Type", ")", "jcasType", ")", ".", "casFeatCode_projective", ",", "v", ")", ";", "}" ]
setter for projective - sets The dependency relations can be projective or not, C @generated @param v value to set into the feature
[ "setter", "for", "projective", "-", "sets", "The", "dependency", "relations", "can", "be", "projective", "or", "not", "C" ]
793ea3f46761dce72094e057a56cddfa677156ae
https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/DependencyRelation.java#L116-L119