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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
141,000 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/de/julielab/jules/types/Journal.java | Journal.getIssue | public String getIssue() {
if (Journal_Type.featOkTst && ((Journal_Type)jcasType).casFeat_issue == null)
jcasType.jcas.throwFeatMissing("issue", "de.julielab.jules.types.Journal");
return jcasType.ll_cas.ll_getStringValue(addr, ((Journal_Type)jcasType).casFeatCode_issue);} | java | public String getIssue() {
if (Journal_Type.featOkTst && ((Journal_Type)jcasType).casFeat_issue == null)
jcasType.jcas.throwFeatMissing("issue", "de.julielab.jules.types.Journal");
return jcasType.ll_cas.ll_getStringValue(addr, ((Journal_Type)jcasType).casFeatCode_issue);} | [
"public",
"String",
"getIssue",
"(",
")",
"{",
"if",
"(",
"Journal_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"Journal_Type",
")",
"jcasType",
")",
".",
"casFeat_issue",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"issue\"",
",",
"\"de.julielab.jules.types.Journal\"",
")",
";",
"return",
"jcasType",
".",
"ll_cas",
".",
"ll_getStringValue",
"(",
"addr",
",",
"(",
"(",
"Journal_Type",
")",
"jcasType",
")",
".",
"casFeatCode_issue",
")",
";",
"}"
] | getter for issue - gets Issue of Journal
@generated
@return value of the feature | [
"getter",
"for",
"issue",
"-",
"gets",
"Issue",
"of",
"Journal"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/Journal.java#L195-L198 |
141,001 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/de/julielab/jules/types/Journal.java | Journal.setIssue | public void setIssue(String v) {
if (Journal_Type.featOkTst && ((Journal_Type)jcasType).casFeat_issue == null)
jcasType.jcas.throwFeatMissing("issue", "de.julielab.jules.types.Journal");
jcasType.ll_cas.ll_setStringValue(addr, ((Journal_Type)jcasType).casFeatCode_issue, v);} | java | public void setIssue(String v) {
if (Journal_Type.featOkTst && ((Journal_Type)jcasType).casFeat_issue == null)
jcasType.jcas.throwFeatMissing("issue", "de.julielab.jules.types.Journal");
jcasType.ll_cas.ll_setStringValue(addr, ((Journal_Type)jcasType).casFeatCode_issue, v);} | [
"public",
"void",
"setIssue",
"(",
"String",
"v",
")",
"{",
"if",
"(",
"Journal_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"Journal_Type",
")",
"jcasType",
")",
".",
"casFeat_issue",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"issue\"",
",",
"\"de.julielab.jules.types.Journal\"",
")",
";",
"jcasType",
".",
"ll_cas",
".",
"ll_setStringValue",
"(",
"addr",
",",
"(",
"(",
"Journal_Type",
")",
"jcasType",
")",
".",
"casFeatCode_issue",
",",
"v",
")",
";",
"}"
] | setter for issue - sets Issue of Journal
@generated
@param v value to set into the feature | [
"setter",
"for",
"issue",
"-",
"sets",
"Issue",
"of",
"Journal"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/Journal.java#L204-L207 |
141,002 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/de/julielab/jules/types/Journal.java | Journal.getPages | public String getPages() {
if (Journal_Type.featOkTst && ((Journal_Type)jcasType).casFeat_pages == null)
jcasType.jcas.throwFeatMissing("pages", "de.julielab.jules.types.Journal");
return jcasType.ll_cas.ll_getStringValue(addr, ((Journal_Type)jcasType).casFeatCode_pages);} | java | public String getPages() {
if (Journal_Type.featOkTst && ((Journal_Type)jcasType).casFeat_pages == null)
jcasType.jcas.throwFeatMissing("pages", "de.julielab.jules.types.Journal");
return jcasType.ll_cas.ll_getStringValue(addr, ((Journal_Type)jcasType).casFeatCode_pages);} | [
"public",
"String",
"getPages",
"(",
")",
"{",
"if",
"(",
"Journal_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"Journal_Type",
")",
"jcasType",
")",
".",
"casFeat_pages",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"pages\"",
",",
"\"de.julielab.jules.types.Journal\"",
")",
";",
"return",
"jcasType",
".",
"ll_cas",
".",
"ll_getStringValue",
"(",
"addr",
",",
"(",
"(",
"Journal_Type",
")",
"jcasType",
")",
".",
"casFeatCode_pages",
")",
";",
"}"
] | getter for pages - gets Pages of Journal
@generated
@return value of the feature | [
"getter",
"for",
"pages",
"-",
"gets",
"Pages",
"of",
"Journal"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/Journal.java#L217-L220 |
141,003 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/de/julielab/jules/types/Journal.java | Journal.setPages | public void setPages(String v) {
if (Journal_Type.featOkTst && ((Journal_Type)jcasType).casFeat_pages == null)
jcasType.jcas.throwFeatMissing("pages", "de.julielab.jules.types.Journal");
jcasType.ll_cas.ll_setStringValue(addr, ((Journal_Type)jcasType).casFeatCode_pages, v);} | java | public void setPages(String v) {
if (Journal_Type.featOkTst && ((Journal_Type)jcasType).casFeat_pages == null)
jcasType.jcas.throwFeatMissing("pages", "de.julielab.jules.types.Journal");
jcasType.ll_cas.ll_setStringValue(addr, ((Journal_Type)jcasType).casFeatCode_pages, v);} | [
"public",
"void",
"setPages",
"(",
"String",
"v",
")",
"{",
"if",
"(",
"Journal_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"Journal_Type",
")",
"jcasType",
")",
".",
"casFeat_pages",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"pages\"",
",",
"\"de.julielab.jules.types.Journal\"",
")",
";",
"jcasType",
".",
"ll_cas",
".",
"ll_setStringValue",
"(",
"addr",
",",
"(",
"(",
"Journal_Type",
")",
"jcasType",
")",
".",
"casFeatCode_pages",
",",
"v",
")",
";",
"}"
] | setter for pages - sets Pages of Journal
@generated
@param v value to set into the feature | [
"setter",
"for",
"pages",
"-",
"sets",
"Pages",
"of",
"Journal"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/Journal.java#L226-L229 |
141,004 | BlueBrain/bluima | modules/bluima_utils/src/main/java/ch/epfl/bbp/uima/filter/TooMuchOOVFilterAnnotator.java | TooMuchOOVFilterAnnotator.isOk | private static boolean isOk(String txt) {
if (UPPER_THEN_LOWER.matcher(txt).matches())
return true;
int ints = 0;
for (char c : txt.toCharArray()) {
if (isDigit(c)) {
ints++;
}
}
if (ints * 2 > txt.length())
return true;
return false;
} | java | private static boolean isOk(String txt) {
if (UPPER_THEN_LOWER.matcher(txt).matches())
return true;
int ints = 0;
for (char c : txt.toCharArray()) {
if (isDigit(c)) {
ints++;
}
}
if (ints * 2 > txt.length())
return true;
return false;
} | [
"private",
"static",
"boolean",
"isOk",
"(",
"String",
"txt",
")",
"{",
"if",
"(",
"UPPER_THEN_LOWER",
".",
"matcher",
"(",
"txt",
")",
".",
"matches",
"(",
")",
")",
"return",
"true",
";",
"int",
"ints",
"=",
"0",
";",
"for",
"(",
"char",
"c",
":",
"txt",
".",
"toCharArray",
"(",
")",
")",
"{",
"if",
"(",
"isDigit",
"(",
"c",
")",
")",
"{",
"ints",
"++",
";",
"}",
"}",
"if",
"(",
"ints",
"*",
"2",
">",
"txt",
".",
"length",
"(",
")",
")",
"return",
"true",
";",
"return",
"false",
";",
"}"
] | Whitelisting. Ok if Uppercase-then-lowercases or
2x-more-digits-than-letters.
On a sample doc (), went from 1975 OOV to 1116 with
Uppercase-then-lowercases, then down to 729 with
2x-more-digits-than-letters.
@return true if this token is acceptable (=considered NOT an OOV). | [
"Whitelisting",
".",
"Ok",
"if",
"Uppercase",
"-",
"then",
"-",
"lowercases",
"or",
"2x",
"-",
"more",
"-",
"digits",
"-",
"than",
"-",
"letters",
"."
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_utils/src/main/java/ch/epfl/bbp/uima/filter/TooMuchOOVFilterAnnotator.java#L106-L121 |
141,005 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/VariableAssignment.java | VariableAssignment.getOperator | public String getOperator() {
if (VariableAssignment_Type.featOkTst && ((VariableAssignment_Type)jcasType).casFeat_operator == null)
jcasType.jcas.throwFeatMissing("operator", "ch.epfl.bbp.uima.types.VariableAssignment");
return jcasType.ll_cas.ll_getStringValue(addr, ((VariableAssignment_Type)jcasType).casFeatCode_operator);} | java | public String getOperator() {
if (VariableAssignment_Type.featOkTst && ((VariableAssignment_Type)jcasType).casFeat_operator == null)
jcasType.jcas.throwFeatMissing("operator", "ch.epfl.bbp.uima.types.VariableAssignment");
return jcasType.ll_cas.ll_getStringValue(addr, ((VariableAssignment_Type)jcasType).casFeatCode_operator);} | [
"public",
"String",
"getOperator",
"(",
")",
"{",
"if",
"(",
"VariableAssignment_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"VariableAssignment_Type",
")",
"jcasType",
")",
".",
"casFeat_operator",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"operator\"",
",",
"\"ch.epfl.bbp.uima.types.VariableAssignment\"",
")",
";",
"return",
"jcasType",
".",
"ll_cas",
".",
"ll_getStringValue",
"(",
"addr",
",",
"(",
"(",
"VariableAssignment_Type",
")",
"jcasType",
")",
".",
"casFeatCode_operator",
")",
";",
"}"
] | getter for operator - gets math operator like equal, lt, gt, ...
@generated
@return value of the feature | [
"getter",
"for",
"operator",
"-",
"gets",
"math",
"operator",
"like",
"equal",
"lt",
"gt",
"..."
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/VariableAssignment.java#L85-L88 |
141,006 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/VariableAssignment.java | VariableAssignment.setOperator | public void setOperator(String v) {
if (VariableAssignment_Type.featOkTst && ((VariableAssignment_Type)jcasType).casFeat_operator == null)
jcasType.jcas.throwFeatMissing("operator", "ch.epfl.bbp.uima.types.VariableAssignment");
jcasType.ll_cas.ll_setStringValue(addr, ((VariableAssignment_Type)jcasType).casFeatCode_operator, v);} | java | public void setOperator(String v) {
if (VariableAssignment_Type.featOkTst && ((VariableAssignment_Type)jcasType).casFeat_operator == null)
jcasType.jcas.throwFeatMissing("operator", "ch.epfl.bbp.uima.types.VariableAssignment");
jcasType.ll_cas.ll_setStringValue(addr, ((VariableAssignment_Type)jcasType).casFeatCode_operator, v);} | [
"public",
"void",
"setOperator",
"(",
"String",
"v",
")",
"{",
"if",
"(",
"VariableAssignment_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"VariableAssignment_Type",
")",
"jcasType",
")",
".",
"casFeat_operator",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"operator\"",
",",
"\"ch.epfl.bbp.uima.types.VariableAssignment\"",
")",
";",
"jcasType",
".",
"ll_cas",
".",
"ll_setStringValue",
"(",
"addr",
",",
"(",
"(",
"VariableAssignment_Type",
")",
"jcasType",
")",
".",
"casFeatCode_operator",
",",
"v",
")",
";",
"}"
] | setter for operator - sets math operator like equal, lt, gt, ...
@generated
@param v value to set into the feature | [
"setter",
"for",
"operator",
"-",
"sets",
"math",
"operator",
"like",
"equal",
"lt",
"gt",
"..."
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/VariableAssignment.java#L94-L97 |
141,007 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/VariableAssignment.java | VariableAssignment.getValue | public float getValue() {
if (VariableAssignment_Type.featOkTst && ((VariableAssignment_Type)jcasType).casFeat_value == null)
jcasType.jcas.throwFeatMissing("value", "ch.epfl.bbp.uima.types.VariableAssignment");
return jcasType.ll_cas.ll_getFloatValue(addr, ((VariableAssignment_Type)jcasType).casFeatCode_value);} | java | public float getValue() {
if (VariableAssignment_Type.featOkTst && ((VariableAssignment_Type)jcasType).casFeat_value == null)
jcasType.jcas.throwFeatMissing("value", "ch.epfl.bbp.uima.types.VariableAssignment");
return jcasType.ll_cas.ll_getFloatValue(addr, ((VariableAssignment_Type)jcasType).casFeatCode_value);} | [
"public",
"float",
"getValue",
"(",
")",
"{",
"if",
"(",
"VariableAssignment_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"VariableAssignment_Type",
")",
"jcasType",
")",
".",
"casFeat_value",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"value\"",
",",
"\"ch.epfl.bbp.uima.types.VariableAssignment\"",
")",
";",
"return",
"jcasType",
".",
"ll_cas",
".",
"ll_getFloatValue",
"(",
"addr",
",",
"(",
"(",
"VariableAssignment_Type",
")",
"jcasType",
")",
".",
"casFeatCode_value",
")",
";",
"}"
] | getter for value - gets
@generated
@return value of the feature | [
"getter",
"for",
"value",
"-",
"gets"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/VariableAssignment.java#L107-L110 |
141,008 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/VariableAssignment.java | VariableAssignment.setValue | public void setValue(float v) {
if (VariableAssignment_Type.featOkTst && ((VariableAssignment_Type)jcasType).casFeat_value == null)
jcasType.jcas.throwFeatMissing("value", "ch.epfl.bbp.uima.types.VariableAssignment");
jcasType.ll_cas.ll_setFloatValue(addr, ((VariableAssignment_Type)jcasType).casFeatCode_value, v);} | java | public void setValue(float v) {
if (VariableAssignment_Type.featOkTst && ((VariableAssignment_Type)jcasType).casFeat_value == null)
jcasType.jcas.throwFeatMissing("value", "ch.epfl.bbp.uima.types.VariableAssignment");
jcasType.ll_cas.ll_setFloatValue(addr, ((VariableAssignment_Type)jcasType).casFeatCode_value, v);} | [
"public",
"void",
"setValue",
"(",
"float",
"v",
")",
"{",
"if",
"(",
"VariableAssignment_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"VariableAssignment_Type",
")",
"jcasType",
")",
".",
"casFeat_value",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"value\"",
",",
"\"ch.epfl.bbp.uima.types.VariableAssignment\"",
")",
";",
"jcasType",
".",
"ll_cas",
".",
"ll_setFloatValue",
"(",
"addr",
",",
"(",
"(",
"VariableAssignment_Type",
")",
"jcasType",
")",
".",
"casFeatCode_value",
",",
"v",
")",
";",
"}"
] | setter for value - sets
@generated
@param v value to set into the feature | [
"setter",
"for",
"value",
"-",
"sets"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/VariableAssignment.java#L116-L119 |
141,009 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/VariableAssignment.java | VariableAssignment.getVariableName | public String getVariableName() {
if (VariableAssignment_Type.featOkTst && ((VariableAssignment_Type)jcasType).casFeat_variableName == null)
jcasType.jcas.throwFeatMissing("variableName", "ch.epfl.bbp.uima.types.VariableAssignment");
return jcasType.ll_cas.ll_getStringValue(addr, ((VariableAssignment_Type)jcasType).casFeatCode_variableName);} | java | public String getVariableName() {
if (VariableAssignment_Type.featOkTst && ((VariableAssignment_Type)jcasType).casFeat_variableName == null)
jcasType.jcas.throwFeatMissing("variableName", "ch.epfl.bbp.uima.types.VariableAssignment");
return jcasType.ll_cas.ll_getStringValue(addr, ((VariableAssignment_Type)jcasType).casFeatCode_variableName);} | [
"public",
"String",
"getVariableName",
"(",
")",
"{",
"if",
"(",
"VariableAssignment_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"VariableAssignment_Type",
")",
"jcasType",
")",
".",
"casFeat_variableName",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"variableName\"",
",",
"\"ch.epfl.bbp.uima.types.VariableAssignment\"",
")",
";",
"return",
"jcasType",
".",
"ll_cas",
".",
"ll_getStringValue",
"(",
"addr",
",",
"(",
"(",
"VariableAssignment_Type",
")",
"jcasType",
")",
".",
"casFeatCode_variableName",
")",
";",
"}"
] | getter for variableName - gets
@generated
@return value of the feature | [
"getter",
"for",
"variableName",
"-",
"gets"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/VariableAssignment.java#L129-L132 |
141,010 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/VariableAssignment.java | VariableAssignment.setVariableName | public void setVariableName(String v) {
if (VariableAssignment_Type.featOkTst && ((VariableAssignment_Type)jcasType).casFeat_variableName == null)
jcasType.jcas.throwFeatMissing("variableName", "ch.epfl.bbp.uima.types.VariableAssignment");
jcasType.ll_cas.ll_setStringValue(addr, ((VariableAssignment_Type)jcasType).casFeatCode_variableName, v);} | java | public void setVariableName(String v) {
if (VariableAssignment_Type.featOkTst && ((VariableAssignment_Type)jcasType).casFeat_variableName == null)
jcasType.jcas.throwFeatMissing("variableName", "ch.epfl.bbp.uima.types.VariableAssignment");
jcasType.ll_cas.ll_setStringValue(addr, ((VariableAssignment_Type)jcasType).casFeatCode_variableName, v);} | [
"public",
"void",
"setVariableName",
"(",
"String",
"v",
")",
"{",
"if",
"(",
"VariableAssignment_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"VariableAssignment_Type",
")",
"jcasType",
")",
".",
"casFeat_variableName",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"variableName\"",
",",
"\"ch.epfl.bbp.uima.types.VariableAssignment\"",
")",
";",
"jcasType",
".",
"ll_cas",
".",
"ll_setStringValue",
"(",
"addr",
",",
"(",
"(",
"VariableAssignment_Type",
")",
"jcasType",
")",
".",
"casFeatCode_variableName",
",",
"v",
")",
";",
"}"
] | setter for variableName - sets
@generated
@param v value to set into the feature | [
"setter",
"for",
"variableName",
"-",
"sets"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/VariableAssignment.java#L138-L141 |
141,011 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/DocumentElement.java | DocumentElement.getElementId | public int getElementId() {
if (DocumentElement_Type.featOkTst && ((DocumentElement_Type)jcasType).casFeat_ElementId == null)
jcasType.jcas.throwFeatMissing("ElementId", "ch.epfl.bbp.uima.types.DocumentElement");
return jcasType.ll_cas.ll_getIntValue(addr, ((DocumentElement_Type)jcasType).casFeatCode_ElementId);} | java | public int getElementId() {
if (DocumentElement_Type.featOkTst && ((DocumentElement_Type)jcasType).casFeat_ElementId == null)
jcasType.jcas.throwFeatMissing("ElementId", "ch.epfl.bbp.uima.types.DocumentElement");
return jcasType.ll_cas.ll_getIntValue(addr, ((DocumentElement_Type)jcasType).casFeatCode_ElementId);} | [
"public",
"int",
"getElementId",
"(",
")",
"{",
"if",
"(",
"DocumentElement_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"DocumentElement_Type",
")",
"jcasType",
")",
".",
"casFeat_ElementId",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"ElementId\"",
",",
"\"ch.epfl.bbp.uima.types.DocumentElement\"",
")",
";",
"return",
"jcasType",
".",
"ll_cas",
".",
"ll_getIntValue",
"(",
"addr",
",",
"(",
"(",
"DocumentElement_Type",
")",
"jcasType",
")",
".",
"casFeatCode_ElementId",
")",
";",
"}"
] | getter for ElementId - gets
@generated
@return value of the feature | [
"getter",
"for",
"ElementId",
"-",
"gets"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/DocumentElement.java#L86-L89 |
141,012 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/DocumentElement.java | DocumentElement.setElementId | public void setElementId(int v) {
if (DocumentElement_Type.featOkTst && ((DocumentElement_Type)jcasType).casFeat_ElementId == null)
jcasType.jcas.throwFeatMissing("ElementId", "ch.epfl.bbp.uima.types.DocumentElement");
jcasType.ll_cas.ll_setIntValue(addr, ((DocumentElement_Type)jcasType).casFeatCode_ElementId, v);} | java | public void setElementId(int v) {
if (DocumentElement_Type.featOkTst && ((DocumentElement_Type)jcasType).casFeat_ElementId == null)
jcasType.jcas.throwFeatMissing("ElementId", "ch.epfl.bbp.uima.types.DocumentElement");
jcasType.ll_cas.ll_setIntValue(addr, ((DocumentElement_Type)jcasType).casFeatCode_ElementId, v);} | [
"public",
"void",
"setElementId",
"(",
"int",
"v",
")",
"{",
"if",
"(",
"DocumentElement_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"DocumentElement_Type",
")",
"jcasType",
")",
".",
"casFeat_ElementId",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"ElementId\"",
",",
"\"ch.epfl.bbp.uima.types.DocumentElement\"",
")",
";",
"jcasType",
".",
"ll_cas",
".",
"ll_setIntValue",
"(",
"addr",
",",
"(",
"(",
"DocumentElement_Type",
")",
"jcasType",
")",
".",
"casFeatCode_ElementId",
",",
"v",
")",
";",
"}"
] | setter for ElementId - sets
@generated
@param v value to set into the feature | [
"setter",
"for",
"ElementId",
"-",
"sets"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/DocumentElement.java#L95-L98 |
141,013 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/DocumentElement.java | DocumentElement.getIsBold | public boolean getIsBold() {
if (DocumentElement_Type.featOkTst && ((DocumentElement_Type)jcasType).casFeat_isBold == null)
jcasType.jcas.throwFeatMissing("isBold", "ch.epfl.bbp.uima.types.DocumentElement");
return jcasType.ll_cas.ll_getBooleanValue(addr, ((DocumentElement_Type)jcasType).casFeatCode_isBold);} | java | public boolean getIsBold() {
if (DocumentElement_Type.featOkTst && ((DocumentElement_Type)jcasType).casFeat_isBold == null)
jcasType.jcas.throwFeatMissing("isBold", "ch.epfl.bbp.uima.types.DocumentElement");
return jcasType.ll_cas.ll_getBooleanValue(addr, ((DocumentElement_Type)jcasType).casFeatCode_isBold);} | [
"public",
"boolean",
"getIsBold",
"(",
")",
"{",
"if",
"(",
"DocumentElement_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"DocumentElement_Type",
")",
"jcasType",
")",
".",
"casFeat_isBold",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"isBold\"",
",",
"\"ch.epfl.bbp.uima.types.DocumentElement\"",
")",
";",
"return",
"jcasType",
".",
"ll_cas",
".",
"ll_getBooleanValue",
"(",
"addr",
",",
"(",
"(",
"DocumentElement_Type",
")",
"jcasType",
")",
".",
"casFeatCode_isBold",
")",
";",
"}"
] | getter for isBold - gets
@generated
@return value of the feature | [
"getter",
"for",
"isBold",
"-",
"gets"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/DocumentElement.java#L108-L111 |
141,014 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/DocumentElement.java | DocumentElement.setIsBold | public void setIsBold(boolean v) {
if (DocumentElement_Type.featOkTst && ((DocumentElement_Type)jcasType).casFeat_isBold == null)
jcasType.jcas.throwFeatMissing("isBold", "ch.epfl.bbp.uima.types.DocumentElement");
jcasType.ll_cas.ll_setBooleanValue(addr, ((DocumentElement_Type)jcasType).casFeatCode_isBold, v);} | java | public void setIsBold(boolean v) {
if (DocumentElement_Type.featOkTst && ((DocumentElement_Type)jcasType).casFeat_isBold == null)
jcasType.jcas.throwFeatMissing("isBold", "ch.epfl.bbp.uima.types.DocumentElement");
jcasType.ll_cas.ll_setBooleanValue(addr, ((DocumentElement_Type)jcasType).casFeatCode_isBold, v);} | [
"public",
"void",
"setIsBold",
"(",
"boolean",
"v",
")",
"{",
"if",
"(",
"DocumentElement_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"DocumentElement_Type",
")",
"jcasType",
")",
".",
"casFeat_isBold",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"isBold\"",
",",
"\"ch.epfl.bbp.uima.types.DocumentElement\"",
")",
";",
"jcasType",
".",
"ll_cas",
".",
"ll_setBooleanValue",
"(",
"addr",
",",
"(",
"(",
"DocumentElement_Type",
")",
"jcasType",
")",
".",
"casFeatCode_isBold",
",",
"v",
")",
";",
"}"
] | setter for isBold - sets
@generated
@param v value to set into the feature | [
"setter",
"for",
"isBold",
"-",
"sets"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/DocumentElement.java#L117-L120 |
141,015 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/DocumentElement.java | DocumentElement.getHeight | public float getHeight() {
if (DocumentElement_Type.featOkTst && ((DocumentElement_Type)jcasType).casFeat_height == null)
jcasType.jcas.throwFeatMissing("height", "ch.epfl.bbp.uima.types.DocumentElement");
return jcasType.ll_cas.ll_getFloatValue(addr, ((DocumentElement_Type)jcasType).casFeatCode_height);} | java | public float getHeight() {
if (DocumentElement_Type.featOkTst && ((DocumentElement_Type)jcasType).casFeat_height == null)
jcasType.jcas.throwFeatMissing("height", "ch.epfl.bbp.uima.types.DocumentElement");
return jcasType.ll_cas.ll_getFloatValue(addr, ((DocumentElement_Type)jcasType).casFeatCode_height);} | [
"public",
"float",
"getHeight",
"(",
")",
"{",
"if",
"(",
"DocumentElement_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"DocumentElement_Type",
")",
"jcasType",
")",
".",
"casFeat_height",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"height\"",
",",
"\"ch.epfl.bbp.uima.types.DocumentElement\"",
")",
";",
"return",
"jcasType",
".",
"ll_cas",
".",
"ll_getFloatValue",
"(",
"addr",
",",
"(",
"(",
"DocumentElement_Type",
")",
"jcasType",
")",
".",
"casFeatCode_height",
")",
";",
"}"
] | getter for height - gets
@generated
@return value of the feature | [
"getter",
"for",
"height",
"-",
"gets"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/DocumentElement.java#L130-L133 |
141,016 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/DocumentElement.java | DocumentElement.setHeight | public void setHeight(float v) {
if (DocumentElement_Type.featOkTst && ((DocumentElement_Type)jcasType).casFeat_height == null)
jcasType.jcas.throwFeatMissing("height", "ch.epfl.bbp.uima.types.DocumentElement");
jcasType.ll_cas.ll_setFloatValue(addr, ((DocumentElement_Type)jcasType).casFeatCode_height, v);} | java | public void setHeight(float v) {
if (DocumentElement_Type.featOkTst && ((DocumentElement_Type)jcasType).casFeat_height == null)
jcasType.jcas.throwFeatMissing("height", "ch.epfl.bbp.uima.types.DocumentElement");
jcasType.ll_cas.ll_setFloatValue(addr, ((DocumentElement_Type)jcasType).casFeatCode_height, v);} | [
"public",
"void",
"setHeight",
"(",
"float",
"v",
")",
"{",
"if",
"(",
"DocumentElement_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"DocumentElement_Type",
")",
"jcasType",
")",
".",
"casFeat_height",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"height\"",
",",
"\"ch.epfl.bbp.uima.types.DocumentElement\"",
")",
";",
"jcasType",
".",
"ll_cas",
".",
"ll_setFloatValue",
"(",
"addr",
",",
"(",
"(",
"DocumentElement_Type",
")",
"jcasType",
")",
".",
"casFeatCode_height",
",",
"v",
")",
";",
"}"
] | setter for height - sets
@generated
@param v value to set into the feature | [
"setter",
"for",
"height",
"-",
"sets"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/DocumentElement.java#L139-L142 |
141,017 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/DocumentElement.java | DocumentElement.getWidth | public float getWidth() {
if (DocumentElement_Type.featOkTst && ((DocumentElement_Type)jcasType).casFeat_width == null)
jcasType.jcas.throwFeatMissing("width", "ch.epfl.bbp.uima.types.DocumentElement");
return jcasType.ll_cas.ll_getFloatValue(addr, ((DocumentElement_Type)jcasType).casFeatCode_width);} | java | public float getWidth() {
if (DocumentElement_Type.featOkTst && ((DocumentElement_Type)jcasType).casFeat_width == null)
jcasType.jcas.throwFeatMissing("width", "ch.epfl.bbp.uima.types.DocumentElement");
return jcasType.ll_cas.ll_getFloatValue(addr, ((DocumentElement_Type)jcasType).casFeatCode_width);} | [
"public",
"float",
"getWidth",
"(",
")",
"{",
"if",
"(",
"DocumentElement_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"DocumentElement_Type",
")",
"jcasType",
")",
".",
"casFeat_width",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"width\"",
",",
"\"ch.epfl.bbp.uima.types.DocumentElement\"",
")",
";",
"return",
"jcasType",
".",
"ll_cas",
".",
"ll_getFloatValue",
"(",
"addr",
",",
"(",
"(",
"DocumentElement_Type",
")",
"jcasType",
")",
".",
"casFeatCode_width",
")",
";",
"}"
] | getter for width - gets
@generated
@return value of the feature | [
"getter",
"for",
"width",
"-",
"gets"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/DocumentElement.java#L152-L155 |
141,018 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/DocumentElement.java | DocumentElement.setWidth | public void setWidth(float v) {
if (DocumentElement_Type.featOkTst && ((DocumentElement_Type)jcasType).casFeat_width == null)
jcasType.jcas.throwFeatMissing("width", "ch.epfl.bbp.uima.types.DocumentElement");
jcasType.ll_cas.ll_setFloatValue(addr, ((DocumentElement_Type)jcasType).casFeatCode_width, v);} | java | public void setWidth(float v) {
if (DocumentElement_Type.featOkTst && ((DocumentElement_Type)jcasType).casFeat_width == null)
jcasType.jcas.throwFeatMissing("width", "ch.epfl.bbp.uima.types.DocumentElement");
jcasType.ll_cas.ll_setFloatValue(addr, ((DocumentElement_Type)jcasType).casFeatCode_width, v);} | [
"public",
"void",
"setWidth",
"(",
"float",
"v",
")",
"{",
"if",
"(",
"DocumentElement_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"DocumentElement_Type",
")",
"jcasType",
")",
".",
"casFeat_width",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"width\"",
",",
"\"ch.epfl.bbp.uima.types.DocumentElement\"",
")",
";",
"jcasType",
".",
"ll_cas",
".",
"ll_setFloatValue",
"(",
"addr",
",",
"(",
"(",
"DocumentElement_Type",
")",
"jcasType",
")",
".",
"casFeatCode_width",
",",
"v",
")",
";",
"}"
] | setter for width - sets
@generated
@param v value to set into the feature | [
"setter",
"for",
"width",
"-",
"sets"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/DocumentElement.java#L161-L164 |
141,019 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/DocumentElement.java | DocumentElement.getX | public float getX() {
if (DocumentElement_Type.featOkTst && ((DocumentElement_Type)jcasType).casFeat_x == null)
jcasType.jcas.throwFeatMissing("x", "ch.epfl.bbp.uima.types.DocumentElement");
return jcasType.ll_cas.ll_getFloatValue(addr, ((DocumentElement_Type)jcasType).casFeatCode_x);} | java | public float getX() {
if (DocumentElement_Type.featOkTst && ((DocumentElement_Type)jcasType).casFeat_x == null)
jcasType.jcas.throwFeatMissing("x", "ch.epfl.bbp.uima.types.DocumentElement");
return jcasType.ll_cas.ll_getFloatValue(addr, ((DocumentElement_Type)jcasType).casFeatCode_x);} | [
"public",
"float",
"getX",
"(",
")",
"{",
"if",
"(",
"DocumentElement_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"DocumentElement_Type",
")",
"jcasType",
")",
".",
"casFeat_x",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"x\"",
",",
"\"ch.epfl.bbp.uima.types.DocumentElement\"",
")",
";",
"return",
"jcasType",
".",
"ll_cas",
".",
"ll_getFloatValue",
"(",
"addr",
",",
"(",
"(",
"DocumentElement_Type",
")",
"jcasType",
")",
".",
"casFeatCode_x",
")",
";",
"}"
] | getter for x - gets
@generated
@return value of the feature | [
"getter",
"for",
"x",
"-",
"gets"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/DocumentElement.java#L174-L177 |
141,020 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/DocumentElement.java | DocumentElement.setX | public void setX(float v) {
if (DocumentElement_Type.featOkTst && ((DocumentElement_Type)jcasType).casFeat_x == null)
jcasType.jcas.throwFeatMissing("x", "ch.epfl.bbp.uima.types.DocumentElement");
jcasType.ll_cas.ll_setFloatValue(addr, ((DocumentElement_Type)jcasType).casFeatCode_x, v);} | java | public void setX(float v) {
if (DocumentElement_Type.featOkTst && ((DocumentElement_Type)jcasType).casFeat_x == null)
jcasType.jcas.throwFeatMissing("x", "ch.epfl.bbp.uima.types.DocumentElement");
jcasType.ll_cas.ll_setFloatValue(addr, ((DocumentElement_Type)jcasType).casFeatCode_x, v);} | [
"public",
"void",
"setX",
"(",
"float",
"v",
")",
"{",
"if",
"(",
"DocumentElement_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"DocumentElement_Type",
")",
"jcasType",
")",
".",
"casFeat_x",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"x\"",
",",
"\"ch.epfl.bbp.uima.types.DocumentElement\"",
")",
";",
"jcasType",
".",
"ll_cas",
".",
"ll_setFloatValue",
"(",
"addr",
",",
"(",
"(",
"DocumentElement_Type",
")",
"jcasType",
")",
".",
"casFeatCode_x",
",",
"v",
")",
";",
"}"
] | setter for x - sets
@generated
@param v value to set into the feature | [
"setter",
"for",
"x",
"-",
"sets"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/DocumentElement.java#L183-L186 |
141,021 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/DocumentElement.java | DocumentElement.getY | public float getY() {
if (DocumentElement_Type.featOkTst && ((DocumentElement_Type)jcasType).casFeat_y == null)
jcasType.jcas.throwFeatMissing("y", "ch.epfl.bbp.uima.types.DocumentElement");
return jcasType.ll_cas.ll_getFloatValue(addr, ((DocumentElement_Type)jcasType).casFeatCode_y);} | java | public float getY() {
if (DocumentElement_Type.featOkTst && ((DocumentElement_Type)jcasType).casFeat_y == null)
jcasType.jcas.throwFeatMissing("y", "ch.epfl.bbp.uima.types.DocumentElement");
return jcasType.ll_cas.ll_getFloatValue(addr, ((DocumentElement_Type)jcasType).casFeatCode_y);} | [
"public",
"float",
"getY",
"(",
")",
"{",
"if",
"(",
"DocumentElement_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"DocumentElement_Type",
")",
"jcasType",
")",
".",
"casFeat_y",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"y\"",
",",
"\"ch.epfl.bbp.uima.types.DocumentElement\"",
")",
";",
"return",
"jcasType",
".",
"ll_cas",
".",
"ll_getFloatValue",
"(",
"addr",
",",
"(",
"(",
"DocumentElement_Type",
")",
"jcasType",
")",
".",
"casFeatCode_y",
")",
";",
"}"
] | getter for y - gets
@generated
@return value of the feature | [
"getter",
"for",
"y",
"-",
"gets"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/DocumentElement.java#L196-L199 |
141,022 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/DocumentElement.java | DocumentElement.setY | public void setY(float v) {
if (DocumentElement_Type.featOkTst && ((DocumentElement_Type)jcasType).casFeat_y == null)
jcasType.jcas.throwFeatMissing("y", "ch.epfl.bbp.uima.types.DocumentElement");
jcasType.ll_cas.ll_setFloatValue(addr, ((DocumentElement_Type)jcasType).casFeatCode_y, v);} | java | public void setY(float v) {
if (DocumentElement_Type.featOkTst && ((DocumentElement_Type)jcasType).casFeat_y == null)
jcasType.jcas.throwFeatMissing("y", "ch.epfl.bbp.uima.types.DocumentElement");
jcasType.ll_cas.ll_setFloatValue(addr, ((DocumentElement_Type)jcasType).casFeatCode_y, v);} | [
"public",
"void",
"setY",
"(",
"float",
"v",
")",
"{",
"if",
"(",
"DocumentElement_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"DocumentElement_Type",
")",
"jcasType",
")",
".",
"casFeat_y",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"y\"",
",",
"\"ch.epfl.bbp.uima.types.DocumentElement\"",
")",
";",
"jcasType",
".",
"ll_cas",
".",
"ll_setFloatValue",
"(",
"addr",
",",
"(",
"(",
"DocumentElement_Type",
")",
"jcasType",
")",
".",
"casFeatCode_y",
",",
"v",
")",
";",
"}"
] | setter for y - sets
@generated
@param v value to set into the feature | [
"setter",
"for",
"y",
"-",
"sets"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/DocumentElement.java#L205-L208 |
141,023 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/DocumentElement.java | DocumentElement.getPageId | public int getPageId() {
if (DocumentElement_Type.featOkTst && ((DocumentElement_Type)jcasType).casFeat_pageId == null)
jcasType.jcas.throwFeatMissing("pageId", "ch.epfl.bbp.uima.types.DocumentElement");
return jcasType.ll_cas.ll_getIntValue(addr, ((DocumentElement_Type)jcasType).casFeatCode_pageId);} | java | public int getPageId() {
if (DocumentElement_Type.featOkTst && ((DocumentElement_Type)jcasType).casFeat_pageId == null)
jcasType.jcas.throwFeatMissing("pageId", "ch.epfl.bbp.uima.types.DocumentElement");
return jcasType.ll_cas.ll_getIntValue(addr, ((DocumentElement_Type)jcasType).casFeatCode_pageId);} | [
"public",
"int",
"getPageId",
"(",
")",
"{",
"if",
"(",
"DocumentElement_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"DocumentElement_Type",
")",
"jcasType",
")",
".",
"casFeat_pageId",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"pageId\"",
",",
"\"ch.epfl.bbp.uima.types.DocumentElement\"",
")",
";",
"return",
"jcasType",
".",
"ll_cas",
".",
"ll_getIntValue",
"(",
"addr",
",",
"(",
"(",
"DocumentElement_Type",
")",
"jcasType",
")",
".",
"casFeatCode_pageId",
")",
";",
"}"
] | getter for pageId - gets
@generated
@return value of the feature | [
"getter",
"for",
"pageId",
"-",
"gets"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/DocumentElement.java#L218-L221 |
141,024 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/DocumentElement.java | DocumentElement.setPageId | public void setPageId(int v) {
if (DocumentElement_Type.featOkTst && ((DocumentElement_Type)jcasType).casFeat_pageId == null)
jcasType.jcas.throwFeatMissing("pageId", "ch.epfl.bbp.uima.types.DocumentElement");
jcasType.ll_cas.ll_setIntValue(addr, ((DocumentElement_Type)jcasType).casFeatCode_pageId, v);} | java | public void setPageId(int v) {
if (DocumentElement_Type.featOkTst && ((DocumentElement_Type)jcasType).casFeat_pageId == null)
jcasType.jcas.throwFeatMissing("pageId", "ch.epfl.bbp.uima.types.DocumentElement");
jcasType.ll_cas.ll_setIntValue(addr, ((DocumentElement_Type)jcasType).casFeatCode_pageId, v);} | [
"public",
"void",
"setPageId",
"(",
"int",
"v",
")",
"{",
"if",
"(",
"DocumentElement_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"DocumentElement_Type",
")",
"jcasType",
")",
".",
"casFeat_pageId",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"pageId\"",
",",
"\"ch.epfl.bbp.uima.types.DocumentElement\"",
")",
";",
"jcasType",
".",
"ll_cas",
".",
"ll_setIntValue",
"(",
"addr",
",",
"(",
"(",
"DocumentElement_Type",
")",
"jcasType",
")",
".",
"casFeatCode_pageId",
",",
"v",
")",
";",
"}"
] | setter for pageId - sets
@generated
@param v value to set into the feature | [
"setter",
"for",
"pageId",
"-",
"sets"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/DocumentElement.java#L227-L230 |
141,025 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/DocumentElement.java | DocumentElement.getMedianFontsize | public double getMedianFontsize() {
if (DocumentElement_Type.featOkTst && ((DocumentElement_Type)jcasType).casFeat_medianFontsize == null)
jcasType.jcas.throwFeatMissing("medianFontsize", "ch.epfl.bbp.uima.types.DocumentElement");
return jcasType.ll_cas.ll_getDoubleValue(addr, ((DocumentElement_Type)jcasType).casFeatCode_medianFontsize);} | java | public double getMedianFontsize() {
if (DocumentElement_Type.featOkTst && ((DocumentElement_Type)jcasType).casFeat_medianFontsize == null)
jcasType.jcas.throwFeatMissing("medianFontsize", "ch.epfl.bbp.uima.types.DocumentElement");
return jcasType.ll_cas.ll_getDoubleValue(addr, ((DocumentElement_Type)jcasType).casFeatCode_medianFontsize);} | [
"public",
"double",
"getMedianFontsize",
"(",
")",
"{",
"if",
"(",
"DocumentElement_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"DocumentElement_Type",
")",
"jcasType",
")",
".",
"casFeat_medianFontsize",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"medianFontsize\"",
",",
"\"ch.epfl.bbp.uima.types.DocumentElement\"",
")",
";",
"return",
"jcasType",
".",
"ll_cas",
".",
"ll_getDoubleValue",
"(",
"addr",
",",
"(",
"(",
"DocumentElement_Type",
")",
"jcasType",
")",
".",
"casFeatCode_medianFontsize",
")",
";",
"}"
] | getter for medianFontsize - gets
@generated
@return value of the feature | [
"getter",
"for",
"medianFontsize",
"-",
"gets"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/DocumentElement.java#L262-L265 |
141,026 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/DocumentElement.java | DocumentElement.setMedianFontsize | public void setMedianFontsize(double v) {
if (DocumentElement_Type.featOkTst && ((DocumentElement_Type)jcasType).casFeat_medianFontsize == null)
jcasType.jcas.throwFeatMissing("medianFontsize", "ch.epfl.bbp.uima.types.DocumentElement");
jcasType.ll_cas.ll_setDoubleValue(addr, ((DocumentElement_Type)jcasType).casFeatCode_medianFontsize, v);} | java | public void setMedianFontsize(double v) {
if (DocumentElement_Type.featOkTst && ((DocumentElement_Type)jcasType).casFeat_medianFontsize == null)
jcasType.jcas.throwFeatMissing("medianFontsize", "ch.epfl.bbp.uima.types.DocumentElement");
jcasType.ll_cas.ll_setDoubleValue(addr, ((DocumentElement_Type)jcasType).casFeatCode_medianFontsize, v);} | [
"public",
"void",
"setMedianFontsize",
"(",
"double",
"v",
")",
"{",
"if",
"(",
"DocumentElement_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"DocumentElement_Type",
")",
"jcasType",
")",
".",
"casFeat_medianFontsize",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"medianFontsize\"",
",",
"\"ch.epfl.bbp.uima.types.DocumentElement\"",
")",
";",
"jcasType",
".",
"ll_cas",
".",
"ll_setDoubleValue",
"(",
"addr",
",",
"(",
"(",
"DocumentElement_Type",
")",
"jcasType",
")",
".",
"casFeatCode_medianFontsize",
",",
"v",
")",
";",
"}"
] | setter for medianFontsize - sets
@generated
@param v value to set into the feature | [
"setter",
"for",
"medianFontsize",
"-",
"sets"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/DocumentElement.java#L271-L274 |
141,027 | BlueBrain/bluima | modules/bluima_opennlp/src/main/java/ch/epfl/bbp/shaded/opennlp/tools/namefind/NameFinderME.java | NameFinderME.validOutcome | protected boolean validOutcome(String outcome, Sequence sequence) {
if (outcome.equals(CONTINUE)) {
List tags = sequence.getOutcomes();
int li = tags.size() - 1;
if (li == -1) {
return false;
}
else if (((String) tags.get(li)).equals(OTHER)) {
return false;
}
}
return true;
} | java | protected boolean validOutcome(String outcome, Sequence sequence) {
if (outcome.equals(CONTINUE)) {
List tags = sequence.getOutcomes();
int li = tags.size() - 1;
if (li == -1) {
return false;
}
else if (((String) tags.get(li)).equals(OTHER)) {
return false;
}
}
return true;
} | [
"protected",
"boolean",
"validOutcome",
"(",
"String",
"outcome",
",",
"Sequence",
"sequence",
")",
"{",
"if",
"(",
"outcome",
".",
"equals",
"(",
"CONTINUE",
")",
")",
"{",
"List",
"tags",
"=",
"sequence",
".",
"getOutcomes",
"(",
")",
";",
"int",
"li",
"=",
"tags",
".",
"size",
"(",
")",
"-",
"1",
";",
"if",
"(",
"li",
"==",
"-",
"1",
")",
"{",
"return",
"false",
";",
"}",
"else",
"if",
"(",
"(",
"(",
"String",
")",
"tags",
".",
"get",
"(",
"li",
")",
")",
".",
"equals",
"(",
"OTHER",
")",
")",
"{",
"return",
"false",
";",
"}",
"}",
"return",
"true",
";",
"}"
] | This method determines wheter the outcome is valid for the preceeding sequence.
This can be used to implement constraints on what sequences are valid.
@param outcome The outcome.
@param sequence The precceding sequence of outcomes assignments.
@return true is the outcome is valid for the sequence, false otherwise. | [
"This",
"method",
"determines",
"wheter",
"the",
"outcome",
"is",
"valid",
"for",
"the",
"preceeding",
"sequence",
".",
"This",
"can",
"be",
"used",
"to",
"implement",
"constraints",
"on",
"what",
"sequences",
"are",
"valid",
"."
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_opennlp/src/main/java/ch/epfl/bbp/shaded/opennlp/tools/namefind/NameFinderME.java#L101-L113 |
141,028 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/de/julielab/jules/types/Chemical.java | Chemical.getRegistryNumber | public String getRegistryNumber() {
if (Chemical_Type.featOkTst && ((Chemical_Type)jcasType).casFeat_registryNumber == null)
jcasType.jcas.throwFeatMissing("registryNumber", "de.julielab.jules.types.Chemical");
return jcasType.ll_cas.ll_getStringValue(addr, ((Chemical_Type)jcasType).casFeatCode_registryNumber);} | java | public String getRegistryNumber() {
if (Chemical_Type.featOkTst && ((Chemical_Type)jcasType).casFeat_registryNumber == null)
jcasType.jcas.throwFeatMissing("registryNumber", "de.julielab.jules.types.Chemical");
return jcasType.ll_cas.ll_getStringValue(addr, ((Chemical_Type)jcasType).casFeatCode_registryNumber);} | [
"public",
"String",
"getRegistryNumber",
"(",
")",
"{",
"if",
"(",
"Chemical_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"Chemical_Type",
")",
"jcasType",
")",
".",
"casFeat_registryNumber",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"registryNumber\"",
",",
"\"de.julielab.jules.types.Chemical\"",
")",
";",
"return",
"jcasType",
".",
"ll_cas",
".",
"ll_getStringValue",
"(",
"addr",
",",
"(",
"(",
"Chemical_Type",
")",
"jcasType",
")",
".",
"casFeatCode_registryNumber",
")",
";",
"}"
] | getter for registryNumber - gets A unique 5 to 9 digit number in hyphenated format assigned by the Chemical Abstract Service to specify chemical substances, a zero is a valid number when an actual number cannot be located or is not yet available., C
@generated
@return value of the feature | [
"getter",
"for",
"registryNumber",
"-",
"gets",
"A",
"unique",
"5",
"to",
"9",
"digit",
"number",
"in",
"hyphenated",
"format",
"assigned",
"by",
"the",
"Chemical",
"Abstract",
"Service",
"to",
"specify",
"chemical",
"substances",
"a",
"zero",
"is",
"a",
"valid",
"number",
"when",
"an",
"actual",
"number",
"cannot",
"be",
"located",
"or",
"is",
"not",
"yet",
"available",
".",
"C"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/Chemical.java#L85-L88 |
141,029 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/de/julielab/jules/types/Chemical.java | Chemical.setRegistryNumber | public void setRegistryNumber(String v) {
if (Chemical_Type.featOkTst && ((Chemical_Type)jcasType).casFeat_registryNumber == null)
jcasType.jcas.throwFeatMissing("registryNumber", "de.julielab.jules.types.Chemical");
jcasType.ll_cas.ll_setStringValue(addr, ((Chemical_Type)jcasType).casFeatCode_registryNumber, v);} | java | public void setRegistryNumber(String v) {
if (Chemical_Type.featOkTst && ((Chemical_Type)jcasType).casFeat_registryNumber == null)
jcasType.jcas.throwFeatMissing("registryNumber", "de.julielab.jules.types.Chemical");
jcasType.ll_cas.ll_setStringValue(addr, ((Chemical_Type)jcasType).casFeatCode_registryNumber, v);} | [
"public",
"void",
"setRegistryNumber",
"(",
"String",
"v",
")",
"{",
"if",
"(",
"Chemical_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"Chemical_Type",
")",
"jcasType",
")",
".",
"casFeat_registryNumber",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"registryNumber\"",
",",
"\"de.julielab.jules.types.Chemical\"",
")",
";",
"jcasType",
".",
"ll_cas",
".",
"ll_setStringValue",
"(",
"addr",
",",
"(",
"(",
"Chemical_Type",
")",
"jcasType",
")",
".",
"casFeatCode_registryNumber",
",",
"v",
")",
";",
"}"
] | setter for registryNumber - sets A unique 5 to 9 digit number in hyphenated format assigned by the Chemical Abstract Service to specify chemical substances, a zero is a valid number when an actual number cannot be located or is not yet available., C
@generated
@param v value to set into the feature | [
"setter",
"for",
"registryNumber",
"-",
"sets",
"A",
"unique",
"5",
"to",
"9",
"digit",
"number",
"in",
"hyphenated",
"format",
"assigned",
"by",
"the",
"Chemical",
"Abstract",
"Service",
"to",
"specify",
"chemical",
"substances",
"a",
"zero",
"is",
"a",
"valid",
"number",
"when",
"an",
"actual",
"number",
"cannot",
"be",
"located",
"or",
"is",
"not",
"yet",
"available",
".",
"C"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/Chemical.java#L94-L97 |
141,030 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/de/julielab/jules/types/Chemical.java | Chemical.getNameOfSubstance | public String getNameOfSubstance() {
if (Chemical_Type.featOkTst && ((Chemical_Type)jcasType).casFeat_nameOfSubstance == null)
jcasType.jcas.throwFeatMissing("nameOfSubstance", "de.julielab.jules.types.Chemical");
return jcasType.ll_cas.ll_getStringValue(addr, ((Chemical_Type)jcasType).casFeatCode_nameOfSubstance);} | java | public String getNameOfSubstance() {
if (Chemical_Type.featOkTst && ((Chemical_Type)jcasType).casFeat_nameOfSubstance == null)
jcasType.jcas.throwFeatMissing("nameOfSubstance", "de.julielab.jules.types.Chemical");
return jcasType.ll_cas.ll_getStringValue(addr, ((Chemical_Type)jcasType).casFeatCode_nameOfSubstance);} | [
"public",
"String",
"getNameOfSubstance",
"(",
")",
"{",
"if",
"(",
"Chemical_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"Chemical_Type",
")",
"jcasType",
")",
".",
"casFeat_nameOfSubstance",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"nameOfSubstance\"",
",",
"\"de.julielab.jules.types.Chemical\"",
")",
";",
"return",
"jcasType",
".",
"ll_cas",
".",
"ll_getStringValue",
"(",
"addr",
",",
"(",
"(",
"Chemical_Type",
")",
"jcasType",
")",
".",
"casFeatCode_nameOfSubstance",
")",
";",
"}"
] | getter for nameOfSubstance - gets The name of the substance that the registry number or the E.C. number identifies, C
@generated
@return value of the feature | [
"getter",
"for",
"nameOfSubstance",
"-",
"gets",
"The",
"name",
"of",
"the",
"substance",
"that",
"the",
"registry",
"number",
"or",
"the",
"E",
".",
"C",
".",
"number",
"identifies",
"C"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/Chemical.java#L107-L110 |
141,031 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/de/julielab/jules/types/Chemical.java | Chemical.setNameOfSubstance | public void setNameOfSubstance(String v) {
if (Chemical_Type.featOkTst && ((Chemical_Type)jcasType).casFeat_nameOfSubstance == null)
jcasType.jcas.throwFeatMissing("nameOfSubstance", "de.julielab.jules.types.Chemical");
jcasType.ll_cas.ll_setStringValue(addr, ((Chemical_Type)jcasType).casFeatCode_nameOfSubstance, v);} | java | public void setNameOfSubstance(String v) {
if (Chemical_Type.featOkTst && ((Chemical_Type)jcasType).casFeat_nameOfSubstance == null)
jcasType.jcas.throwFeatMissing("nameOfSubstance", "de.julielab.jules.types.Chemical");
jcasType.ll_cas.ll_setStringValue(addr, ((Chemical_Type)jcasType).casFeatCode_nameOfSubstance, v);} | [
"public",
"void",
"setNameOfSubstance",
"(",
"String",
"v",
")",
"{",
"if",
"(",
"Chemical_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"Chemical_Type",
")",
"jcasType",
")",
".",
"casFeat_nameOfSubstance",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"nameOfSubstance\"",
",",
"\"de.julielab.jules.types.Chemical\"",
")",
";",
"jcasType",
".",
"ll_cas",
".",
"ll_setStringValue",
"(",
"addr",
",",
"(",
"(",
"Chemical_Type",
")",
"jcasType",
")",
".",
"casFeatCode_nameOfSubstance",
",",
"v",
")",
";",
"}"
] | setter for nameOfSubstance - sets The name of the substance that the registry number or the E.C. number identifies, C
@generated
@param v value to set into the feature | [
"setter",
"for",
"nameOfSubstance",
"-",
"sets",
"The",
"name",
"of",
"the",
"substance",
"that",
"the",
"registry",
"number",
"or",
"the",
"E",
".",
"C",
".",
"number",
"identifies",
"C"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/Chemical.java#L116-L119 |
141,032 | BlueBrain/bluima | modules/bluima_opennlp/src/main/java/ch/epfl/bbp/uima/ae/OpenNlpHelper.java | OpenNlpHelper.splitSentence2 | public static List<String> splitSentence2(String text, SentenceDetector sd) {
List<String> sentences = new ArrayList<String>();
try {
int sentenceOffsets[] = sd.sentPosDetect(text);
int begin = 0;
int end = 0;
for (int i = 0; i < sentenceOffsets.length; i++) {
end = begin
+ (text.substring(begin, sentenceOffsets[i]).trim())
.length();
sentences.add(text.substring(begin, end));
begin = sentenceOffsets[i];
}
} catch (Exception e) {
LOG.warn("failed to extract sentences from text '" + text + "'", e);
}
return sentences;
} | java | public static List<String> splitSentence2(String text, SentenceDetector sd) {
List<String> sentences = new ArrayList<String>();
try {
int sentenceOffsets[] = sd.sentPosDetect(text);
int begin = 0;
int end = 0;
for (int i = 0; i < sentenceOffsets.length; i++) {
end = begin
+ (text.substring(begin, sentenceOffsets[i]).trim())
.length();
sentences.add(text.substring(begin, end));
begin = sentenceOffsets[i];
}
} catch (Exception e) {
LOG.warn("failed to extract sentences from text '" + text + "'", e);
}
return sentences;
} | [
"public",
"static",
"List",
"<",
"String",
">",
"splitSentence2",
"(",
"String",
"text",
",",
"SentenceDetector",
"sd",
")",
"{",
"List",
"<",
"String",
">",
"sentences",
"=",
"new",
"ArrayList",
"<",
"String",
">",
"(",
")",
";",
"try",
"{",
"int",
"sentenceOffsets",
"[",
"]",
"=",
"sd",
".",
"sentPosDetect",
"(",
"text",
")",
";",
"int",
"begin",
"=",
"0",
";",
"int",
"end",
"=",
"0",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"sentenceOffsets",
".",
"length",
";",
"i",
"++",
")",
"{",
"end",
"=",
"begin",
"+",
"(",
"text",
".",
"substring",
"(",
"begin",
",",
"sentenceOffsets",
"[",
"i",
"]",
")",
".",
"trim",
"(",
")",
")",
".",
"length",
"(",
")",
";",
"sentences",
".",
"add",
"(",
"text",
".",
"substring",
"(",
"begin",
",",
"end",
")",
")",
";",
"begin",
"=",
"sentenceOffsets",
"[",
"i",
"]",
";",
"}",
"}",
"catch",
"(",
"Exception",
"e",
")",
"{",
"LOG",
".",
"warn",
"(",
"\"failed to extract sentences from text '\"",
"+",
"text",
"+",
"\"'\"",
",",
"e",
")",
";",
"}",
"return",
"sentences",
";",
"}"
] | Conv. method to use the SentenceDetector directly; create it with the
method below | [
"Conv",
".",
"method",
"to",
"use",
"the",
"SentenceDetector",
"directly",
";",
"create",
"it",
"with",
"the",
"method",
"below"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_opennlp/src/main/java/ch/epfl/bbp/uima/ae/OpenNlpHelper.java#L73-L91 |
141,033 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/de/julielab/jules/types/EventMention.java | EventMention.getPolarity | public String getPolarity() {
if (EventMention_Type.featOkTst && ((EventMention_Type)jcasType).casFeat_polarity == null)
jcasType.jcas.throwFeatMissing("polarity", "de.julielab.jules.types.EventMention");
return jcasType.ll_cas.ll_getStringValue(addr, ((EventMention_Type)jcasType).casFeatCode_polarity);} | java | public String getPolarity() {
if (EventMention_Type.featOkTst && ((EventMention_Type)jcasType).casFeat_polarity == null)
jcasType.jcas.throwFeatMissing("polarity", "de.julielab.jules.types.EventMention");
return jcasType.ll_cas.ll_getStringValue(addr, ((EventMention_Type)jcasType).casFeatCode_polarity);} | [
"public",
"String",
"getPolarity",
"(",
")",
"{",
"if",
"(",
"EventMention_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"EventMention_Type",
")",
"jcasType",
")",
".",
"casFeat_polarity",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"polarity\"",
",",
"\"de.julielab.jules.types.EventMention\"",
")",
";",
"return",
"jcasType",
".",
"ll_cas",
".",
"ll_getStringValue",
"(",
"addr",
",",
"(",
"(",
"EventMention_Type",
")",
"jcasType",
")",
".",
"casFeatCode_polarity",
")",
";",
"}"
] | getter for polarity - gets
@generated
@return value of the feature | [
"getter",
"for",
"polarity",
"-",
"gets"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/EventMention.java#L130-L133 |
141,034 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/de/julielab/jules/types/EventMention.java | EventMention.getTrigger | public EventTrigger getTrigger() {
if (EventMention_Type.featOkTst && ((EventMention_Type)jcasType).casFeat_trigger == null)
jcasType.jcas.throwFeatMissing("trigger", "de.julielab.jules.types.EventMention");
return (EventTrigger)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((EventMention_Type)jcasType).casFeatCode_trigger)));} | java | public EventTrigger getTrigger() {
if (EventMention_Type.featOkTst && ((EventMention_Type)jcasType).casFeat_trigger == null)
jcasType.jcas.throwFeatMissing("trigger", "de.julielab.jules.types.EventMention");
return (EventTrigger)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((EventMention_Type)jcasType).casFeatCode_trigger)));} | [
"public",
"EventTrigger",
"getTrigger",
"(",
")",
"{",
"if",
"(",
"EventMention_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"EventMention_Type",
")",
"jcasType",
")",
".",
"casFeat_trigger",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"trigger\"",
",",
"\"de.julielab.jules.types.EventMention\"",
")",
";",
"return",
"(",
"EventTrigger",
")",
"(",
"jcasType",
".",
"ll_cas",
".",
"ll_getFSForRef",
"(",
"jcasType",
".",
"ll_cas",
".",
"ll_getRefValue",
"(",
"addr",
",",
"(",
"(",
"EventMention_Type",
")",
"jcasType",
")",
".",
"casFeatCode_trigger",
")",
")",
")",
";",
"}"
] | getter for trigger - gets
@generated
@return value of the feature | [
"getter",
"for",
"trigger",
"-",
"gets"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/EventMention.java#L218-L221 |
141,035 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/de/julielab/jules/types/EventMention.java | EventMention.setTrigger | public void setTrigger(EventTrigger v) {
if (EventMention_Type.featOkTst && ((EventMention_Type)jcasType).casFeat_trigger == null)
jcasType.jcas.throwFeatMissing("trigger", "de.julielab.jules.types.EventMention");
jcasType.ll_cas.ll_setRefValue(addr, ((EventMention_Type)jcasType).casFeatCode_trigger, jcasType.ll_cas.ll_getFSRef(v));} | java | public void setTrigger(EventTrigger v) {
if (EventMention_Type.featOkTst && ((EventMention_Type)jcasType).casFeat_trigger == null)
jcasType.jcas.throwFeatMissing("trigger", "de.julielab.jules.types.EventMention");
jcasType.ll_cas.ll_setRefValue(addr, ((EventMention_Type)jcasType).casFeatCode_trigger, jcasType.ll_cas.ll_getFSRef(v));} | [
"public",
"void",
"setTrigger",
"(",
"EventTrigger",
"v",
")",
"{",
"if",
"(",
"EventMention_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"EventMention_Type",
")",
"jcasType",
")",
".",
"casFeat_trigger",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"trigger\"",
",",
"\"de.julielab.jules.types.EventMention\"",
")",
";",
"jcasType",
".",
"ll_cas",
".",
"ll_setRefValue",
"(",
"addr",
",",
"(",
"(",
"EventMention_Type",
")",
"jcasType",
")",
".",
"casFeatCode_trigger",
",",
"jcasType",
".",
"ll_cas",
".",
"ll_getFSRef",
"(",
"v",
")",
")",
";",
"}"
] | setter for trigger - sets
@generated
@param v value to set into the feature | [
"setter",
"for",
"trigger",
"-",
"sets"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/EventMention.java#L227-L230 |
141,036 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/de/julielab/jules/types/ace/EventArgument.java | EventArgument.getRefid | public String getRefid() {
if (EventArgument_Type.featOkTst && ((EventArgument_Type)jcasType).casFeat_refid == null)
jcasType.jcas.throwFeatMissing("refid", "de.julielab.jules.types.ace.EventArgument");
return jcasType.ll_cas.ll_getStringValue(addr, ((EventArgument_Type)jcasType).casFeatCode_refid);} | java | public String getRefid() {
if (EventArgument_Type.featOkTst && ((EventArgument_Type)jcasType).casFeat_refid == null)
jcasType.jcas.throwFeatMissing("refid", "de.julielab.jules.types.ace.EventArgument");
return jcasType.ll_cas.ll_getStringValue(addr, ((EventArgument_Type)jcasType).casFeatCode_refid);} | [
"public",
"String",
"getRefid",
"(",
")",
"{",
"if",
"(",
"EventArgument_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"EventArgument_Type",
")",
"jcasType",
")",
".",
"casFeat_refid",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"refid\"",
",",
"\"de.julielab.jules.types.ace.EventArgument\"",
")",
";",
"return",
"jcasType",
".",
"ll_cas",
".",
"ll_getStringValue",
"(",
"addr",
",",
"(",
"(",
"EventArgument_Type",
")",
"jcasType",
")",
".",
"casFeatCode_refid",
")",
";",
"}"
] | getter for refid - gets
@generated
@return value of the feature | [
"getter",
"for",
"refid",
"-",
"gets"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/ace/EventArgument.java#L107-L110 |
141,037 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/de/julielab/jules/types/ace/EventArgument.java | EventArgument.setRefid | public void setRefid(String v) {
if (EventArgument_Type.featOkTst && ((EventArgument_Type)jcasType).casFeat_refid == null)
jcasType.jcas.throwFeatMissing("refid", "de.julielab.jules.types.ace.EventArgument");
jcasType.ll_cas.ll_setStringValue(addr, ((EventArgument_Type)jcasType).casFeatCode_refid, v);} | java | public void setRefid(String v) {
if (EventArgument_Type.featOkTst && ((EventArgument_Type)jcasType).casFeat_refid == null)
jcasType.jcas.throwFeatMissing("refid", "de.julielab.jules.types.ace.EventArgument");
jcasType.ll_cas.ll_setStringValue(addr, ((EventArgument_Type)jcasType).casFeatCode_refid, v);} | [
"public",
"void",
"setRefid",
"(",
"String",
"v",
")",
"{",
"if",
"(",
"EventArgument_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"EventArgument_Type",
")",
"jcasType",
")",
".",
"casFeat_refid",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"refid\"",
",",
"\"de.julielab.jules.types.ace.EventArgument\"",
")",
";",
"jcasType",
".",
"ll_cas",
".",
"ll_setStringValue",
"(",
"addr",
",",
"(",
"(",
"EventArgument_Type",
")",
"jcasType",
")",
".",
"casFeatCode_refid",
",",
"v",
")",
";",
"}"
] | setter for refid - sets
@generated
@param v value to set into the feature | [
"setter",
"for",
"refid",
"-",
"sets"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/ace/EventArgument.java#L116-L119 |
141,038 | BlueBrain/bluima | modules/bluima_utils/src/main/java/ch/epfl/bbp/uima/word2vec/Word2VecMore.java | Word2VecMore.distanceMax | public Set<WordEntry> distanceMax(String word) {
float[] wordVector = getWordVector(word);
if (wordVector == null) {
return null;
}
Set<Entry<String, float[]>> entrySet = vocabulary.entrySet();
float[] tempVector = null;
List<WordEntry> wordEntrys = new ArrayList<WordEntry>(topNSize);
for (Entry<String, float[]> entry : entrySet) {
String name = entry.getKey();
if (name.equals(word)) {
continue;
}
float minDist = 10, maxDist = -10;
tempVector = entry.getValue();
for (int i = 0; i < wordVector.length; i++) {
maxDist = Math.max(wordVector[i] * tempVector[i], maxDist);
minDist = Math.min(wordVector[i] * tempVector[i], minDist);
}
insertTopN(name, maxDist + minDist, wordEntrys);
}
return new TreeSet<WordEntry>(wordEntrys);
} | java | public Set<WordEntry> distanceMax(String word) {
float[] wordVector = getWordVector(word);
if (wordVector == null) {
return null;
}
Set<Entry<String, float[]>> entrySet = vocabulary.entrySet();
float[] tempVector = null;
List<WordEntry> wordEntrys = new ArrayList<WordEntry>(topNSize);
for (Entry<String, float[]> entry : entrySet) {
String name = entry.getKey();
if (name.equals(word)) {
continue;
}
float minDist = 10, maxDist = -10;
tempVector = entry.getValue();
for (int i = 0; i < wordVector.length; i++) {
maxDist = Math.max(wordVector[i] * tempVector[i], maxDist);
minDist = Math.min(wordVector[i] * tempVector[i], minDist);
}
insertTopN(name, maxDist + minDist, wordEntrys);
}
return new TreeSet<WordEntry>(wordEntrys);
} | [
"public",
"Set",
"<",
"WordEntry",
">",
"distanceMax",
"(",
"String",
"word",
")",
"{",
"float",
"[",
"]",
"wordVector",
"=",
"getWordVector",
"(",
"word",
")",
";",
"if",
"(",
"wordVector",
"==",
"null",
")",
"{",
"return",
"null",
";",
"}",
"Set",
"<",
"Entry",
"<",
"String",
",",
"float",
"[",
"]",
">",
">",
"entrySet",
"=",
"vocabulary",
".",
"entrySet",
"(",
")",
";",
"float",
"[",
"]",
"tempVector",
"=",
"null",
";",
"List",
"<",
"WordEntry",
">",
"wordEntrys",
"=",
"new",
"ArrayList",
"<",
"WordEntry",
">",
"(",
"topNSize",
")",
";",
"for",
"(",
"Entry",
"<",
"String",
",",
"float",
"[",
"]",
">",
"entry",
":",
"entrySet",
")",
"{",
"String",
"name",
"=",
"entry",
".",
"getKey",
"(",
")",
";",
"if",
"(",
"name",
".",
"equals",
"(",
"word",
")",
")",
"{",
"continue",
";",
"}",
"float",
"minDist",
"=",
"10",
",",
"maxDist",
"=",
"-",
"10",
";",
"tempVector",
"=",
"entry",
".",
"getValue",
"(",
")",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"wordVector",
".",
"length",
";",
"i",
"++",
")",
"{",
"maxDist",
"=",
"Math",
".",
"max",
"(",
"wordVector",
"[",
"i",
"]",
"*",
"tempVector",
"[",
"i",
"]",
",",
"maxDist",
")",
";",
"minDist",
"=",
"Math",
".",
"min",
"(",
"wordVector",
"[",
"i",
"]",
"*",
"tempVector",
"[",
"i",
"]",
",",
"minDist",
")",
";",
"}",
"insertTopN",
"(",
"name",
",",
"maxDist",
"+",
"minDist",
",",
"wordEntrys",
")",
";",
"}",
"return",
"new",
"TreeSet",
"<",
"WordEntry",
">",
"(",
"wordEntrys",
")",
";",
"}"
] | FAIL only counting min + max distance | [
"FAIL",
"only",
"counting",
"min",
"+",
"max",
"distance"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_utils/src/main/java/ch/epfl/bbp/uima/word2vec/Word2VecMore.java#L66-L89 |
141,039 | BlueBrain/bluima | utils/mallet_utils/src/main/java/cc/mallet/fst/LenientMultiSegmentationEvaluator.java | LenientMultiSegmentationEvaluator.overlap | protected boolean overlap(Pair<Integer, Integer> expected,
Pair<Integer, Integer> actual) {
// // a1 then a2
// if (a2.getBegin() - a1.getEnd() > 0)
// return Position.before;
//
// // a2 then a1
// if (a1.getBegin() - a2.getEnd() > 0)
// return Position.after;
//
// // overlap
// return Position.overlap;
//
if (actual.getKey() >= expected.getKey()
&& actual.getValue() <= expected.getValue()) {
return true;
}
return false;
// full overlap is too lenient
// if (expected.getKey() < actual.getValue()
// && actual.getKey() < expected.getValue()) {
// return true;
// }
// return false;
} | java | protected boolean overlap(Pair<Integer, Integer> expected,
Pair<Integer, Integer> actual) {
// // a1 then a2
// if (a2.getBegin() - a1.getEnd() > 0)
// return Position.before;
//
// // a2 then a1
// if (a1.getBegin() - a2.getEnd() > 0)
// return Position.after;
//
// // overlap
// return Position.overlap;
//
if (actual.getKey() >= expected.getKey()
&& actual.getValue() <= expected.getValue()) {
return true;
}
return false;
// full overlap is too lenient
// if (expected.getKey() < actual.getValue()
// && actual.getKey() < expected.getValue()) {
// return true;
// }
// return false;
} | [
"protected",
"boolean",
"overlap",
"(",
"Pair",
"<",
"Integer",
",",
"Integer",
">",
"expected",
",",
"Pair",
"<",
"Integer",
",",
"Integer",
">",
"actual",
")",
"{",
"// // a1 then a2",
"// if (a2.getBegin() - a1.getEnd() > 0)",
"// return Position.before;",
"//",
"// // a2 then a1",
"// if (a1.getBegin() - a2.getEnd() > 0)",
"// return Position.after;",
"//",
"// // overlap",
"// return Position.overlap;",
"//",
"if",
"(",
"actual",
".",
"getKey",
"(",
")",
">=",
"expected",
".",
"getKey",
"(",
")",
"&&",
"actual",
".",
"getValue",
"(",
")",
"<=",
"expected",
".",
"getValue",
"(",
")",
")",
"{",
"return",
"true",
";",
"}",
"return",
"false",
";",
"// full overlap is too lenient",
"// if (expected.getKey() < actual.getValue()",
"// && actual.getKey() < expected.getValue()) {",
"// return true;",
"// }",
"// return false;",
"}"
] | Here we do a lenient comparison | [
"Here",
"we",
"do",
"a",
"lenient",
"comparison"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/utils/mallet_utils/src/main/java/cc/mallet/fst/LenientMultiSegmentationEvaluator.java#L236-L263 |
141,040 | BlueBrain/bluima | modules/bluima_opennlp/src/main/java/ch/epfl/bbp/shaded/opennlp/tools/sentdetect/SDContextGenerator.java | SDContextGenerator.previousSpaceIndex | private static final int previousSpaceIndex(StringBuffer sb, int seek) {
seek--;
while (seek > 0) {
if (sb.charAt(seek) == ' ') {
while (seek > 0 && sb.charAt(seek - 1) == ' ')
seek--;
return seek;
}
seek--;
}
return 0;
} | java | private static final int previousSpaceIndex(StringBuffer sb, int seek) {
seek--;
while (seek > 0) {
if (sb.charAt(seek) == ' ') {
while (seek > 0 && sb.charAt(seek - 1) == ' ')
seek--;
return seek;
}
seek--;
}
return 0;
} | [
"private",
"static",
"final",
"int",
"previousSpaceIndex",
"(",
"StringBuffer",
"sb",
",",
"int",
"seek",
")",
"{",
"seek",
"--",
";",
"while",
"(",
"seek",
">",
"0",
")",
"{",
"if",
"(",
"sb",
".",
"charAt",
"(",
"seek",
")",
"==",
"'",
"'",
")",
"{",
"while",
"(",
"seek",
">",
"0",
"&&",
"sb",
".",
"charAt",
"(",
"seek",
"-",
"1",
")",
"==",
"'",
"'",
")",
"seek",
"--",
";",
"return",
"seek",
";",
"}",
"seek",
"--",
";",
"}",
"return",
"0",
";",
"}"
] | Finds the index of the nearest space before a specified index.
@param sb The string buffer which contains the text being examined.
@param seek The index to begin searching from.
@return The index which contains the nearest space. | [
"Finds",
"the",
"index",
"of",
"the",
"nearest",
"space",
"before",
"a",
"specified",
"index",
"."
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_opennlp/src/main/java/ch/epfl/bbp/shaded/opennlp/tools/sentdetect/SDContextGenerator.java#L219-L230 |
141,041 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/de/julielab/jules/types/mmax/MMAXPointer.java | MMAXPointer.getTargetList | public FSArray getTargetList() {
if (MMAXPointer_Type.featOkTst && ((MMAXPointer_Type)jcasType).casFeat_targetList == null)
jcasType.jcas.throwFeatMissing("targetList", "de.julielab.jules.types.mmax.MMAXPointer");
return (FSArray)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((MMAXPointer_Type)jcasType).casFeatCode_targetList)));} | java | public FSArray getTargetList() {
if (MMAXPointer_Type.featOkTst && ((MMAXPointer_Type)jcasType).casFeat_targetList == null)
jcasType.jcas.throwFeatMissing("targetList", "de.julielab.jules.types.mmax.MMAXPointer");
return (FSArray)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((MMAXPointer_Type)jcasType).casFeatCode_targetList)));} | [
"public",
"FSArray",
"getTargetList",
"(",
")",
"{",
"if",
"(",
"MMAXPointer_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"MMAXPointer_Type",
")",
"jcasType",
")",
".",
"casFeat_targetList",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"targetList\"",
",",
"\"de.julielab.jules.types.mmax.MMAXPointer\"",
")",
";",
"return",
"(",
"FSArray",
")",
"(",
"jcasType",
".",
"ll_cas",
".",
"ll_getFSForRef",
"(",
"jcasType",
".",
"ll_cas",
".",
"ll_getRefValue",
"(",
"addr",
",",
"(",
"(",
"MMAXPointer_Type",
")",
"jcasType",
")",
".",
"casFeatCode_targetList",
")",
")",
")",
";",
"}"
] | getter for targetList - gets The MMAX annotations the pointer points at.
@generated
@return value of the feature | [
"getter",
"for",
"targetList",
"-",
"gets",
"The",
"MMAX",
"annotations",
"the",
"pointer",
"points",
"at",
"."
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/mmax/MMAXPointer.java#L109-L112 |
141,042 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/de/julielab/jules/types/mmax/MMAXPointer.java | MMAXPointer.setTargetList | public void setTargetList(FSArray v) {
if (MMAXPointer_Type.featOkTst && ((MMAXPointer_Type)jcasType).casFeat_targetList == null)
jcasType.jcas.throwFeatMissing("targetList", "de.julielab.jules.types.mmax.MMAXPointer");
jcasType.ll_cas.ll_setRefValue(addr, ((MMAXPointer_Type)jcasType).casFeatCode_targetList, jcasType.ll_cas.ll_getFSRef(v));} | java | public void setTargetList(FSArray v) {
if (MMAXPointer_Type.featOkTst && ((MMAXPointer_Type)jcasType).casFeat_targetList == null)
jcasType.jcas.throwFeatMissing("targetList", "de.julielab.jules.types.mmax.MMAXPointer");
jcasType.ll_cas.ll_setRefValue(addr, ((MMAXPointer_Type)jcasType).casFeatCode_targetList, jcasType.ll_cas.ll_getFSRef(v));} | [
"public",
"void",
"setTargetList",
"(",
"FSArray",
"v",
")",
"{",
"if",
"(",
"MMAXPointer_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"MMAXPointer_Type",
")",
"jcasType",
")",
".",
"casFeat_targetList",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"targetList\"",
",",
"\"de.julielab.jules.types.mmax.MMAXPointer\"",
")",
";",
"jcasType",
".",
"ll_cas",
".",
"ll_setRefValue",
"(",
"addr",
",",
"(",
"(",
"MMAXPointer_Type",
")",
"jcasType",
")",
".",
"casFeatCode_targetList",
",",
"jcasType",
".",
"ll_cas",
".",
"ll_getFSRef",
"(",
"v",
")",
")",
";",
"}"
] | setter for targetList - sets The MMAX annotations the pointer points at.
@generated
@param v value to set into the feature | [
"setter",
"for",
"targetList",
"-",
"sets",
"The",
"MMAX",
"annotations",
"the",
"pointer",
"points",
"at",
"."
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/mmax/MMAXPointer.java#L118-L121 |
141,043 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/de/julielab/jules/types/mmax/MMAXPointer.java | MMAXPointer.getTargetList | public MMAXAnnotation getTargetList(int i) {
if (MMAXPointer_Type.featOkTst && ((MMAXPointer_Type)jcasType).casFeat_targetList == null)
jcasType.jcas.throwFeatMissing("targetList", "de.julielab.jules.types.mmax.MMAXPointer");
jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((MMAXPointer_Type)jcasType).casFeatCode_targetList), i);
return (MMAXAnnotation)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((MMAXPointer_Type)jcasType).casFeatCode_targetList), i)));} | java | public MMAXAnnotation getTargetList(int i) {
if (MMAXPointer_Type.featOkTst && ((MMAXPointer_Type)jcasType).casFeat_targetList == null)
jcasType.jcas.throwFeatMissing("targetList", "de.julielab.jules.types.mmax.MMAXPointer");
jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((MMAXPointer_Type)jcasType).casFeatCode_targetList), i);
return (MMAXAnnotation)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((MMAXPointer_Type)jcasType).casFeatCode_targetList), i)));} | [
"public",
"MMAXAnnotation",
"getTargetList",
"(",
"int",
"i",
")",
"{",
"if",
"(",
"MMAXPointer_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"MMAXPointer_Type",
")",
"jcasType",
")",
".",
"casFeat_targetList",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"targetList\"",
",",
"\"de.julielab.jules.types.mmax.MMAXPointer\"",
")",
";",
"jcasType",
".",
"jcas",
".",
"checkArrayBounds",
"(",
"jcasType",
".",
"ll_cas",
".",
"ll_getRefValue",
"(",
"addr",
",",
"(",
"(",
"MMAXPointer_Type",
")",
"jcasType",
")",
".",
"casFeatCode_targetList",
")",
",",
"i",
")",
";",
"return",
"(",
"MMAXAnnotation",
")",
"(",
"jcasType",
".",
"ll_cas",
".",
"ll_getFSForRef",
"(",
"jcasType",
".",
"ll_cas",
".",
"ll_getRefArrayValue",
"(",
"jcasType",
".",
"ll_cas",
".",
"ll_getRefValue",
"(",
"addr",
",",
"(",
"(",
"MMAXPointer_Type",
")",
"jcasType",
")",
".",
"casFeatCode_targetList",
")",
",",
"i",
")",
")",
")",
";",
"}"
] | indexed getter for targetList - gets an indexed value - The MMAX annotations the pointer points at.
@generated
@param i index in the array to get
@return value of the element at index i | [
"indexed",
"getter",
"for",
"targetList",
"-",
"gets",
"an",
"indexed",
"value",
"-",
"The",
"MMAX",
"annotations",
"the",
"pointer",
"points",
"at",
"."
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/mmax/MMAXPointer.java#L128-L132 |
141,044 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/de/julielab/jules/types/mmax/MMAXPointer.java | MMAXPointer.setTargetList | public void setTargetList(int i, MMAXAnnotation v) {
if (MMAXPointer_Type.featOkTst && ((MMAXPointer_Type)jcasType).casFeat_targetList == null)
jcasType.jcas.throwFeatMissing("targetList", "de.julielab.jules.types.mmax.MMAXPointer");
jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((MMAXPointer_Type)jcasType).casFeatCode_targetList), i);
jcasType.ll_cas.ll_setRefArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((MMAXPointer_Type)jcasType).casFeatCode_targetList), i, jcasType.ll_cas.ll_getFSRef(v));} | java | public void setTargetList(int i, MMAXAnnotation v) {
if (MMAXPointer_Type.featOkTst && ((MMAXPointer_Type)jcasType).casFeat_targetList == null)
jcasType.jcas.throwFeatMissing("targetList", "de.julielab.jules.types.mmax.MMAXPointer");
jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((MMAXPointer_Type)jcasType).casFeatCode_targetList), i);
jcasType.ll_cas.ll_setRefArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((MMAXPointer_Type)jcasType).casFeatCode_targetList), i, jcasType.ll_cas.ll_getFSRef(v));} | [
"public",
"void",
"setTargetList",
"(",
"int",
"i",
",",
"MMAXAnnotation",
"v",
")",
"{",
"if",
"(",
"MMAXPointer_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"MMAXPointer_Type",
")",
"jcasType",
")",
".",
"casFeat_targetList",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"targetList\"",
",",
"\"de.julielab.jules.types.mmax.MMAXPointer\"",
")",
";",
"jcasType",
".",
"jcas",
".",
"checkArrayBounds",
"(",
"jcasType",
".",
"ll_cas",
".",
"ll_getRefValue",
"(",
"addr",
",",
"(",
"(",
"MMAXPointer_Type",
")",
"jcasType",
")",
".",
"casFeatCode_targetList",
")",
",",
"i",
")",
";",
"jcasType",
".",
"ll_cas",
".",
"ll_setRefArrayValue",
"(",
"jcasType",
".",
"ll_cas",
".",
"ll_getRefValue",
"(",
"addr",
",",
"(",
"(",
"MMAXPointer_Type",
")",
"jcasType",
")",
".",
"casFeatCode_targetList",
")",
",",
"i",
",",
"jcasType",
".",
"ll_cas",
".",
"ll_getFSRef",
"(",
"v",
")",
")",
";",
"}"
] | indexed setter for targetList - sets an indexed value - The MMAX annotations the pointer points at.
@generated
@param i index in the array to set
@param v value to set into the array | [
"indexed",
"setter",
"for",
"targetList",
"-",
"sets",
"an",
"indexed",
"value",
"-",
"The",
"MMAX",
"annotations",
"the",
"pointer",
"points",
"at",
"."
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/mmax/MMAXPointer.java#L139-L143 |
141,045 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/Keep.java | Keep.getEnclosedAnnot | public Annotation getEnclosedAnnot() {
if (Keep_Type.featOkTst && ((Keep_Type)jcasType).casFeat_enclosedAnnot == null)
jcasType.jcas.throwFeatMissing("enclosedAnnot", "ch.epfl.bbp.uima.types.Keep");
return (Annotation)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((Keep_Type)jcasType).casFeatCode_enclosedAnnot)));} | java | public Annotation getEnclosedAnnot() {
if (Keep_Type.featOkTst && ((Keep_Type)jcasType).casFeat_enclosedAnnot == null)
jcasType.jcas.throwFeatMissing("enclosedAnnot", "ch.epfl.bbp.uima.types.Keep");
return (Annotation)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((Keep_Type)jcasType).casFeatCode_enclosedAnnot)));} | [
"public",
"Annotation",
"getEnclosedAnnot",
"(",
")",
"{",
"if",
"(",
"Keep_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"Keep_Type",
")",
"jcasType",
")",
".",
"casFeat_enclosedAnnot",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"enclosedAnnot\"",
",",
"\"ch.epfl.bbp.uima.types.Keep\"",
")",
";",
"return",
"(",
"Annotation",
")",
"(",
"jcasType",
".",
"ll_cas",
".",
"ll_getFSForRef",
"(",
"jcasType",
".",
"ll_cas",
".",
"ll_getRefValue",
"(",
"addr",
",",
"(",
"(",
"Keep_Type",
")",
"jcasType",
")",
".",
"casFeatCode_enclosedAnnot",
")",
")",
")",
";",
"}"
] | getter for enclosedAnnot - gets
@generated
@return value of the feature | [
"getter",
"for",
"enclosedAnnot",
"-",
"gets"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/Keep.java#L86-L89 |
141,046 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/Keep.java | Keep.setEnclosedAnnot | public void setEnclosedAnnot(Annotation v) {
if (Keep_Type.featOkTst && ((Keep_Type)jcasType).casFeat_enclosedAnnot == null)
jcasType.jcas.throwFeatMissing("enclosedAnnot", "ch.epfl.bbp.uima.types.Keep");
jcasType.ll_cas.ll_setRefValue(addr, ((Keep_Type)jcasType).casFeatCode_enclosedAnnot, jcasType.ll_cas.ll_getFSRef(v));} | java | public void setEnclosedAnnot(Annotation v) {
if (Keep_Type.featOkTst && ((Keep_Type)jcasType).casFeat_enclosedAnnot == null)
jcasType.jcas.throwFeatMissing("enclosedAnnot", "ch.epfl.bbp.uima.types.Keep");
jcasType.ll_cas.ll_setRefValue(addr, ((Keep_Type)jcasType).casFeatCode_enclosedAnnot, jcasType.ll_cas.ll_getFSRef(v));} | [
"public",
"void",
"setEnclosedAnnot",
"(",
"Annotation",
"v",
")",
"{",
"if",
"(",
"Keep_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"Keep_Type",
")",
"jcasType",
")",
".",
"casFeat_enclosedAnnot",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"enclosedAnnot\"",
",",
"\"ch.epfl.bbp.uima.types.Keep\"",
")",
";",
"jcasType",
".",
"ll_cas",
".",
"ll_setRefValue",
"(",
"addr",
",",
"(",
"(",
"Keep_Type",
")",
"jcasType",
")",
".",
"casFeatCode_enclosedAnnot",
",",
"jcasType",
".",
"ll_cas",
".",
"ll_getFSRef",
"(",
"v",
")",
")",
";",
"}"
] | setter for enclosedAnnot - sets
@generated
@param v value to set into the feature | [
"setter",
"for",
"enclosedAnnot",
"-",
"sets"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/Keep.java#L95-L98 |
141,047 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/Keep.java | Keep.getNormalizedText | public String getNormalizedText() {
if (Keep_Type.featOkTst && ((Keep_Type)jcasType).casFeat_normalizedText == null)
jcasType.jcas.throwFeatMissing("normalizedText", "ch.epfl.bbp.uima.types.Keep");
return jcasType.ll_cas.ll_getStringValue(addr, ((Keep_Type)jcasType).casFeatCode_normalizedText);} | java | public String getNormalizedText() {
if (Keep_Type.featOkTst && ((Keep_Type)jcasType).casFeat_normalizedText == null)
jcasType.jcas.throwFeatMissing("normalizedText", "ch.epfl.bbp.uima.types.Keep");
return jcasType.ll_cas.ll_getStringValue(addr, ((Keep_Type)jcasType).casFeatCode_normalizedText);} | [
"public",
"String",
"getNormalizedText",
"(",
")",
"{",
"if",
"(",
"Keep_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"Keep_Type",
")",
"jcasType",
")",
".",
"casFeat_normalizedText",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"normalizedText\"",
",",
"\"ch.epfl.bbp.uima.types.Keep\"",
")",
";",
"return",
"jcasType",
".",
"ll_cas",
".",
"ll_getStringValue",
"(",
"addr",
",",
"(",
"(",
"Keep_Type",
")",
"jcasType",
")",
".",
"casFeatCode_normalizedText",
")",
";",
"}"
] | getter for normalizedText - gets
@generated
@return value of the feature | [
"getter",
"for",
"normalizedText",
"-",
"gets"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/Keep.java#L108-L111 |
141,048 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/Keep.java | Keep.setNormalizedText | public void setNormalizedText(String v) {
if (Keep_Type.featOkTst && ((Keep_Type)jcasType).casFeat_normalizedText == null)
jcasType.jcas.throwFeatMissing("normalizedText", "ch.epfl.bbp.uima.types.Keep");
jcasType.ll_cas.ll_setStringValue(addr, ((Keep_Type)jcasType).casFeatCode_normalizedText, v);} | java | public void setNormalizedText(String v) {
if (Keep_Type.featOkTst && ((Keep_Type)jcasType).casFeat_normalizedText == null)
jcasType.jcas.throwFeatMissing("normalizedText", "ch.epfl.bbp.uima.types.Keep");
jcasType.ll_cas.ll_setStringValue(addr, ((Keep_Type)jcasType).casFeatCode_normalizedText, v);} | [
"public",
"void",
"setNormalizedText",
"(",
"String",
"v",
")",
"{",
"if",
"(",
"Keep_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"Keep_Type",
")",
"jcasType",
")",
".",
"casFeat_normalizedText",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"normalizedText\"",
",",
"\"ch.epfl.bbp.uima.types.Keep\"",
")",
";",
"jcasType",
".",
"ll_cas",
".",
"ll_setStringValue",
"(",
"addr",
",",
"(",
"(",
"Keep_Type",
")",
"jcasType",
")",
".",
"casFeatCode_normalizedText",
",",
"v",
")",
";",
"}"
] | setter for normalizedText - sets
@generated
@param v value to set into the feature | [
"setter",
"for",
"normalizedText",
"-",
"sets"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/Keep.java#L117-L120 |
141,049 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/de/julielab/jules/types/PubType.java | PubType.getPubDate | public Date getPubDate() {
if (PubType_Type.featOkTst && ((PubType_Type)jcasType).casFeat_pubDate == null)
jcasType.jcas.throwFeatMissing("pubDate", "de.julielab.jules.types.PubType");
return (Date)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((PubType_Type)jcasType).casFeatCode_pubDate)));} | java | public Date getPubDate() {
if (PubType_Type.featOkTst && ((PubType_Type)jcasType).casFeat_pubDate == null)
jcasType.jcas.throwFeatMissing("pubDate", "de.julielab.jules.types.PubType");
return (Date)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((PubType_Type)jcasType).casFeatCode_pubDate)));} | [
"public",
"Date",
"getPubDate",
"(",
")",
"{",
"if",
"(",
"PubType_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"PubType_Type",
")",
"jcasType",
")",
".",
"casFeat_pubDate",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"pubDate\"",
",",
"\"de.julielab.jules.types.PubType\"",
")",
";",
"return",
"(",
"Date",
")",
"(",
"jcasType",
".",
"ll_cas",
".",
"ll_getFSForRef",
"(",
"jcasType",
".",
"ll_cas",
".",
"ll_getRefValue",
"(",
"addr",
",",
"(",
"(",
"PubType_Type",
")",
"jcasType",
")",
".",
"casFeatCode_pubDate",
")",
")",
")",
";",
"}"
] | getter for pubDate - gets The date on which the document was published, O
@generated
@return value of the feature | [
"getter",
"for",
"pubDate",
"-",
"gets",
"The",
"date",
"on",
"which",
"the",
"document",
"was",
"published",
"O"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/PubType.java#L107-L110 |
141,050 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/de/julielab/jules/types/PubType.java | PubType.setPubDate | public void setPubDate(Date v) {
if (PubType_Type.featOkTst && ((PubType_Type)jcasType).casFeat_pubDate == null)
jcasType.jcas.throwFeatMissing("pubDate", "de.julielab.jules.types.PubType");
jcasType.ll_cas.ll_setRefValue(addr, ((PubType_Type)jcasType).casFeatCode_pubDate, jcasType.ll_cas.ll_getFSRef(v));} | java | public void setPubDate(Date v) {
if (PubType_Type.featOkTst && ((PubType_Type)jcasType).casFeat_pubDate == null)
jcasType.jcas.throwFeatMissing("pubDate", "de.julielab.jules.types.PubType");
jcasType.ll_cas.ll_setRefValue(addr, ((PubType_Type)jcasType).casFeatCode_pubDate, jcasType.ll_cas.ll_getFSRef(v));} | [
"public",
"void",
"setPubDate",
"(",
"Date",
"v",
")",
"{",
"if",
"(",
"PubType_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"PubType_Type",
")",
"jcasType",
")",
".",
"casFeat_pubDate",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"pubDate\"",
",",
"\"de.julielab.jules.types.PubType\"",
")",
";",
"jcasType",
".",
"ll_cas",
".",
"ll_setRefValue",
"(",
"addr",
",",
"(",
"(",
"PubType_Type",
")",
"jcasType",
")",
".",
"casFeatCode_pubDate",
",",
"jcasType",
".",
"ll_cas",
".",
"ll_getFSRef",
"(",
"v",
")",
")",
";",
"}"
] | setter for pubDate - sets The date on which the document was published, O
@generated
@param v value to set into the feature | [
"setter",
"for",
"pubDate",
"-",
"sets",
"The",
"date",
"on",
"which",
"the",
"document",
"was",
"published",
"O"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/PubType.java#L116-L119 |
141,051 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/de/julielab/jules/types/PTBConstituent.java | PTBConstituent.getGramRole | public String getGramRole() {
if (PTBConstituent_Type.featOkTst && ((PTBConstituent_Type)jcasType).casFeat_gramRole == null)
jcasType.jcas.throwFeatMissing("gramRole", "de.julielab.jules.types.PTBConstituent");
return jcasType.ll_cas.ll_getStringValue(addr, ((PTBConstituent_Type)jcasType).casFeatCode_gramRole);} | java | public String getGramRole() {
if (PTBConstituent_Type.featOkTst && ((PTBConstituent_Type)jcasType).casFeat_gramRole == null)
jcasType.jcas.throwFeatMissing("gramRole", "de.julielab.jules.types.PTBConstituent");
return jcasType.ll_cas.ll_getStringValue(addr, ((PTBConstituent_Type)jcasType).casFeatCode_gramRole);} | [
"public",
"String",
"getGramRole",
"(",
")",
"{",
"if",
"(",
"PTBConstituent_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"PTBConstituent_Type",
")",
"jcasType",
")",
".",
"casFeat_gramRole",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"gramRole\"",
",",
"\"de.julielab.jules.types.PTBConstituent\"",
")",
";",
"return",
"jcasType",
".",
"ll_cas",
".",
"ll_getStringValue",
"(",
"addr",
",",
"(",
"(",
"PTBConstituent_Type",
")",
"jcasType",
")",
".",
"casFeatCode_gramRole",
")",
";",
"}"
] | getter for gramRole - gets Grammatical role, O
@generated
@return value of the feature | [
"getter",
"for",
"gramRole",
"-",
"gets",
"Grammatical",
"role",
"O"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/PTBConstituent.java#L107-L110 |
141,052 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/de/julielab/jules/types/PTBConstituent.java | PTBConstituent.setGramRole | public void setGramRole(String v) {
if (PTBConstituent_Type.featOkTst && ((PTBConstituent_Type)jcasType).casFeat_gramRole == null)
jcasType.jcas.throwFeatMissing("gramRole", "de.julielab.jules.types.PTBConstituent");
jcasType.ll_cas.ll_setStringValue(addr, ((PTBConstituent_Type)jcasType).casFeatCode_gramRole, v);} | java | public void setGramRole(String v) {
if (PTBConstituent_Type.featOkTst && ((PTBConstituent_Type)jcasType).casFeat_gramRole == null)
jcasType.jcas.throwFeatMissing("gramRole", "de.julielab.jules.types.PTBConstituent");
jcasType.ll_cas.ll_setStringValue(addr, ((PTBConstituent_Type)jcasType).casFeatCode_gramRole, v);} | [
"public",
"void",
"setGramRole",
"(",
"String",
"v",
")",
"{",
"if",
"(",
"PTBConstituent_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"PTBConstituent_Type",
")",
"jcasType",
")",
".",
"casFeat_gramRole",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"gramRole\"",
",",
"\"de.julielab.jules.types.PTBConstituent\"",
")",
";",
"jcasType",
".",
"ll_cas",
".",
"ll_setStringValue",
"(",
"addr",
",",
"(",
"(",
"PTBConstituent_Type",
")",
"jcasType",
")",
".",
"casFeatCode_gramRole",
",",
"v",
")",
";",
"}"
] | setter for gramRole - sets Grammatical role, O
@generated
@param v value to set into the feature | [
"setter",
"for",
"gramRole",
"-",
"sets",
"Grammatical",
"role",
"O"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/PTBConstituent.java#L116-L119 |
141,053 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/de/julielab/jules/types/PTBConstituent.java | PTBConstituent.getAdv | public String getAdv() {
if (PTBConstituent_Type.featOkTst && ((PTBConstituent_Type)jcasType).casFeat_adv == null)
jcasType.jcas.throwFeatMissing("adv", "de.julielab.jules.types.PTBConstituent");
return jcasType.ll_cas.ll_getStringValue(addr, ((PTBConstituent_Type)jcasType).casFeatCode_adv);} | java | public String getAdv() {
if (PTBConstituent_Type.featOkTst && ((PTBConstituent_Type)jcasType).casFeat_adv == null)
jcasType.jcas.throwFeatMissing("adv", "de.julielab.jules.types.PTBConstituent");
return jcasType.ll_cas.ll_getStringValue(addr, ((PTBConstituent_Type)jcasType).casFeatCode_adv);} | [
"public",
"String",
"getAdv",
"(",
")",
"{",
"if",
"(",
"PTBConstituent_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"PTBConstituent_Type",
")",
"jcasType",
")",
".",
"casFeat_adv",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"adv\"",
",",
"\"de.julielab.jules.types.PTBConstituent\"",
")",
";",
"return",
"jcasType",
".",
"ll_cas",
".",
"ll_getStringValue",
"(",
"addr",
",",
"(",
"(",
"PTBConstituent_Type",
")",
"jcasType",
")",
".",
"casFeatCode_adv",
")",
";",
"}"
] | getter for adv - gets Adverbials are generally VP adjuncts.
@generated
@return value of the feature | [
"getter",
"for",
"adv",
"-",
"gets",
"Adverbials",
"are",
"generally",
"VP",
"adjuncts",
"."
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/PTBConstituent.java#L129-L132 |
141,054 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/de/julielab/jules/types/PTBConstituent.java | PTBConstituent.setAdv | public void setAdv(String v) {
if (PTBConstituent_Type.featOkTst && ((PTBConstituent_Type)jcasType).casFeat_adv == null)
jcasType.jcas.throwFeatMissing("adv", "de.julielab.jules.types.PTBConstituent");
jcasType.ll_cas.ll_setStringValue(addr, ((PTBConstituent_Type)jcasType).casFeatCode_adv, v);} | java | public void setAdv(String v) {
if (PTBConstituent_Type.featOkTst && ((PTBConstituent_Type)jcasType).casFeat_adv == null)
jcasType.jcas.throwFeatMissing("adv", "de.julielab.jules.types.PTBConstituent");
jcasType.ll_cas.ll_setStringValue(addr, ((PTBConstituent_Type)jcasType).casFeatCode_adv, v);} | [
"public",
"void",
"setAdv",
"(",
"String",
"v",
")",
"{",
"if",
"(",
"PTBConstituent_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"PTBConstituent_Type",
")",
"jcasType",
")",
".",
"casFeat_adv",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"adv\"",
",",
"\"de.julielab.jules.types.PTBConstituent\"",
")",
";",
"jcasType",
".",
"ll_cas",
".",
"ll_setStringValue",
"(",
"addr",
",",
"(",
"(",
"PTBConstituent_Type",
")",
"jcasType",
")",
".",
"casFeatCode_adv",
",",
"v",
")",
";",
"}"
] | setter for adv - sets Adverbials are generally VP adjuncts.
@generated
@param v value to set into the feature | [
"setter",
"for",
"adv",
"-",
"sets",
"Adverbials",
"are",
"generally",
"VP",
"adjuncts",
"."
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/PTBConstituent.java#L138-L141 |
141,055 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/de/julielab/jules/types/PTBConstituent.java | PTBConstituent.getMisc | public String getMisc() {
if (PTBConstituent_Type.featOkTst && ((PTBConstituent_Type)jcasType).casFeat_misc == null)
jcasType.jcas.throwFeatMissing("misc", "de.julielab.jules.types.PTBConstituent");
return jcasType.ll_cas.ll_getStringValue(addr, ((PTBConstituent_Type)jcasType).casFeatCode_misc);} | java | public String getMisc() {
if (PTBConstituent_Type.featOkTst && ((PTBConstituent_Type)jcasType).casFeat_misc == null)
jcasType.jcas.throwFeatMissing("misc", "de.julielab.jules.types.PTBConstituent");
return jcasType.ll_cas.ll_getStringValue(addr, ((PTBConstituent_Type)jcasType).casFeatCode_misc);} | [
"public",
"String",
"getMisc",
"(",
")",
"{",
"if",
"(",
"PTBConstituent_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"PTBConstituent_Type",
")",
"jcasType",
")",
".",
"casFeat_misc",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"misc\"",
",",
"\"de.julielab.jules.types.PTBConstituent\"",
")",
";",
"return",
"jcasType",
".",
"ll_cas",
".",
"ll_getStringValue",
"(",
"addr",
",",
"(",
"(",
"PTBConstituent_Type",
")",
"jcasType",
")",
".",
"casFeatCode_misc",
")",
";",
"}"
] | getter for misc - gets Miscellaneous
@generated
@return value of the feature | [
"getter",
"for",
"misc",
"-",
"gets",
"Miscellaneous"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/PTBConstituent.java#L151-L154 |
141,056 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/de/julielab/jules/types/PTBConstituent.java | PTBConstituent.setMisc | public void setMisc(String v) {
if (PTBConstituent_Type.featOkTst && ((PTBConstituent_Type)jcasType).casFeat_misc == null)
jcasType.jcas.throwFeatMissing("misc", "de.julielab.jules.types.PTBConstituent");
jcasType.ll_cas.ll_setStringValue(addr, ((PTBConstituent_Type)jcasType).casFeatCode_misc, v);} | java | public void setMisc(String v) {
if (PTBConstituent_Type.featOkTst && ((PTBConstituent_Type)jcasType).casFeat_misc == null)
jcasType.jcas.throwFeatMissing("misc", "de.julielab.jules.types.PTBConstituent");
jcasType.ll_cas.ll_setStringValue(addr, ((PTBConstituent_Type)jcasType).casFeatCode_misc, v);} | [
"public",
"void",
"setMisc",
"(",
"String",
"v",
")",
"{",
"if",
"(",
"PTBConstituent_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"PTBConstituent_Type",
")",
"jcasType",
")",
".",
"casFeat_misc",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"misc\"",
",",
"\"de.julielab.jules.types.PTBConstituent\"",
")",
";",
"jcasType",
".",
"ll_cas",
".",
"ll_setStringValue",
"(",
"addr",
",",
"(",
"(",
"PTBConstituent_Type",
")",
"jcasType",
")",
".",
"casFeatCode_misc",
",",
"v",
")",
";",
"}"
] | setter for misc - sets Miscellaneous
@generated
@param v value to set into the feature | [
"setter",
"for",
"misc",
"-",
"sets",
"Miscellaneous"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/PTBConstituent.java#L160-L163 |
141,057 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/de/julielab/jules/types/PTBConstituent.java | PTBConstituent.getNullElement | public String getNullElement() {
if (PTBConstituent_Type.featOkTst && ((PTBConstituent_Type)jcasType).casFeat_nullElement == null)
jcasType.jcas.throwFeatMissing("nullElement", "de.julielab.jules.types.PTBConstituent");
return jcasType.ll_cas.ll_getStringValue(addr, ((PTBConstituent_Type)jcasType).casFeatCode_nullElement);} | java | public String getNullElement() {
if (PTBConstituent_Type.featOkTst && ((PTBConstituent_Type)jcasType).casFeat_nullElement == null)
jcasType.jcas.throwFeatMissing("nullElement", "de.julielab.jules.types.PTBConstituent");
return jcasType.ll_cas.ll_getStringValue(addr, ((PTBConstituent_Type)jcasType).casFeatCode_nullElement);} | [
"public",
"String",
"getNullElement",
"(",
")",
"{",
"if",
"(",
"PTBConstituent_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"PTBConstituent_Type",
")",
"jcasType",
")",
".",
"casFeat_nullElement",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"nullElement\"",
",",
"\"de.julielab.jules.types.PTBConstituent\"",
")",
";",
"return",
"jcasType",
".",
"ll_cas",
".",
"ll_getStringValue",
"(",
"addr",
",",
"(",
"(",
"PTBConstituent_Type",
")",
"jcasType",
")",
".",
"casFeatCode_nullElement",
")",
";",
"}"
] | getter for nullElement - gets
@generated
@return value of the feature | [
"getter",
"for",
"nullElement",
"-",
"gets"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/PTBConstituent.java#L173-L176 |
141,058 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/de/julielab/jules/types/PTBConstituent.java | PTBConstituent.setNullElement | public void setNullElement(String v) {
if (PTBConstituent_Type.featOkTst && ((PTBConstituent_Type)jcasType).casFeat_nullElement == null)
jcasType.jcas.throwFeatMissing("nullElement", "de.julielab.jules.types.PTBConstituent");
jcasType.ll_cas.ll_setStringValue(addr, ((PTBConstituent_Type)jcasType).casFeatCode_nullElement, v);} | java | public void setNullElement(String v) {
if (PTBConstituent_Type.featOkTst && ((PTBConstituent_Type)jcasType).casFeat_nullElement == null)
jcasType.jcas.throwFeatMissing("nullElement", "de.julielab.jules.types.PTBConstituent");
jcasType.ll_cas.ll_setStringValue(addr, ((PTBConstituent_Type)jcasType).casFeatCode_nullElement, v);} | [
"public",
"void",
"setNullElement",
"(",
"String",
"v",
")",
"{",
"if",
"(",
"PTBConstituent_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"PTBConstituent_Type",
")",
"jcasType",
")",
".",
"casFeat_nullElement",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"nullElement\"",
",",
"\"de.julielab.jules.types.PTBConstituent\"",
")",
";",
"jcasType",
".",
"ll_cas",
".",
"ll_setStringValue",
"(",
"addr",
",",
"(",
"(",
"PTBConstituent_Type",
")",
"jcasType",
")",
".",
"casFeatCode_nullElement",
",",
"v",
")",
";",
"}"
] | setter for nullElement - sets
@generated
@param v value to set into the feature | [
"setter",
"for",
"nullElement",
"-",
"sets"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/PTBConstituent.java#L182-L185 |
141,059 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/de/julielab/jules/types/PTBConstituent.java | PTBConstituent.getRef | public Constituent getRef() {
if (PTBConstituent_Type.featOkTst && ((PTBConstituent_Type)jcasType).casFeat_ref == null)
jcasType.jcas.throwFeatMissing("ref", "de.julielab.jules.types.PTBConstituent");
return (Constituent)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((PTBConstituent_Type)jcasType).casFeatCode_ref)));} | java | public Constituent getRef() {
if (PTBConstituent_Type.featOkTst && ((PTBConstituent_Type)jcasType).casFeat_ref == null)
jcasType.jcas.throwFeatMissing("ref", "de.julielab.jules.types.PTBConstituent");
return (Constituent)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((PTBConstituent_Type)jcasType).casFeatCode_ref)));} | [
"public",
"Constituent",
"getRef",
"(",
")",
"{",
"if",
"(",
"PTBConstituent_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"PTBConstituent_Type",
")",
"jcasType",
")",
".",
"casFeat_ref",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"ref\"",
",",
"\"de.julielab.jules.types.PTBConstituent\"",
")",
";",
"return",
"(",
"Constituent",
")",
"(",
"jcasType",
".",
"ll_cas",
".",
"ll_getFSForRef",
"(",
"jcasType",
".",
"ll_cas",
".",
"ll_getRefValue",
"(",
"addr",
",",
"(",
"(",
"PTBConstituent_Type",
")",
"jcasType",
")",
".",
"casFeatCode_ref",
")",
")",
")",
";",
"}"
] | getter for ref - gets Th reference from the null constituent to the corresponding lexicalized constituent, O
@generated
@return value of the feature | [
"getter",
"for",
"ref",
"-",
"gets",
"Th",
"reference",
"from",
"the",
"null",
"constituent",
"to",
"the",
"corresponding",
"lexicalized",
"constituent",
"O"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/PTBConstituent.java#L195-L198 |
141,060 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/de/julielab/jules/types/PTBConstituent.java | PTBConstituent.setRef | public void setRef(Constituent v) {
if (PTBConstituent_Type.featOkTst && ((PTBConstituent_Type)jcasType).casFeat_ref == null)
jcasType.jcas.throwFeatMissing("ref", "de.julielab.jules.types.PTBConstituent");
jcasType.ll_cas.ll_setRefValue(addr, ((PTBConstituent_Type)jcasType).casFeatCode_ref, jcasType.ll_cas.ll_getFSRef(v));} | java | public void setRef(Constituent v) {
if (PTBConstituent_Type.featOkTst && ((PTBConstituent_Type)jcasType).casFeat_ref == null)
jcasType.jcas.throwFeatMissing("ref", "de.julielab.jules.types.PTBConstituent");
jcasType.ll_cas.ll_setRefValue(addr, ((PTBConstituent_Type)jcasType).casFeatCode_ref, jcasType.ll_cas.ll_getFSRef(v));} | [
"public",
"void",
"setRef",
"(",
"Constituent",
"v",
")",
"{",
"if",
"(",
"PTBConstituent_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"PTBConstituent_Type",
")",
"jcasType",
")",
".",
"casFeat_ref",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"ref\"",
",",
"\"de.julielab.jules.types.PTBConstituent\"",
")",
";",
"jcasType",
".",
"ll_cas",
".",
"ll_setRefValue",
"(",
"addr",
",",
"(",
"(",
"PTBConstituent_Type",
")",
"jcasType",
")",
".",
"casFeatCode_ref",
",",
"jcasType",
".",
"ll_cas",
".",
"ll_getFSRef",
"(",
"v",
")",
")",
";",
"}"
] | setter for ref - sets Th reference from the null constituent to the corresponding lexicalized constituent, O
@generated
@param v value to set into the feature | [
"setter",
"for",
"ref",
"-",
"sets",
"Th",
"reference",
"from",
"the",
"null",
"constituent",
"to",
"the",
"corresponding",
"lexicalized",
"constituent",
"O"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/PTBConstituent.java#L204-L207 |
141,061 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/de/julielab/jules/types/PTBConstituent.java | PTBConstituent.getMap | public Constituent getMap() {
if (PTBConstituent_Type.featOkTst && ((PTBConstituent_Type)jcasType).casFeat_map == null)
jcasType.jcas.throwFeatMissing("map", "de.julielab.jules.types.PTBConstituent");
return (Constituent)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((PTBConstituent_Type)jcasType).casFeatCode_map)));} | java | public Constituent getMap() {
if (PTBConstituent_Type.featOkTst && ((PTBConstituent_Type)jcasType).casFeat_map == null)
jcasType.jcas.throwFeatMissing("map", "de.julielab.jules.types.PTBConstituent");
return (Constituent)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((PTBConstituent_Type)jcasType).casFeatCode_map)));} | [
"public",
"Constituent",
"getMap",
"(",
")",
"{",
"if",
"(",
"PTBConstituent_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"PTBConstituent_Type",
")",
"jcasType",
")",
".",
"casFeat_map",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"map\"",
",",
"\"de.julielab.jules.types.PTBConstituent\"",
")",
";",
"return",
"(",
"Constituent",
")",
"(",
"jcasType",
".",
"ll_cas",
".",
"ll_getFSForRef",
"(",
"jcasType",
".",
"ll_cas",
".",
"ll_getRefValue",
"(",
"addr",
",",
"(",
"(",
"PTBConstituent_Type",
")",
"jcasType",
")",
".",
"casFeatCode_map",
")",
")",
")",
";",
"}"
] | getter for map - gets In the case of gapping the reference to the corresponding constituent, O
@generated
@return value of the feature | [
"getter",
"for",
"map",
"-",
"gets",
"In",
"the",
"case",
"of",
"gapping",
"the",
"reference",
"to",
"the",
"corresponding",
"constituent",
"O"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/PTBConstituent.java#L217-L220 |
141,062 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/de/julielab/jules/types/PTBConstituent.java | PTBConstituent.setMap | public void setMap(Constituent v) {
if (PTBConstituent_Type.featOkTst && ((PTBConstituent_Type)jcasType).casFeat_map == null)
jcasType.jcas.throwFeatMissing("map", "de.julielab.jules.types.PTBConstituent");
jcasType.ll_cas.ll_setRefValue(addr, ((PTBConstituent_Type)jcasType).casFeatCode_map, jcasType.ll_cas.ll_getFSRef(v));} | java | public void setMap(Constituent v) {
if (PTBConstituent_Type.featOkTst && ((PTBConstituent_Type)jcasType).casFeat_map == null)
jcasType.jcas.throwFeatMissing("map", "de.julielab.jules.types.PTBConstituent");
jcasType.ll_cas.ll_setRefValue(addr, ((PTBConstituent_Type)jcasType).casFeatCode_map, jcasType.ll_cas.ll_getFSRef(v));} | [
"public",
"void",
"setMap",
"(",
"Constituent",
"v",
")",
"{",
"if",
"(",
"PTBConstituent_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"PTBConstituent_Type",
")",
"jcasType",
")",
".",
"casFeat_map",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"map\"",
",",
"\"de.julielab.jules.types.PTBConstituent\"",
")",
";",
"jcasType",
".",
"ll_cas",
".",
"ll_setRefValue",
"(",
"addr",
",",
"(",
"(",
"PTBConstituent_Type",
")",
"jcasType",
")",
".",
"casFeatCode_map",
",",
"jcasType",
".",
"ll_cas",
".",
"ll_getFSRef",
"(",
"v",
")",
")",
";",
"}"
] | setter for map - sets In the case of gapping the reference to the corresponding constituent, O
@generated
@param v value to set into the feature | [
"setter",
"for",
"map",
"-",
"sets",
"In",
"the",
"case",
"of",
"gapping",
"the",
"reference",
"to",
"the",
"corresponding",
"constituent",
"O"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/PTBConstituent.java#L226-L229 |
141,063 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/de/julielab/jules/types/PTBConstituent.java | PTBConstituent.getTpc | public boolean getTpc() {
if (PTBConstituent_Type.featOkTst && ((PTBConstituent_Type)jcasType).casFeat_tpc == null)
jcasType.jcas.throwFeatMissing("tpc", "de.julielab.jules.types.PTBConstituent");
return jcasType.ll_cas.ll_getBooleanValue(addr, ((PTBConstituent_Type)jcasType).casFeatCode_tpc);} | java | public boolean getTpc() {
if (PTBConstituent_Type.featOkTst && ((PTBConstituent_Type)jcasType).casFeat_tpc == null)
jcasType.jcas.throwFeatMissing("tpc", "de.julielab.jules.types.PTBConstituent");
return jcasType.ll_cas.ll_getBooleanValue(addr, ((PTBConstituent_Type)jcasType).casFeatCode_tpc);} | [
"public",
"boolean",
"getTpc",
"(",
")",
"{",
"if",
"(",
"PTBConstituent_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"PTBConstituent_Type",
")",
"jcasType",
")",
".",
"casFeat_tpc",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"tpc\"",
",",
"\"de.julielab.jules.types.PTBConstituent\"",
")",
";",
"return",
"jcasType",
".",
"ll_cas",
".",
"ll_getBooleanValue",
"(",
"addr",
",",
"(",
"(",
"PTBConstituent_Type",
")",
"jcasType",
")",
".",
"casFeatCode_tpc",
")",
";",
"}"
] | getter for tpc - gets Marks elements that appear before the subject in a declarative sentence, O
@generated
@return value of the feature | [
"getter",
"for",
"tpc",
"-",
"gets",
"Marks",
"elements",
"that",
"appear",
"before",
"the",
"subject",
"in",
"a",
"declarative",
"sentence",
"O"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/PTBConstituent.java#L239-L242 |
141,064 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/de/julielab/jules/types/PTBConstituent.java | PTBConstituent.setTpc | public void setTpc(boolean v) {
if (PTBConstituent_Type.featOkTst && ((PTBConstituent_Type)jcasType).casFeat_tpc == null)
jcasType.jcas.throwFeatMissing("tpc", "de.julielab.jules.types.PTBConstituent");
jcasType.ll_cas.ll_setBooleanValue(addr, ((PTBConstituent_Type)jcasType).casFeatCode_tpc, v);} | java | public void setTpc(boolean v) {
if (PTBConstituent_Type.featOkTst && ((PTBConstituent_Type)jcasType).casFeat_tpc == null)
jcasType.jcas.throwFeatMissing("tpc", "de.julielab.jules.types.PTBConstituent");
jcasType.ll_cas.ll_setBooleanValue(addr, ((PTBConstituent_Type)jcasType).casFeatCode_tpc, v);} | [
"public",
"void",
"setTpc",
"(",
"boolean",
"v",
")",
"{",
"if",
"(",
"PTBConstituent_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"PTBConstituent_Type",
")",
"jcasType",
")",
".",
"casFeat_tpc",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"tpc\"",
",",
"\"de.julielab.jules.types.PTBConstituent\"",
")",
";",
"jcasType",
".",
"ll_cas",
".",
"ll_setBooleanValue",
"(",
"addr",
",",
"(",
"(",
"PTBConstituent_Type",
")",
"jcasType",
")",
".",
"casFeatCode_tpc",
",",
"v",
")",
";",
"}"
] | setter for tpc - sets Marks elements that appear before the subject in a declarative sentence, O
@generated
@param v value to set into the feature | [
"setter",
"for",
"tpc",
"-",
"sets",
"Marks",
"elements",
"that",
"appear",
"before",
"the",
"subject",
"in",
"a",
"declarative",
"sentence",
"O"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/PTBConstituent.java#L248-L251 |
141,065 | BlueBrain/bluima | modules/bluima_xml/src/main/java/ch/epfl/bbp/uima/xml/pubmed/Pagination.java | Pagination.getStartPageOrEndPageOrMedlinePgn | public List<java.lang.Object> getStartPageOrEndPageOrMedlinePgn() {
if (startPageOrEndPageOrMedlinePgn == null) {
startPageOrEndPageOrMedlinePgn = new ArrayList<java.lang.Object>();
}
return this.startPageOrEndPageOrMedlinePgn;
} | java | public List<java.lang.Object> getStartPageOrEndPageOrMedlinePgn() {
if (startPageOrEndPageOrMedlinePgn == null) {
startPageOrEndPageOrMedlinePgn = new ArrayList<java.lang.Object>();
}
return this.startPageOrEndPageOrMedlinePgn;
} | [
"public",
"List",
"<",
"java",
".",
"lang",
".",
"Object",
">",
"getStartPageOrEndPageOrMedlinePgn",
"(",
")",
"{",
"if",
"(",
"startPageOrEndPageOrMedlinePgn",
"==",
"null",
")",
"{",
"startPageOrEndPageOrMedlinePgn",
"=",
"new",
"ArrayList",
"<",
"java",
".",
"lang",
".",
"Object",
">",
"(",
")",
";",
"}",
"return",
"this",
".",
"startPageOrEndPageOrMedlinePgn",
";",
"}"
] | Gets the value of the startPageOrEndPageOrMedlinePgn 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 startPageOrEndPageOrMedlinePgn property.
<p>
For example, to add a new item, do as follows:
<pre>
getStartPageOrEndPageOrMedlinePgn().add(newItem);
</pre>
<p>
Objects of the following type(s) are allowed in the list
{@link StartPage }
{@link EndPage }
{@link MedlinePgn } | [
"Gets",
"the",
"value",
"of",
"the",
"startPageOrEndPageOrMedlinePgn",
"property",
"."
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_xml/src/main/java/ch/epfl/bbp/uima/xml/pubmed/Pagination.java#L62-L67 |
141,066 | BlueBrain/bluima | modules/bluima_units/src/main/java/ch/epfl/bbp/uima/ae/RegExAnnotator.java | RegExAnnotator.matchRuleExceptions | private boolean matchRuleExceptions(RuleException[] exceptions, CAS aCAS, AnnotationFS annot) {
// if we have already checked the exceptions for the current match type
// annotation, return the
// last result - this can happen in case of MATCH_ALL match strategy
if (this.lastRuleExceptionAnnotation == annot) {
return this.lastRuleExceptionMatch;
}
// loop over all rule exceptions
for (int i = 0; i < exceptions.length; i++) {
// store current match type annotation for performance reason. In case
// of MATCH_ALL match
// strategy maybe the matchRuleException() method is called multiple
// times for the same
// match type annotations and in that case the result of the rule
// exception match is exactly
// the same.
this.lastRuleExceptionAnnotation = annot;
// find covering annotation
AnnotationFS coverFs = findCoverFS(aCAS, annot, exceptions[i].getType());
// check if covering annotation was found
if (coverFs != null) {
// check if the found coverFs annotation match the exception pattern
if (exceptions[i].matchPattern(coverFs)) {
this.lastRuleExceptionMatch = true;
return this.lastRuleExceptionMatch;
}
}
}
this.lastRuleExceptionMatch = false;
return false;
} | java | private boolean matchRuleExceptions(RuleException[] exceptions, CAS aCAS, AnnotationFS annot) {
// if we have already checked the exceptions for the current match type
// annotation, return the
// last result - this can happen in case of MATCH_ALL match strategy
if (this.lastRuleExceptionAnnotation == annot) {
return this.lastRuleExceptionMatch;
}
// loop over all rule exceptions
for (int i = 0; i < exceptions.length; i++) {
// store current match type annotation for performance reason. In case
// of MATCH_ALL match
// strategy maybe the matchRuleException() method is called multiple
// times for the same
// match type annotations and in that case the result of the rule
// exception match is exactly
// the same.
this.lastRuleExceptionAnnotation = annot;
// find covering annotation
AnnotationFS coverFs = findCoverFS(aCAS, annot, exceptions[i].getType());
// check if covering annotation was found
if (coverFs != null) {
// check if the found coverFs annotation match the exception pattern
if (exceptions[i].matchPattern(coverFs)) {
this.lastRuleExceptionMatch = true;
return this.lastRuleExceptionMatch;
}
}
}
this.lastRuleExceptionMatch = false;
return false;
} | [
"private",
"boolean",
"matchRuleExceptions",
"(",
"RuleException",
"[",
"]",
"exceptions",
",",
"CAS",
"aCAS",
",",
"AnnotationFS",
"annot",
")",
"{",
"// if we have already checked the exceptions for the current match type",
"// annotation, return the",
"// last result - this can happen in case of MATCH_ALL match strategy",
"if",
"(",
"this",
".",
"lastRuleExceptionAnnotation",
"==",
"annot",
")",
"{",
"return",
"this",
".",
"lastRuleExceptionMatch",
";",
"}",
"// loop over all rule exceptions",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"exceptions",
".",
"length",
";",
"i",
"++",
")",
"{",
"// store current match type annotation for performance reason. In case",
"// of MATCH_ALL match",
"// strategy maybe the matchRuleException() method is called multiple",
"// times for the same",
"// match type annotations and in that case the result of the rule",
"// exception match is exactly",
"// the same.",
"this",
".",
"lastRuleExceptionAnnotation",
"=",
"annot",
";",
"// find covering annotation",
"AnnotationFS",
"coverFs",
"=",
"findCoverFS",
"(",
"aCAS",
",",
"annot",
",",
"exceptions",
"[",
"i",
"]",
".",
"getType",
"(",
")",
")",
";",
"// check if covering annotation was found",
"if",
"(",
"coverFs",
"!=",
"null",
")",
"{",
"// check if the found coverFs annotation match the exception pattern",
"if",
"(",
"exceptions",
"[",
"i",
"]",
".",
"matchPattern",
"(",
"coverFs",
")",
")",
"{",
"this",
".",
"lastRuleExceptionMatch",
"=",
"true",
";",
"return",
"this",
".",
"lastRuleExceptionMatch",
";",
"}",
"}",
"}",
"this",
".",
"lastRuleExceptionMatch",
"=",
"false",
";",
"return",
"false",
";",
"}"
] | Check if the rule exception match for the current match type annotation.
@param exceptions
current rule exceptions
@param aCAS
current CAS
@param annot
current match type annotation
@return returns true if the rule exception match | [
"Check",
"if",
"the",
"rule",
"exception",
"match",
"for",
"the",
"current",
"match",
"type",
"annotation",
"."
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_units/src/main/java/ch/epfl/bbp/uima/ae/RegExAnnotator.java#L499-L534 |
141,067 | BlueBrain/bluima | modules/bluima_units/src/main/java/ch/epfl/bbp/uima/ae/RegExAnnotator.java | RegExAnnotator.findCoverFS | private AnnotationFS findCoverFS(CAS aCAS, AnnotationFS annot, Type coverFsType) {
// covering annotation
AnnotationFS coverFs = null;
// create a searchFS of the coverFsType with the annot boundaries to
// search for it.
FeatureStructure searchFs = aCAS.createAnnotation(coverFsType, annot.getBegin(), aCAS
.getDocumentText().length());
// get the coverFSType iterator from the CAS and move it "near" to the
// position of the created searchFS.
FSIterator<?> iterator = aCAS.getAnnotationIndex(coverFsType).iterator();
iterator.moveTo(searchFs);
// now the iterator can either point directly to the FS we are searching
// or it points to the next higher FS in the list. So we either have
// already found the correct one, of we maybe have to move the iterator to
// the previous position.
// check if the iterator at the current position is valid
if (iterator.isValid()) {
// iterator is valid, so we either have the correct annotation of we
// have to move to the
// previous one, lets check the current FS from the iterator
// get current FS
coverFs = (AnnotationFS) iterator.get();
// check if the coverFS covers the current match type annotation
if ((coverFs.getBegin() <= annot.getBegin()) && (coverFs.getEnd() >= annot.getEnd())) {
// we found the covering annotation
return coverFs;
}
// current coverFs does not cover the current match type annotation
// lets try to move iterator to the previous annotation and check
// again
iterator.moveToPrevious();
// check if the iterator is still valid after me move it to the
// previous FS
if (iterator.isValid()) {
// get FS
coverFs = (AnnotationFS) iterator.get();
// check the found coverFS covers the current match type
// annotation
if ((coverFs.getBegin() <= annot.getBegin()) && (coverFs.getEnd() >= annot.getEnd())) {
// we found the covering annotation
return coverFs;
}
}
}
// iterator is invalid lets try to move the iterator to the last FS and
// check the FS
iterator.moveToLast();
// check if the iterator is valid after we move it
if (iterator.isValid()) {
// get FS
coverFs = (AnnotationFS) iterator.get();
// check the found coverFS covers the current match type annotation
if ((coverFs.getBegin() <= annot.getBegin()) && (coverFs.getEnd() >= annot.getEnd())) {
// we found the covering annotation
return coverFs;
}
}
// no covering annotation found
return null;
} | java | private AnnotationFS findCoverFS(CAS aCAS, AnnotationFS annot, Type coverFsType) {
// covering annotation
AnnotationFS coverFs = null;
// create a searchFS of the coverFsType with the annot boundaries to
// search for it.
FeatureStructure searchFs = aCAS.createAnnotation(coverFsType, annot.getBegin(), aCAS
.getDocumentText().length());
// get the coverFSType iterator from the CAS and move it "near" to the
// position of the created searchFS.
FSIterator<?> iterator = aCAS.getAnnotationIndex(coverFsType).iterator();
iterator.moveTo(searchFs);
// now the iterator can either point directly to the FS we are searching
// or it points to the next higher FS in the list. So we either have
// already found the correct one, of we maybe have to move the iterator to
// the previous position.
// check if the iterator at the current position is valid
if (iterator.isValid()) {
// iterator is valid, so we either have the correct annotation of we
// have to move to the
// previous one, lets check the current FS from the iterator
// get current FS
coverFs = (AnnotationFS) iterator.get();
// check if the coverFS covers the current match type annotation
if ((coverFs.getBegin() <= annot.getBegin()) && (coverFs.getEnd() >= annot.getEnd())) {
// we found the covering annotation
return coverFs;
}
// current coverFs does not cover the current match type annotation
// lets try to move iterator to the previous annotation and check
// again
iterator.moveToPrevious();
// check if the iterator is still valid after me move it to the
// previous FS
if (iterator.isValid()) {
// get FS
coverFs = (AnnotationFS) iterator.get();
// check the found coverFS covers the current match type
// annotation
if ((coverFs.getBegin() <= annot.getBegin()) && (coverFs.getEnd() >= annot.getEnd())) {
// we found the covering annotation
return coverFs;
}
}
}
// iterator is invalid lets try to move the iterator to the last FS and
// check the FS
iterator.moveToLast();
// check if the iterator is valid after we move it
if (iterator.isValid()) {
// get FS
coverFs = (AnnotationFS) iterator.get();
// check the found coverFS covers the current match type annotation
if ((coverFs.getBegin() <= annot.getBegin()) && (coverFs.getEnd() >= annot.getEnd())) {
// we found the covering annotation
return coverFs;
}
}
// no covering annotation found
return null;
} | [
"private",
"AnnotationFS",
"findCoverFS",
"(",
"CAS",
"aCAS",
",",
"AnnotationFS",
"annot",
",",
"Type",
"coverFsType",
")",
"{",
"// covering annotation",
"AnnotationFS",
"coverFs",
"=",
"null",
";",
"// create a searchFS of the coverFsType with the annot boundaries to",
"// search for it.",
"FeatureStructure",
"searchFs",
"=",
"aCAS",
".",
"createAnnotation",
"(",
"coverFsType",
",",
"annot",
".",
"getBegin",
"(",
")",
",",
"aCAS",
".",
"getDocumentText",
"(",
")",
".",
"length",
"(",
")",
")",
";",
"// get the coverFSType iterator from the CAS and move it \"near\" to the",
"// position of the created searchFS.",
"FSIterator",
"<",
"?",
">",
"iterator",
"=",
"aCAS",
".",
"getAnnotationIndex",
"(",
"coverFsType",
")",
".",
"iterator",
"(",
")",
";",
"iterator",
".",
"moveTo",
"(",
"searchFs",
")",
";",
"// now the iterator can either point directly to the FS we are searching",
"// or it points to the next higher FS in the list. So we either have",
"// already found the correct one, of we maybe have to move the iterator to",
"// the previous position.",
"// check if the iterator at the current position is valid",
"if",
"(",
"iterator",
".",
"isValid",
"(",
")",
")",
"{",
"// iterator is valid, so we either have the correct annotation of we",
"// have to move to the",
"// previous one, lets check the current FS from the iterator",
"// get current FS",
"coverFs",
"=",
"(",
"AnnotationFS",
")",
"iterator",
".",
"get",
"(",
")",
";",
"// check if the coverFS covers the current match type annotation",
"if",
"(",
"(",
"coverFs",
".",
"getBegin",
"(",
")",
"<=",
"annot",
".",
"getBegin",
"(",
")",
")",
"&&",
"(",
"coverFs",
".",
"getEnd",
"(",
")",
">=",
"annot",
".",
"getEnd",
"(",
")",
")",
")",
"{",
"// we found the covering annotation",
"return",
"coverFs",
";",
"}",
"// current coverFs does not cover the current match type annotation",
"// lets try to move iterator to the previous annotation and check",
"// again",
"iterator",
".",
"moveToPrevious",
"(",
")",
";",
"// check if the iterator is still valid after me move it to the",
"// previous FS",
"if",
"(",
"iterator",
".",
"isValid",
"(",
")",
")",
"{",
"// get FS",
"coverFs",
"=",
"(",
"AnnotationFS",
")",
"iterator",
".",
"get",
"(",
")",
";",
"// check the found coverFS covers the current match type",
"// annotation",
"if",
"(",
"(",
"coverFs",
".",
"getBegin",
"(",
")",
"<=",
"annot",
".",
"getBegin",
"(",
")",
")",
"&&",
"(",
"coverFs",
".",
"getEnd",
"(",
")",
">=",
"annot",
".",
"getEnd",
"(",
")",
")",
")",
"{",
"// we found the covering annotation",
"return",
"coverFs",
";",
"}",
"}",
"}",
"// iterator is invalid lets try to move the iterator to the last FS and",
"// check the FS",
"iterator",
".",
"moveToLast",
"(",
")",
";",
"// check if the iterator is valid after we move it",
"if",
"(",
"iterator",
".",
"isValid",
"(",
")",
")",
"{",
"// get FS",
"coverFs",
"=",
"(",
"AnnotationFS",
")",
"iterator",
".",
"get",
"(",
")",
";",
"// check the found coverFS covers the current match type annotation",
"if",
"(",
"(",
"coverFs",
".",
"getBegin",
"(",
")",
"<=",
"annot",
".",
"getBegin",
"(",
")",
")",
"&&",
"(",
"coverFs",
".",
"getEnd",
"(",
")",
">=",
"annot",
".",
"getEnd",
"(",
")",
")",
")",
"{",
"// we found the covering annotation",
"return",
"coverFs",
";",
"}",
"}",
"// no covering annotation found",
"return",
"null",
";",
"}"
] | Finds the covering annotation of the specified coverFSType for the given annotation.
@param aCAS
a CAS to search in
@param annot
current annotation
@param coverFsType
covering annotation type to search for
@return returns the covering annotation FS or null if the covering annotation was not found. | [
"Finds",
"the",
"covering",
"annotation",
"of",
"the",
"specified",
"coverFSType",
"for",
"the",
"given",
"annotation",
"."
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_units/src/main/java/ch/epfl/bbp/uima/ae/RegExAnnotator.java#L549-L613 |
141,068 | BlueBrain/bluima | modules/bluima_units/src/main/java/ch/epfl/bbp/uima/ae/RegExAnnotator.java | RegExAnnotator.replaceMatchGroupValues | private String replaceMatchGroupValues(String featureValue, Matcher matcher, Rule rule)
throws RegexAnnotatorProcessException {
StringBuffer replaced = new StringBuffer();
int pos = 0;
int end = featureValue.length();
char c;
// Iterate over the input text to find the match groups that must be
// replaced.
// In the input text, all $ and \ characters must be escaped by \.
while (pos < end) {
c = featureValue.charAt(pos);
// Everything followed by a \ was escaped and the \ (escape character)
// can be removed now
if (c == '\\') {
// skip escape character
++pos;
// add escaped character to the output
if (pos < end) {
replaced.append(featureValue.charAt(pos));
// go to the next character
++pos;
}
} else if (c == '$') {
// this must be a match group $n since all other $ characters must
// be escaped with a \ which is handled above.
// skip $ character we are only interested in the match group number
// or name
// match group name syntax is ${match group name}
++pos;
if (pos < end) {
// get next char to check if we have a match group number or a
// match group name
c = featureValue.charAt(pos);
int groupNumber = -1;
if (c == '{') {
// we have a match group name
// skip grace '{'
++pos;
// get match group name
int matchNameEnd = featureValue.indexOf("}", pos);
if (matchNameEnd > -1) {
String matchGroupName = featureValue.substring(pos, matchNameEnd);
// get match group number for the given match group name
groupNumber = rule.getMatchGroupNumber(matchGroupName);
if (groupNumber == -1) {
throw new RegexAnnotatorProcessException(
"regex_annotator_error_match_group_name_not_found", new Object[] {
matchGroupName, rule.getId() });
}
// set pos to the end of the match group name syntax
pos = matchNameEnd + 1;
}
} else {
// we have a match group number
// convert match group number to integer value
groupNumber = c - '0';
// skip match group number
++pos;
}
// get match group content
String groupMatch = matcher.group(groupNumber);
// add match group content to the output
if (groupMatch != null) {
replaced.append(groupMatch);
}
}
} else {
// default output character that is added to the output
replaced.append(c);
++pos;
}
}
return replaced.toString();
} | java | private String replaceMatchGroupValues(String featureValue, Matcher matcher, Rule rule)
throws RegexAnnotatorProcessException {
StringBuffer replaced = new StringBuffer();
int pos = 0;
int end = featureValue.length();
char c;
// Iterate over the input text to find the match groups that must be
// replaced.
// In the input text, all $ and \ characters must be escaped by \.
while (pos < end) {
c = featureValue.charAt(pos);
// Everything followed by a \ was escaped and the \ (escape character)
// can be removed now
if (c == '\\') {
// skip escape character
++pos;
// add escaped character to the output
if (pos < end) {
replaced.append(featureValue.charAt(pos));
// go to the next character
++pos;
}
} else if (c == '$') {
// this must be a match group $n since all other $ characters must
// be escaped with a \ which is handled above.
// skip $ character we are only interested in the match group number
// or name
// match group name syntax is ${match group name}
++pos;
if (pos < end) {
// get next char to check if we have a match group number or a
// match group name
c = featureValue.charAt(pos);
int groupNumber = -1;
if (c == '{') {
// we have a match group name
// skip grace '{'
++pos;
// get match group name
int matchNameEnd = featureValue.indexOf("}", pos);
if (matchNameEnd > -1) {
String matchGroupName = featureValue.substring(pos, matchNameEnd);
// get match group number for the given match group name
groupNumber = rule.getMatchGroupNumber(matchGroupName);
if (groupNumber == -1) {
throw new RegexAnnotatorProcessException(
"regex_annotator_error_match_group_name_not_found", new Object[] {
matchGroupName, rule.getId() });
}
// set pos to the end of the match group name syntax
pos = matchNameEnd + 1;
}
} else {
// we have a match group number
// convert match group number to integer value
groupNumber = c - '0';
// skip match group number
++pos;
}
// get match group content
String groupMatch = matcher.group(groupNumber);
// add match group content to the output
if (groupMatch != null) {
replaced.append(groupMatch);
}
}
} else {
// default output character that is added to the output
replaced.append(c);
++pos;
}
}
return replaced.toString();
} | [
"private",
"String",
"replaceMatchGroupValues",
"(",
"String",
"featureValue",
",",
"Matcher",
"matcher",
",",
"Rule",
"rule",
")",
"throws",
"RegexAnnotatorProcessException",
"{",
"StringBuffer",
"replaced",
"=",
"new",
"StringBuffer",
"(",
")",
";",
"int",
"pos",
"=",
"0",
";",
"int",
"end",
"=",
"featureValue",
".",
"length",
"(",
")",
";",
"char",
"c",
";",
"// Iterate over the input text to find the match groups that must be",
"// replaced.",
"// In the input text, all $ and \\ characters must be escaped by \\.",
"while",
"(",
"pos",
"<",
"end",
")",
"{",
"c",
"=",
"featureValue",
".",
"charAt",
"(",
"pos",
")",
";",
"// Everything followed by a \\ was escaped and the \\ (escape character)",
"// can be removed now",
"if",
"(",
"c",
"==",
"'",
"'",
")",
"{",
"// skip escape character",
"++",
"pos",
";",
"// add escaped character to the output",
"if",
"(",
"pos",
"<",
"end",
")",
"{",
"replaced",
".",
"append",
"(",
"featureValue",
".",
"charAt",
"(",
"pos",
")",
")",
";",
"// go to the next character",
"++",
"pos",
";",
"}",
"}",
"else",
"if",
"(",
"c",
"==",
"'",
"'",
")",
"{",
"// this must be a match group $n since all other $ characters must",
"// be escaped with a \\ which is handled above.",
"// skip $ character we are only interested in the match group number",
"// or name",
"// match group name syntax is ${match group name}",
"++",
"pos",
";",
"if",
"(",
"pos",
"<",
"end",
")",
"{",
"// get next char to check if we have a match group number or a",
"// match group name",
"c",
"=",
"featureValue",
".",
"charAt",
"(",
"pos",
")",
";",
"int",
"groupNumber",
"=",
"-",
"1",
";",
"if",
"(",
"c",
"==",
"'",
"'",
")",
"{",
"// we have a match group name",
"// skip grace '{'",
"++",
"pos",
";",
"// get match group name",
"int",
"matchNameEnd",
"=",
"featureValue",
".",
"indexOf",
"(",
"\"}\"",
",",
"pos",
")",
";",
"if",
"(",
"matchNameEnd",
">",
"-",
"1",
")",
"{",
"String",
"matchGroupName",
"=",
"featureValue",
".",
"substring",
"(",
"pos",
",",
"matchNameEnd",
")",
";",
"// get match group number for the given match group name",
"groupNumber",
"=",
"rule",
".",
"getMatchGroupNumber",
"(",
"matchGroupName",
")",
";",
"if",
"(",
"groupNumber",
"==",
"-",
"1",
")",
"{",
"throw",
"new",
"RegexAnnotatorProcessException",
"(",
"\"regex_annotator_error_match_group_name_not_found\"",
",",
"new",
"Object",
"[",
"]",
"{",
"matchGroupName",
",",
"rule",
".",
"getId",
"(",
")",
"}",
")",
";",
"}",
"// set pos to the end of the match group name syntax",
"pos",
"=",
"matchNameEnd",
"+",
"1",
";",
"}",
"}",
"else",
"{",
"// we have a match group number",
"// convert match group number to integer value",
"groupNumber",
"=",
"c",
"-",
"'",
"'",
";",
"// skip match group number",
"++",
"pos",
";",
"}",
"// get match group content",
"String",
"groupMatch",
"=",
"matcher",
".",
"group",
"(",
"groupNumber",
")",
";",
"// add match group content to the output",
"if",
"(",
"groupMatch",
"!=",
"null",
")",
"{",
"replaced",
".",
"append",
"(",
"groupMatch",
")",
";",
"}",
"}",
"}",
"else",
"{",
"// default output character that is added to the output",
"replaced",
".",
"append",
"(",
"c",
")",
";",
"++",
"pos",
";",
"}",
"}",
"return",
"replaced",
".",
"toString",
"(",
")",
";",
"}"
] | replace the string containing match group syntax with the current match group values.
@param featureValue
string value that contains the match group syntax
@param matcher
regex matcher to match the match groups
@return returns the replaced match group value content | [
"replace",
"the",
"string",
"containing",
"match",
"group",
"syntax",
"with",
"the",
"current",
"match",
"group",
"values",
"."
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_units/src/main/java/ch/epfl/bbp/uima/ae/RegExAnnotator.java#L900-L976 |
141,069 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/de/julielab/jules/types/ace/Document.java | Document.getDocid | public String getDocid() {
if (Document_Type.featOkTst && ((Document_Type)jcasType).casFeat_docid == null)
jcasType.jcas.throwFeatMissing("docid", "de.julielab.jules.types.ace.Document");
return jcasType.ll_cas.ll_getStringValue(addr, ((Document_Type)jcasType).casFeatCode_docid);} | java | public String getDocid() {
if (Document_Type.featOkTst && ((Document_Type)jcasType).casFeat_docid == null)
jcasType.jcas.throwFeatMissing("docid", "de.julielab.jules.types.ace.Document");
return jcasType.ll_cas.ll_getStringValue(addr, ((Document_Type)jcasType).casFeatCode_docid);} | [
"public",
"String",
"getDocid",
"(",
")",
"{",
"if",
"(",
"Document_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"Document_Type",
")",
"jcasType",
")",
".",
"casFeat_docid",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"docid\"",
",",
"\"de.julielab.jules.types.ace.Document\"",
")",
";",
"return",
"jcasType",
".",
"ll_cas",
".",
"ll_getStringValue",
"(",
"addr",
",",
"(",
"(",
"Document_Type",
")",
"jcasType",
")",
".",
"casFeatCode_docid",
")",
";",
"}"
] | getter for docid - gets
@generated
@return value of the feature | [
"getter",
"for",
"docid",
"-",
"gets"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/ace/Document.java#L86-L89 |
141,070 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/de/julielab/jules/types/ace/Document.java | Document.setDocid | public void setDocid(String v) {
if (Document_Type.featOkTst && ((Document_Type)jcasType).casFeat_docid == null)
jcasType.jcas.throwFeatMissing("docid", "de.julielab.jules.types.ace.Document");
jcasType.ll_cas.ll_setStringValue(addr, ((Document_Type)jcasType).casFeatCode_docid, v);} | java | public void setDocid(String v) {
if (Document_Type.featOkTst && ((Document_Type)jcasType).casFeat_docid == null)
jcasType.jcas.throwFeatMissing("docid", "de.julielab.jules.types.ace.Document");
jcasType.ll_cas.ll_setStringValue(addr, ((Document_Type)jcasType).casFeatCode_docid, v);} | [
"public",
"void",
"setDocid",
"(",
"String",
"v",
")",
"{",
"if",
"(",
"Document_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"Document_Type",
")",
"jcasType",
")",
".",
"casFeat_docid",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"docid\"",
",",
"\"de.julielab.jules.types.ace.Document\"",
")",
";",
"jcasType",
".",
"ll_cas",
".",
"ll_setStringValue",
"(",
"addr",
",",
"(",
"(",
"Document_Type",
")",
"jcasType",
")",
".",
"casFeatCode_docid",
",",
"v",
")",
";",
"}"
] | setter for docid - sets
@generated
@param v value to set into the feature | [
"setter",
"for",
"docid",
"-",
"sets"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/ace/Document.java#L95-L98 |
141,071 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/de/julielab/jules/types/ace/Document.java | Document.getEntities | public FSArray getEntities() {
if (Document_Type.featOkTst && ((Document_Type)jcasType).casFeat_entities == null)
jcasType.jcas.throwFeatMissing("entities", "de.julielab.jules.types.ace.Document");
return (FSArray)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((Document_Type)jcasType).casFeatCode_entities)));} | java | public FSArray getEntities() {
if (Document_Type.featOkTst && ((Document_Type)jcasType).casFeat_entities == null)
jcasType.jcas.throwFeatMissing("entities", "de.julielab.jules.types.ace.Document");
return (FSArray)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((Document_Type)jcasType).casFeatCode_entities)));} | [
"public",
"FSArray",
"getEntities",
"(",
")",
"{",
"if",
"(",
"Document_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"Document_Type",
")",
"jcasType",
")",
".",
"casFeat_entities",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"entities\"",
",",
"\"de.julielab.jules.types.ace.Document\"",
")",
";",
"return",
"(",
"FSArray",
")",
"(",
"jcasType",
".",
"ll_cas",
".",
"ll_getFSForRef",
"(",
"jcasType",
".",
"ll_cas",
".",
"ll_getRefValue",
"(",
"addr",
",",
"(",
"(",
"Document_Type",
")",
"jcasType",
")",
".",
"casFeatCode_entities",
")",
")",
")",
";",
"}"
] | getter for entities - gets
@generated
@return value of the feature | [
"getter",
"for",
"entities",
"-",
"gets"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/ace/Document.java#L108-L111 |
141,072 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/de/julielab/jules/types/ace/Document.java | Document.setEntities | public void setEntities(FSArray v) {
if (Document_Type.featOkTst && ((Document_Type)jcasType).casFeat_entities == null)
jcasType.jcas.throwFeatMissing("entities", "de.julielab.jules.types.ace.Document");
jcasType.ll_cas.ll_setRefValue(addr, ((Document_Type)jcasType).casFeatCode_entities, jcasType.ll_cas.ll_getFSRef(v));} | java | public void setEntities(FSArray v) {
if (Document_Type.featOkTst && ((Document_Type)jcasType).casFeat_entities == null)
jcasType.jcas.throwFeatMissing("entities", "de.julielab.jules.types.ace.Document");
jcasType.ll_cas.ll_setRefValue(addr, ((Document_Type)jcasType).casFeatCode_entities, jcasType.ll_cas.ll_getFSRef(v));} | [
"public",
"void",
"setEntities",
"(",
"FSArray",
"v",
")",
"{",
"if",
"(",
"Document_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"Document_Type",
")",
"jcasType",
")",
".",
"casFeat_entities",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"entities\"",
",",
"\"de.julielab.jules.types.ace.Document\"",
")",
";",
"jcasType",
".",
"ll_cas",
".",
"ll_setRefValue",
"(",
"addr",
",",
"(",
"(",
"Document_Type",
")",
"jcasType",
")",
".",
"casFeatCode_entities",
",",
"jcasType",
".",
"ll_cas",
".",
"ll_getFSRef",
"(",
"v",
")",
")",
";",
"}"
] | setter for entities - sets
@generated
@param v value to set into the feature | [
"setter",
"for",
"entities",
"-",
"sets"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/ace/Document.java#L117-L120 |
141,073 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/de/julielab/jules/types/ace/Document.java | Document.getEntities | public Entity getEntities(int i) {
if (Document_Type.featOkTst && ((Document_Type)jcasType).casFeat_entities == null)
jcasType.jcas.throwFeatMissing("entities", "de.julielab.jules.types.ace.Document");
jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((Document_Type)jcasType).casFeatCode_entities), i);
return (Entity)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((Document_Type)jcasType).casFeatCode_entities), i)));} | java | public Entity getEntities(int i) {
if (Document_Type.featOkTst && ((Document_Type)jcasType).casFeat_entities == null)
jcasType.jcas.throwFeatMissing("entities", "de.julielab.jules.types.ace.Document");
jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((Document_Type)jcasType).casFeatCode_entities), i);
return (Entity)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((Document_Type)jcasType).casFeatCode_entities), i)));} | [
"public",
"Entity",
"getEntities",
"(",
"int",
"i",
")",
"{",
"if",
"(",
"Document_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"Document_Type",
")",
"jcasType",
")",
".",
"casFeat_entities",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"entities\"",
",",
"\"de.julielab.jules.types.ace.Document\"",
")",
";",
"jcasType",
".",
"jcas",
".",
"checkArrayBounds",
"(",
"jcasType",
".",
"ll_cas",
".",
"ll_getRefValue",
"(",
"addr",
",",
"(",
"(",
"Document_Type",
")",
"jcasType",
")",
".",
"casFeatCode_entities",
")",
",",
"i",
")",
";",
"return",
"(",
"Entity",
")",
"(",
"jcasType",
".",
"ll_cas",
".",
"ll_getFSForRef",
"(",
"jcasType",
".",
"ll_cas",
".",
"ll_getRefArrayValue",
"(",
"jcasType",
".",
"ll_cas",
".",
"ll_getRefValue",
"(",
"addr",
",",
"(",
"(",
"Document_Type",
")",
"jcasType",
")",
".",
"casFeatCode_entities",
")",
",",
"i",
")",
")",
")",
";",
"}"
] | indexed getter for entities - gets an indexed value -
@generated
@param i index in the array to get
@return value of the element at index i | [
"indexed",
"getter",
"for",
"entities",
"-",
"gets",
"an",
"indexed",
"value",
"-"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/ace/Document.java#L127-L131 |
141,074 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/de/julielab/jules/types/ace/Document.java | Document.setEntities | public void setEntities(int i, Entity v) {
if (Document_Type.featOkTst && ((Document_Type)jcasType).casFeat_entities == null)
jcasType.jcas.throwFeatMissing("entities", "de.julielab.jules.types.ace.Document");
jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((Document_Type)jcasType).casFeatCode_entities), i);
jcasType.ll_cas.ll_setRefArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((Document_Type)jcasType).casFeatCode_entities), i, jcasType.ll_cas.ll_getFSRef(v));} | java | public void setEntities(int i, Entity v) {
if (Document_Type.featOkTst && ((Document_Type)jcasType).casFeat_entities == null)
jcasType.jcas.throwFeatMissing("entities", "de.julielab.jules.types.ace.Document");
jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((Document_Type)jcasType).casFeatCode_entities), i);
jcasType.ll_cas.ll_setRefArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((Document_Type)jcasType).casFeatCode_entities), i, jcasType.ll_cas.ll_getFSRef(v));} | [
"public",
"void",
"setEntities",
"(",
"int",
"i",
",",
"Entity",
"v",
")",
"{",
"if",
"(",
"Document_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"Document_Type",
")",
"jcasType",
")",
".",
"casFeat_entities",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"entities\"",
",",
"\"de.julielab.jules.types.ace.Document\"",
")",
";",
"jcasType",
".",
"jcas",
".",
"checkArrayBounds",
"(",
"jcasType",
".",
"ll_cas",
".",
"ll_getRefValue",
"(",
"addr",
",",
"(",
"(",
"Document_Type",
")",
"jcasType",
")",
".",
"casFeatCode_entities",
")",
",",
"i",
")",
";",
"jcasType",
".",
"ll_cas",
".",
"ll_setRefArrayValue",
"(",
"jcasType",
".",
"ll_cas",
".",
"ll_getRefValue",
"(",
"addr",
",",
"(",
"(",
"Document_Type",
")",
"jcasType",
")",
".",
"casFeatCode_entities",
")",
",",
"i",
",",
"jcasType",
".",
"ll_cas",
".",
"ll_getFSRef",
"(",
"v",
")",
")",
";",
"}"
] | indexed setter for entities - sets an indexed value -
@generated
@param i index in the array to set
@param v value to set into the array | [
"indexed",
"setter",
"for",
"entities",
"-",
"sets",
"an",
"indexed",
"value",
"-"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/ace/Document.java#L138-L142 |
141,075 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/de/julielab/jules/types/ace/Document.java | Document.getValues | public FSArray getValues() {
if (Document_Type.featOkTst && ((Document_Type)jcasType).casFeat_values == null)
jcasType.jcas.throwFeatMissing("values", "de.julielab.jules.types.ace.Document");
return (FSArray)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((Document_Type)jcasType).casFeatCode_values)));} | java | public FSArray getValues() {
if (Document_Type.featOkTst && ((Document_Type)jcasType).casFeat_values == null)
jcasType.jcas.throwFeatMissing("values", "de.julielab.jules.types.ace.Document");
return (FSArray)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((Document_Type)jcasType).casFeatCode_values)));} | [
"public",
"FSArray",
"getValues",
"(",
")",
"{",
"if",
"(",
"Document_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"Document_Type",
")",
"jcasType",
")",
".",
"casFeat_values",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"values\"",
",",
"\"de.julielab.jules.types.ace.Document\"",
")",
";",
"return",
"(",
"FSArray",
")",
"(",
"jcasType",
".",
"ll_cas",
".",
"ll_getFSForRef",
"(",
"jcasType",
".",
"ll_cas",
".",
"ll_getRefValue",
"(",
"addr",
",",
"(",
"(",
"Document_Type",
")",
"jcasType",
")",
".",
"casFeatCode_values",
")",
")",
")",
";",
"}"
] | getter for values - gets
@generated
@return value of the feature | [
"getter",
"for",
"values",
"-",
"gets"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/ace/Document.java#L152-L155 |
141,076 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/de/julielab/jules/types/ace/Document.java | Document.setValues | public void setValues(FSArray v) {
if (Document_Type.featOkTst && ((Document_Type)jcasType).casFeat_values == null)
jcasType.jcas.throwFeatMissing("values", "de.julielab.jules.types.ace.Document");
jcasType.ll_cas.ll_setRefValue(addr, ((Document_Type)jcasType).casFeatCode_values, jcasType.ll_cas.ll_getFSRef(v));} | java | public void setValues(FSArray v) {
if (Document_Type.featOkTst && ((Document_Type)jcasType).casFeat_values == null)
jcasType.jcas.throwFeatMissing("values", "de.julielab.jules.types.ace.Document");
jcasType.ll_cas.ll_setRefValue(addr, ((Document_Type)jcasType).casFeatCode_values, jcasType.ll_cas.ll_getFSRef(v));} | [
"public",
"void",
"setValues",
"(",
"FSArray",
"v",
")",
"{",
"if",
"(",
"Document_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"Document_Type",
")",
"jcasType",
")",
".",
"casFeat_values",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"values\"",
",",
"\"de.julielab.jules.types.ace.Document\"",
")",
";",
"jcasType",
".",
"ll_cas",
".",
"ll_setRefValue",
"(",
"addr",
",",
"(",
"(",
"Document_Type",
")",
"jcasType",
")",
".",
"casFeatCode_values",
",",
"jcasType",
".",
"ll_cas",
".",
"ll_getFSRef",
"(",
"v",
")",
")",
";",
"}"
] | setter for values - sets
@generated
@param v value to set into the feature | [
"setter",
"for",
"values",
"-",
"sets"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/ace/Document.java#L161-L164 |
141,077 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/de/julielab/jules/types/ace/Document.java | Document.getValues | public Entity getValues(int i) {
if (Document_Type.featOkTst && ((Document_Type)jcasType).casFeat_values == null)
jcasType.jcas.throwFeatMissing("values", "de.julielab.jules.types.ace.Document");
jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((Document_Type)jcasType).casFeatCode_values), i);
return (Entity)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((Document_Type)jcasType).casFeatCode_values), i)));} | java | public Entity getValues(int i) {
if (Document_Type.featOkTst && ((Document_Type)jcasType).casFeat_values == null)
jcasType.jcas.throwFeatMissing("values", "de.julielab.jules.types.ace.Document");
jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((Document_Type)jcasType).casFeatCode_values), i);
return (Entity)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((Document_Type)jcasType).casFeatCode_values), i)));} | [
"public",
"Entity",
"getValues",
"(",
"int",
"i",
")",
"{",
"if",
"(",
"Document_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"Document_Type",
")",
"jcasType",
")",
".",
"casFeat_values",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"values\"",
",",
"\"de.julielab.jules.types.ace.Document\"",
")",
";",
"jcasType",
".",
"jcas",
".",
"checkArrayBounds",
"(",
"jcasType",
".",
"ll_cas",
".",
"ll_getRefValue",
"(",
"addr",
",",
"(",
"(",
"Document_Type",
")",
"jcasType",
")",
".",
"casFeatCode_values",
")",
",",
"i",
")",
";",
"return",
"(",
"Entity",
")",
"(",
"jcasType",
".",
"ll_cas",
".",
"ll_getFSForRef",
"(",
"jcasType",
".",
"ll_cas",
".",
"ll_getRefArrayValue",
"(",
"jcasType",
".",
"ll_cas",
".",
"ll_getRefValue",
"(",
"addr",
",",
"(",
"(",
"Document_Type",
")",
"jcasType",
")",
".",
"casFeatCode_values",
")",
",",
"i",
")",
")",
")",
";",
"}"
] | indexed getter for values - gets an indexed value -
@generated
@param i index in the array to get
@return value of the element at index i | [
"indexed",
"getter",
"for",
"values",
"-",
"gets",
"an",
"indexed",
"value",
"-"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/ace/Document.java#L171-L175 |
141,078 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/de/julielab/jules/types/ace/Document.java | Document.setValues | public void setValues(int i, Entity v) {
if (Document_Type.featOkTst && ((Document_Type)jcasType).casFeat_values == null)
jcasType.jcas.throwFeatMissing("values", "de.julielab.jules.types.ace.Document");
jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((Document_Type)jcasType).casFeatCode_values), i);
jcasType.ll_cas.ll_setRefArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((Document_Type)jcasType).casFeatCode_values), i, jcasType.ll_cas.ll_getFSRef(v));} | java | public void setValues(int i, Entity v) {
if (Document_Type.featOkTst && ((Document_Type)jcasType).casFeat_values == null)
jcasType.jcas.throwFeatMissing("values", "de.julielab.jules.types.ace.Document");
jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((Document_Type)jcasType).casFeatCode_values), i);
jcasType.ll_cas.ll_setRefArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((Document_Type)jcasType).casFeatCode_values), i, jcasType.ll_cas.ll_getFSRef(v));} | [
"public",
"void",
"setValues",
"(",
"int",
"i",
",",
"Entity",
"v",
")",
"{",
"if",
"(",
"Document_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"Document_Type",
")",
"jcasType",
")",
".",
"casFeat_values",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"values\"",
",",
"\"de.julielab.jules.types.ace.Document\"",
")",
";",
"jcasType",
".",
"jcas",
".",
"checkArrayBounds",
"(",
"jcasType",
".",
"ll_cas",
".",
"ll_getRefValue",
"(",
"addr",
",",
"(",
"(",
"Document_Type",
")",
"jcasType",
")",
".",
"casFeatCode_values",
")",
",",
"i",
")",
";",
"jcasType",
".",
"ll_cas",
".",
"ll_setRefArrayValue",
"(",
"jcasType",
".",
"ll_cas",
".",
"ll_getRefValue",
"(",
"addr",
",",
"(",
"(",
"Document_Type",
")",
"jcasType",
")",
".",
"casFeatCode_values",
")",
",",
"i",
",",
"jcasType",
".",
"ll_cas",
".",
"ll_getFSRef",
"(",
"v",
")",
")",
";",
"}"
] | indexed setter for values - sets an indexed value -
@generated
@param i index in the array to set
@param v value to set into the array | [
"indexed",
"setter",
"for",
"values",
"-",
"sets",
"an",
"indexed",
"value",
"-"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/ace/Document.java#L182-L186 |
141,079 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/de/julielab/jules/types/ace/Document.java | Document.getTimex2 | public FSArray getTimex2() {
if (Document_Type.featOkTst && ((Document_Type)jcasType).casFeat_timex2 == null)
jcasType.jcas.throwFeatMissing("timex2", "de.julielab.jules.types.ace.Document");
return (FSArray)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((Document_Type)jcasType).casFeatCode_timex2)));} | java | public FSArray getTimex2() {
if (Document_Type.featOkTst && ((Document_Type)jcasType).casFeat_timex2 == null)
jcasType.jcas.throwFeatMissing("timex2", "de.julielab.jules.types.ace.Document");
return (FSArray)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((Document_Type)jcasType).casFeatCode_timex2)));} | [
"public",
"FSArray",
"getTimex2",
"(",
")",
"{",
"if",
"(",
"Document_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"Document_Type",
")",
"jcasType",
")",
".",
"casFeat_timex2",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"timex2\"",
",",
"\"de.julielab.jules.types.ace.Document\"",
")",
";",
"return",
"(",
"FSArray",
")",
"(",
"jcasType",
".",
"ll_cas",
".",
"ll_getFSForRef",
"(",
"jcasType",
".",
"ll_cas",
".",
"ll_getRefValue",
"(",
"addr",
",",
"(",
"(",
"Document_Type",
")",
"jcasType",
")",
".",
"casFeatCode_timex2",
")",
")",
")",
";",
"}"
] | getter for timex2 - gets
@generated
@return value of the feature | [
"getter",
"for",
"timex2",
"-",
"gets"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/ace/Document.java#L196-L199 |
141,080 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/de/julielab/jules/types/ace/Document.java | Document.setTimex2 | public void setTimex2(FSArray v) {
if (Document_Type.featOkTst && ((Document_Type)jcasType).casFeat_timex2 == null)
jcasType.jcas.throwFeatMissing("timex2", "de.julielab.jules.types.ace.Document");
jcasType.ll_cas.ll_setRefValue(addr, ((Document_Type)jcasType).casFeatCode_timex2, jcasType.ll_cas.ll_getFSRef(v));} | java | public void setTimex2(FSArray v) {
if (Document_Type.featOkTst && ((Document_Type)jcasType).casFeat_timex2 == null)
jcasType.jcas.throwFeatMissing("timex2", "de.julielab.jules.types.ace.Document");
jcasType.ll_cas.ll_setRefValue(addr, ((Document_Type)jcasType).casFeatCode_timex2, jcasType.ll_cas.ll_getFSRef(v));} | [
"public",
"void",
"setTimex2",
"(",
"FSArray",
"v",
")",
"{",
"if",
"(",
"Document_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"Document_Type",
")",
"jcasType",
")",
".",
"casFeat_timex2",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"timex2\"",
",",
"\"de.julielab.jules.types.ace.Document\"",
")",
";",
"jcasType",
".",
"ll_cas",
".",
"ll_setRefValue",
"(",
"addr",
",",
"(",
"(",
"Document_Type",
")",
"jcasType",
")",
".",
"casFeatCode_timex2",
",",
"jcasType",
".",
"ll_cas",
".",
"ll_getFSRef",
"(",
"v",
")",
")",
";",
"}"
] | setter for timex2 - sets
@generated
@param v value to set into the feature | [
"setter",
"for",
"timex2",
"-",
"sets"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/ace/Document.java#L205-L208 |
141,081 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/de/julielab/jules/types/ace/Document.java | Document.getTimex2 | public Timex2 getTimex2(int i) {
if (Document_Type.featOkTst && ((Document_Type)jcasType).casFeat_timex2 == null)
jcasType.jcas.throwFeatMissing("timex2", "de.julielab.jules.types.ace.Document");
jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((Document_Type)jcasType).casFeatCode_timex2), i);
return (Timex2)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((Document_Type)jcasType).casFeatCode_timex2), i)));} | java | public Timex2 getTimex2(int i) {
if (Document_Type.featOkTst && ((Document_Type)jcasType).casFeat_timex2 == null)
jcasType.jcas.throwFeatMissing("timex2", "de.julielab.jules.types.ace.Document");
jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((Document_Type)jcasType).casFeatCode_timex2), i);
return (Timex2)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((Document_Type)jcasType).casFeatCode_timex2), i)));} | [
"public",
"Timex2",
"getTimex2",
"(",
"int",
"i",
")",
"{",
"if",
"(",
"Document_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"Document_Type",
")",
"jcasType",
")",
".",
"casFeat_timex2",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"timex2\"",
",",
"\"de.julielab.jules.types.ace.Document\"",
")",
";",
"jcasType",
".",
"jcas",
".",
"checkArrayBounds",
"(",
"jcasType",
".",
"ll_cas",
".",
"ll_getRefValue",
"(",
"addr",
",",
"(",
"(",
"Document_Type",
")",
"jcasType",
")",
".",
"casFeatCode_timex2",
")",
",",
"i",
")",
";",
"return",
"(",
"Timex2",
")",
"(",
"jcasType",
".",
"ll_cas",
".",
"ll_getFSForRef",
"(",
"jcasType",
".",
"ll_cas",
".",
"ll_getRefArrayValue",
"(",
"jcasType",
".",
"ll_cas",
".",
"ll_getRefValue",
"(",
"addr",
",",
"(",
"(",
"Document_Type",
")",
"jcasType",
")",
".",
"casFeatCode_timex2",
")",
",",
"i",
")",
")",
")",
";",
"}"
] | indexed getter for timex2 - gets an indexed value -
@generated
@param i index in the array to get
@return value of the element at index i | [
"indexed",
"getter",
"for",
"timex2",
"-",
"gets",
"an",
"indexed",
"value",
"-"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/ace/Document.java#L215-L219 |
141,082 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/de/julielab/jules/types/ace/Document.java | Document.setTimex2 | public void setTimex2(int i, Timex2 v) {
if (Document_Type.featOkTst && ((Document_Type)jcasType).casFeat_timex2 == null)
jcasType.jcas.throwFeatMissing("timex2", "de.julielab.jules.types.ace.Document");
jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((Document_Type)jcasType).casFeatCode_timex2), i);
jcasType.ll_cas.ll_setRefArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((Document_Type)jcasType).casFeatCode_timex2), i, jcasType.ll_cas.ll_getFSRef(v));} | java | public void setTimex2(int i, Timex2 v) {
if (Document_Type.featOkTst && ((Document_Type)jcasType).casFeat_timex2 == null)
jcasType.jcas.throwFeatMissing("timex2", "de.julielab.jules.types.ace.Document");
jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((Document_Type)jcasType).casFeatCode_timex2), i);
jcasType.ll_cas.ll_setRefArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((Document_Type)jcasType).casFeatCode_timex2), i, jcasType.ll_cas.ll_getFSRef(v));} | [
"public",
"void",
"setTimex2",
"(",
"int",
"i",
",",
"Timex2",
"v",
")",
"{",
"if",
"(",
"Document_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"Document_Type",
")",
"jcasType",
")",
".",
"casFeat_timex2",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"timex2\"",
",",
"\"de.julielab.jules.types.ace.Document\"",
")",
";",
"jcasType",
".",
"jcas",
".",
"checkArrayBounds",
"(",
"jcasType",
".",
"ll_cas",
".",
"ll_getRefValue",
"(",
"addr",
",",
"(",
"(",
"Document_Type",
")",
"jcasType",
")",
".",
"casFeatCode_timex2",
")",
",",
"i",
")",
";",
"jcasType",
".",
"ll_cas",
".",
"ll_setRefArrayValue",
"(",
"jcasType",
".",
"ll_cas",
".",
"ll_getRefValue",
"(",
"addr",
",",
"(",
"(",
"Document_Type",
")",
"jcasType",
")",
".",
"casFeatCode_timex2",
")",
",",
"i",
",",
"jcasType",
".",
"ll_cas",
".",
"ll_getFSRef",
"(",
"v",
")",
")",
";",
"}"
] | indexed setter for timex2 - sets an indexed value -
@generated
@param i index in the array to set
@param v value to set into the array | [
"indexed",
"setter",
"for",
"timex2",
"-",
"sets",
"an",
"indexed",
"value",
"-"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/ace/Document.java#L226-L230 |
141,083 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/de/julielab/jules/types/ace/Document.java | Document.getRelations | public FSArray getRelations() {
if (Document_Type.featOkTst && ((Document_Type)jcasType).casFeat_relations == null)
jcasType.jcas.throwFeatMissing("relations", "de.julielab.jules.types.ace.Document");
return (FSArray)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((Document_Type)jcasType).casFeatCode_relations)));} | java | public FSArray getRelations() {
if (Document_Type.featOkTst && ((Document_Type)jcasType).casFeat_relations == null)
jcasType.jcas.throwFeatMissing("relations", "de.julielab.jules.types.ace.Document");
return (FSArray)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((Document_Type)jcasType).casFeatCode_relations)));} | [
"public",
"FSArray",
"getRelations",
"(",
")",
"{",
"if",
"(",
"Document_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"Document_Type",
")",
"jcasType",
")",
".",
"casFeat_relations",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"relations\"",
",",
"\"de.julielab.jules.types.ace.Document\"",
")",
";",
"return",
"(",
"FSArray",
")",
"(",
"jcasType",
".",
"ll_cas",
".",
"ll_getFSForRef",
"(",
"jcasType",
".",
"ll_cas",
".",
"ll_getRefValue",
"(",
"addr",
",",
"(",
"(",
"Document_Type",
")",
"jcasType",
")",
".",
"casFeatCode_relations",
")",
")",
")",
";",
"}"
] | getter for relations - gets
@generated
@return value of the feature | [
"getter",
"for",
"relations",
"-",
"gets"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/ace/Document.java#L240-L243 |
141,084 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/de/julielab/jules/types/ace/Document.java | Document.setRelations | public void setRelations(FSArray v) {
if (Document_Type.featOkTst && ((Document_Type)jcasType).casFeat_relations == null)
jcasType.jcas.throwFeatMissing("relations", "de.julielab.jules.types.ace.Document");
jcasType.ll_cas.ll_setRefValue(addr, ((Document_Type)jcasType).casFeatCode_relations, jcasType.ll_cas.ll_getFSRef(v));} | java | public void setRelations(FSArray v) {
if (Document_Type.featOkTst && ((Document_Type)jcasType).casFeat_relations == null)
jcasType.jcas.throwFeatMissing("relations", "de.julielab.jules.types.ace.Document");
jcasType.ll_cas.ll_setRefValue(addr, ((Document_Type)jcasType).casFeatCode_relations, jcasType.ll_cas.ll_getFSRef(v));} | [
"public",
"void",
"setRelations",
"(",
"FSArray",
"v",
")",
"{",
"if",
"(",
"Document_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"Document_Type",
")",
"jcasType",
")",
".",
"casFeat_relations",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"relations\"",
",",
"\"de.julielab.jules.types.ace.Document\"",
")",
";",
"jcasType",
".",
"ll_cas",
".",
"ll_setRefValue",
"(",
"addr",
",",
"(",
"(",
"Document_Type",
")",
"jcasType",
")",
".",
"casFeatCode_relations",
",",
"jcasType",
".",
"ll_cas",
".",
"ll_getFSRef",
"(",
"v",
")",
")",
";",
"}"
] | setter for relations - sets
@generated
@param v value to set into the feature | [
"setter",
"for",
"relations",
"-",
"sets"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/ace/Document.java#L249-L252 |
141,085 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/de/julielab/jules/types/ace/Document.java | Document.getRelations | public Relation getRelations(int i) {
if (Document_Type.featOkTst && ((Document_Type)jcasType).casFeat_relations == null)
jcasType.jcas.throwFeatMissing("relations", "de.julielab.jules.types.ace.Document");
jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((Document_Type)jcasType).casFeatCode_relations), i);
return (Relation)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((Document_Type)jcasType).casFeatCode_relations), i)));} | java | public Relation getRelations(int i) {
if (Document_Type.featOkTst && ((Document_Type)jcasType).casFeat_relations == null)
jcasType.jcas.throwFeatMissing("relations", "de.julielab.jules.types.ace.Document");
jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((Document_Type)jcasType).casFeatCode_relations), i);
return (Relation)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((Document_Type)jcasType).casFeatCode_relations), i)));} | [
"public",
"Relation",
"getRelations",
"(",
"int",
"i",
")",
"{",
"if",
"(",
"Document_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"Document_Type",
")",
"jcasType",
")",
".",
"casFeat_relations",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"relations\"",
",",
"\"de.julielab.jules.types.ace.Document\"",
")",
";",
"jcasType",
".",
"jcas",
".",
"checkArrayBounds",
"(",
"jcasType",
".",
"ll_cas",
".",
"ll_getRefValue",
"(",
"addr",
",",
"(",
"(",
"Document_Type",
")",
"jcasType",
")",
".",
"casFeatCode_relations",
")",
",",
"i",
")",
";",
"return",
"(",
"Relation",
")",
"(",
"jcasType",
".",
"ll_cas",
".",
"ll_getFSForRef",
"(",
"jcasType",
".",
"ll_cas",
".",
"ll_getRefArrayValue",
"(",
"jcasType",
".",
"ll_cas",
".",
"ll_getRefValue",
"(",
"addr",
",",
"(",
"(",
"Document_Type",
")",
"jcasType",
")",
".",
"casFeatCode_relations",
")",
",",
"i",
")",
")",
")",
";",
"}"
] | indexed getter for relations - gets an indexed value -
@generated
@param i index in the array to get
@return value of the element at index i | [
"indexed",
"getter",
"for",
"relations",
"-",
"gets",
"an",
"indexed",
"value",
"-"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/ace/Document.java#L259-L263 |
141,086 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/de/julielab/jules/types/ace/Document.java | Document.setRelations | public void setRelations(int i, Relation v) {
if (Document_Type.featOkTst && ((Document_Type)jcasType).casFeat_relations == null)
jcasType.jcas.throwFeatMissing("relations", "de.julielab.jules.types.ace.Document");
jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((Document_Type)jcasType).casFeatCode_relations), i);
jcasType.ll_cas.ll_setRefArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((Document_Type)jcasType).casFeatCode_relations), i, jcasType.ll_cas.ll_getFSRef(v));} | java | public void setRelations(int i, Relation v) {
if (Document_Type.featOkTst && ((Document_Type)jcasType).casFeat_relations == null)
jcasType.jcas.throwFeatMissing("relations", "de.julielab.jules.types.ace.Document");
jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((Document_Type)jcasType).casFeatCode_relations), i);
jcasType.ll_cas.ll_setRefArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((Document_Type)jcasType).casFeatCode_relations), i, jcasType.ll_cas.ll_getFSRef(v));} | [
"public",
"void",
"setRelations",
"(",
"int",
"i",
",",
"Relation",
"v",
")",
"{",
"if",
"(",
"Document_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"Document_Type",
")",
"jcasType",
")",
".",
"casFeat_relations",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"relations\"",
",",
"\"de.julielab.jules.types.ace.Document\"",
")",
";",
"jcasType",
".",
"jcas",
".",
"checkArrayBounds",
"(",
"jcasType",
".",
"ll_cas",
".",
"ll_getRefValue",
"(",
"addr",
",",
"(",
"(",
"Document_Type",
")",
"jcasType",
")",
".",
"casFeatCode_relations",
")",
",",
"i",
")",
";",
"jcasType",
".",
"ll_cas",
".",
"ll_setRefArrayValue",
"(",
"jcasType",
".",
"ll_cas",
".",
"ll_getRefValue",
"(",
"addr",
",",
"(",
"(",
"Document_Type",
")",
"jcasType",
")",
".",
"casFeatCode_relations",
")",
",",
"i",
",",
"jcasType",
".",
"ll_cas",
".",
"ll_getFSRef",
"(",
"v",
")",
")",
";",
"}"
] | indexed setter for relations - sets an indexed value -
@generated
@param i index in the array to set
@param v value to set into the array | [
"indexed",
"setter",
"for",
"relations",
"-",
"sets",
"an",
"indexed",
"value",
"-"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/ace/Document.java#L270-L274 |
141,087 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/de/julielab/jules/types/ace/Document.java | Document.getEvents | public FSArray getEvents() {
if (Document_Type.featOkTst && ((Document_Type)jcasType).casFeat_events == null)
jcasType.jcas.throwFeatMissing("events", "de.julielab.jules.types.ace.Document");
return (FSArray)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((Document_Type)jcasType).casFeatCode_events)));} | java | public FSArray getEvents() {
if (Document_Type.featOkTst && ((Document_Type)jcasType).casFeat_events == null)
jcasType.jcas.throwFeatMissing("events", "de.julielab.jules.types.ace.Document");
return (FSArray)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((Document_Type)jcasType).casFeatCode_events)));} | [
"public",
"FSArray",
"getEvents",
"(",
")",
"{",
"if",
"(",
"Document_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"Document_Type",
")",
"jcasType",
")",
".",
"casFeat_events",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"events\"",
",",
"\"de.julielab.jules.types.ace.Document\"",
")",
";",
"return",
"(",
"FSArray",
")",
"(",
"jcasType",
".",
"ll_cas",
".",
"ll_getFSForRef",
"(",
"jcasType",
".",
"ll_cas",
".",
"ll_getRefValue",
"(",
"addr",
",",
"(",
"(",
"Document_Type",
")",
"jcasType",
")",
".",
"casFeatCode_events",
")",
")",
")",
";",
"}"
] | getter for events - gets
@generated
@return value of the feature | [
"getter",
"for",
"events",
"-",
"gets"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/ace/Document.java#L284-L287 |
141,088 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/de/julielab/jules/types/ace/Document.java | Document.setEvents | public void setEvents(FSArray v) {
if (Document_Type.featOkTst && ((Document_Type)jcasType).casFeat_events == null)
jcasType.jcas.throwFeatMissing("events", "de.julielab.jules.types.ace.Document");
jcasType.ll_cas.ll_setRefValue(addr, ((Document_Type)jcasType).casFeatCode_events, jcasType.ll_cas.ll_getFSRef(v));} | java | public void setEvents(FSArray v) {
if (Document_Type.featOkTst && ((Document_Type)jcasType).casFeat_events == null)
jcasType.jcas.throwFeatMissing("events", "de.julielab.jules.types.ace.Document");
jcasType.ll_cas.ll_setRefValue(addr, ((Document_Type)jcasType).casFeatCode_events, jcasType.ll_cas.ll_getFSRef(v));} | [
"public",
"void",
"setEvents",
"(",
"FSArray",
"v",
")",
"{",
"if",
"(",
"Document_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"Document_Type",
")",
"jcasType",
")",
".",
"casFeat_events",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"events\"",
",",
"\"de.julielab.jules.types.ace.Document\"",
")",
";",
"jcasType",
".",
"ll_cas",
".",
"ll_setRefValue",
"(",
"addr",
",",
"(",
"(",
"Document_Type",
")",
"jcasType",
")",
".",
"casFeatCode_events",
",",
"jcasType",
".",
"ll_cas",
".",
"ll_getFSRef",
"(",
"v",
")",
")",
";",
"}"
] | setter for events - sets
@generated
@param v value to set into the feature | [
"setter",
"for",
"events",
"-",
"sets"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/ace/Document.java#L293-L296 |
141,089 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/de/julielab/jules/types/ace/Document.java | Document.getEvents | public Event getEvents(int i) {
if (Document_Type.featOkTst && ((Document_Type)jcasType).casFeat_events == null)
jcasType.jcas.throwFeatMissing("events", "de.julielab.jules.types.ace.Document");
jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((Document_Type)jcasType).casFeatCode_events), i);
return (Event)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((Document_Type)jcasType).casFeatCode_events), i)));} | java | public Event getEvents(int i) {
if (Document_Type.featOkTst && ((Document_Type)jcasType).casFeat_events == null)
jcasType.jcas.throwFeatMissing("events", "de.julielab.jules.types.ace.Document");
jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((Document_Type)jcasType).casFeatCode_events), i);
return (Event)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((Document_Type)jcasType).casFeatCode_events), i)));} | [
"public",
"Event",
"getEvents",
"(",
"int",
"i",
")",
"{",
"if",
"(",
"Document_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"Document_Type",
")",
"jcasType",
")",
".",
"casFeat_events",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"events\"",
",",
"\"de.julielab.jules.types.ace.Document\"",
")",
";",
"jcasType",
".",
"jcas",
".",
"checkArrayBounds",
"(",
"jcasType",
".",
"ll_cas",
".",
"ll_getRefValue",
"(",
"addr",
",",
"(",
"(",
"Document_Type",
")",
"jcasType",
")",
".",
"casFeatCode_events",
")",
",",
"i",
")",
";",
"return",
"(",
"Event",
")",
"(",
"jcasType",
".",
"ll_cas",
".",
"ll_getFSForRef",
"(",
"jcasType",
".",
"ll_cas",
".",
"ll_getRefArrayValue",
"(",
"jcasType",
".",
"ll_cas",
".",
"ll_getRefValue",
"(",
"addr",
",",
"(",
"(",
"Document_Type",
")",
"jcasType",
")",
".",
"casFeatCode_events",
")",
",",
"i",
")",
")",
")",
";",
"}"
] | indexed getter for events - gets an indexed value -
@generated
@param i index in the array to get
@return value of the element at index i | [
"indexed",
"getter",
"for",
"events",
"-",
"gets",
"an",
"indexed",
"value",
"-"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/ace/Document.java#L303-L307 |
141,090 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/de/julielab/jules/types/ace/Document.java | Document.setEvents | public void setEvents(int i, Event v) {
if (Document_Type.featOkTst && ((Document_Type)jcasType).casFeat_events == null)
jcasType.jcas.throwFeatMissing("events", "de.julielab.jules.types.ace.Document");
jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((Document_Type)jcasType).casFeatCode_events), i);
jcasType.ll_cas.ll_setRefArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((Document_Type)jcasType).casFeatCode_events), i, jcasType.ll_cas.ll_getFSRef(v));} | java | public void setEvents(int i, Event v) {
if (Document_Type.featOkTst && ((Document_Type)jcasType).casFeat_events == null)
jcasType.jcas.throwFeatMissing("events", "de.julielab.jules.types.ace.Document");
jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((Document_Type)jcasType).casFeatCode_events), i);
jcasType.ll_cas.ll_setRefArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((Document_Type)jcasType).casFeatCode_events), i, jcasType.ll_cas.ll_getFSRef(v));} | [
"public",
"void",
"setEvents",
"(",
"int",
"i",
",",
"Event",
"v",
")",
"{",
"if",
"(",
"Document_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"Document_Type",
")",
"jcasType",
")",
".",
"casFeat_events",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"events\"",
",",
"\"de.julielab.jules.types.ace.Document\"",
")",
";",
"jcasType",
".",
"jcas",
".",
"checkArrayBounds",
"(",
"jcasType",
".",
"ll_cas",
".",
"ll_getRefValue",
"(",
"addr",
",",
"(",
"(",
"Document_Type",
")",
"jcasType",
")",
".",
"casFeatCode_events",
")",
",",
"i",
")",
";",
"jcasType",
".",
"ll_cas",
".",
"ll_setRefArrayValue",
"(",
"jcasType",
".",
"ll_cas",
".",
"ll_getRefValue",
"(",
"addr",
",",
"(",
"(",
"Document_Type",
")",
"jcasType",
")",
".",
"casFeatCode_events",
")",
",",
"i",
",",
"jcasType",
".",
"ll_cas",
".",
"ll_getFSRef",
"(",
"v",
")",
")",
";",
"}"
] | indexed setter for events - sets an indexed value -
@generated
@param i index in the array to set
@param v value to set into the array | [
"indexed",
"setter",
"for",
"events",
"-",
"sets",
"an",
"indexed",
"value",
"-"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/de/julielab/jules/types/ace/Document.java#L314-L318 |
141,091 | BlueBrain/bluima | modules/bluima_abbreviations/src/main/java/com/wcohen/ss/PrintfFormat.java | PrintfFormat.sprintf | public String sprintf(double x)
throws IllegalArgumentException {
Enumeration e = vFmt.elements();
ConversionSpecification cs = null;
char c = 0;
StringBuffer sb=new StringBuffer();
while (e.hasMoreElements()) {
cs = (ConversionSpecification)
e.nextElement();
c = cs.getConversionCharacter();
if (c=='\0') sb.append(cs.getLiteral());
else if (c=='%') sb.append("%");
else sb.append(cs.internalsprintf(x));
}
return sb.toString();
} | java | public String sprintf(double x)
throws IllegalArgumentException {
Enumeration e = vFmt.elements();
ConversionSpecification cs = null;
char c = 0;
StringBuffer sb=new StringBuffer();
while (e.hasMoreElements()) {
cs = (ConversionSpecification)
e.nextElement();
c = cs.getConversionCharacter();
if (c=='\0') sb.append(cs.getLiteral());
else if (c=='%') sb.append("%");
else sb.append(cs.internalsprintf(x));
}
return sb.toString();
} | [
"public",
"String",
"sprintf",
"(",
"double",
"x",
")",
"throws",
"IllegalArgumentException",
"{",
"Enumeration",
"e",
"=",
"vFmt",
".",
"elements",
"(",
")",
";",
"ConversionSpecification",
"cs",
"=",
"null",
";",
"char",
"c",
"=",
"0",
";",
"StringBuffer",
"sb",
"=",
"new",
"StringBuffer",
"(",
")",
";",
"while",
"(",
"e",
".",
"hasMoreElements",
"(",
")",
")",
"{",
"cs",
"=",
"(",
"ConversionSpecification",
")",
"e",
".",
"nextElement",
"(",
")",
";",
"c",
"=",
"cs",
".",
"getConversionCharacter",
"(",
")",
";",
"if",
"(",
"c",
"==",
"'",
"'",
")",
"sb",
".",
"append",
"(",
"cs",
".",
"getLiteral",
"(",
")",
")",
";",
"else",
"if",
"(",
"c",
"==",
"'",
"'",
")",
"sb",
".",
"append",
"(",
"\"%\"",
")",
";",
"else",
"sb",
".",
"append",
"(",
"cs",
".",
"internalsprintf",
"(",
"x",
")",
")",
";",
"}",
"return",
"sb",
".",
"toString",
"(",
")",
";",
"}"
] | Format a double.
@param x The double to format.
@return The formatted String.
@exception IllegalArgumentException if the
conversion character is c, C, s, S,
d, d, x, X, or o. | [
"Format",
"a",
"double",
"."
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_abbreviations/src/main/java/com/wcohen/ss/PrintfFormat.java#L683-L698 |
141,092 | BlueBrain/bluima | modules/bluima_regions/src/main/java/cc/mallet/types/DocumentCrossValidationIterator.java | DocumentCrossValidationIterator.split | public InstanceList[] split(java.util.Random r, int _nfolds) {
List<Integer> articleIds = newArrayList(instanceArticles.keySet());
Collections.shuffle(articleIds, r);
final int nrSentences = instanceArticles.size();
final int nrSentencesPerSplit = (int) (nrSentences / (double) _nfolds);
int runningSplitId = 0;
int runningSentencesPerSplit = 0;
InstanceList[] splitted = new InstanceList[_nfolds];
for (int i = 0; i < splitted.length; i++) {
splitted[i] = new InstanceList(pipe);
}
for (int i = 0; i < articleIds.size(); i++) {
// add all sentences from this article
for (Instance sentence : instanceArticles.get(articleIds.get(i))) {
// System.out.println(format("adding {} to split {}",
// sentence.name, runningSplitId));
splitted[runningSplitId].add(sentence);
runningSentencesPerSplit++;
}
// move to next split?
if (runningSentencesPerSplit > nrSentencesPerSplit
&& runningSplitId < (_nfolds - 1)) {
runningSplitId++;
runningSentencesPerSplit -= nrSentencesPerSplit;
}
}
// some stats
LOG.debug("{} sentences in {} splits", nrSentences, _nfolds);
for (InstanceList iList : splitted) {
LOG.debug("size:: " + iList.size());
}
return splitted;
} | java | public InstanceList[] split(java.util.Random r, int _nfolds) {
List<Integer> articleIds = newArrayList(instanceArticles.keySet());
Collections.shuffle(articleIds, r);
final int nrSentences = instanceArticles.size();
final int nrSentencesPerSplit = (int) (nrSentences / (double) _nfolds);
int runningSplitId = 0;
int runningSentencesPerSplit = 0;
InstanceList[] splitted = new InstanceList[_nfolds];
for (int i = 0; i < splitted.length; i++) {
splitted[i] = new InstanceList(pipe);
}
for (int i = 0; i < articleIds.size(); i++) {
// add all sentences from this article
for (Instance sentence : instanceArticles.get(articleIds.get(i))) {
// System.out.println(format("adding {} to split {}",
// sentence.name, runningSplitId));
splitted[runningSplitId].add(sentence);
runningSentencesPerSplit++;
}
// move to next split?
if (runningSentencesPerSplit > nrSentencesPerSplit
&& runningSplitId < (_nfolds - 1)) {
runningSplitId++;
runningSentencesPerSplit -= nrSentencesPerSplit;
}
}
// some stats
LOG.debug("{} sentences in {} splits", nrSentences, _nfolds);
for (InstanceList iList : splitted) {
LOG.debug("size:: " + iList.size());
}
return splitted;
} | [
"public",
"InstanceList",
"[",
"]",
"split",
"(",
"java",
".",
"util",
".",
"Random",
"r",
",",
"int",
"_nfolds",
")",
"{",
"List",
"<",
"Integer",
">",
"articleIds",
"=",
"newArrayList",
"(",
"instanceArticles",
".",
"keySet",
"(",
")",
")",
";",
"Collections",
".",
"shuffle",
"(",
"articleIds",
",",
"r",
")",
";",
"final",
"int",
"nrSentences",
"=",
"instanceArticles",
".",
"size",
"(",
")",
";",
"final",
"int",
"nrSentencesPerSplit",
"=",
"(",
"int",
")",
"(",
"nrSentences",
"/",
"(",
"double",
")",
"_nfolds",
")",
";",
"int",
"runningSplitId",
"=",
"0",
";",
"int",
"runningSentencesPerSplit",
"=",
"0",
";",
"InstanceList",
"[",
"]",
"splitted",
"=",
"new",
"InstanceList",
"[",
"_nfolds",
"]",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"splitted",
".",
"length",
";",
"i",
"++",
")",
"{",
"splitted",
"[",
"i",
"]",
"=",
"new",
"InstanceList",
"(",
"pipe",
")",
";",
"}",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"articleIds",
".",
"size",
"(",
")",
";",
"i",
"++",
")",
"{",
"// add all sentences from this article",
"for",
"(",
"Instance",
"sentence",
":",
"instanceArticles",
".",
"get",
"(",
"articleIds",
".",
"get",
"(",
"i",
")",
")",
")",
"{",
"// System.out.println(format(\"adding {} to split {}\",",
"// sentence.name, runningSplitId));",
"splitted",
"[",
"runningSplitId",
"]",
".",
"add",
"(",
"sentence",
")",
";",
"runningSentencesPerSplit",
"++",
";",
"}",
"// move to next split?",
"if",
"(",
"runningSentencesPerSplit",
">",
"nrSentencesPerSplit",
"&&",
"runningSplitId",
"<",
"(",
"_nfolds",
"-",
"1",
")",
")",
"{",
"runningSplitId",
"++",
";",
"runningSentencesPerSplit",
"-=",
"nrSentencesPerSplit",
";",
"}",
"}",
"// some stats",
"LOG",
".",
"debug",
"(",
"\"{} sentences in {} splits\"",
",",
"nrSentences",
",",
"_nfolds",
")",
";",
"for",
"(",
"InstanceList",
"iList",
":",
"splitted",
")",
"{",
"LOG",
".",
"debug",
"(",
"\"size:: \"",
"+",
"iList",
".",
"size",
"(",
")",
")",
";",
"}",
"return",
"splitted",
";",
"}"
] | Shuffles the elements of this list among several smaller lists.
@param fraction
A list of numbers (not necessarily summing to 1) which, when
normalized, correspond to the proportion of elements in each
returned sublist. This method (and all the split methods) do
not transfer the Instance weights to the resulting
InstanceLists.
@param r
The source of randomness to use in shuffling.
@return one <code>InstanceList</code> for each element of
<code>proportions</code> | [
"Shuffles",
"the",
"elements",
"of",
"this",
"list",
"among",
"several",
"smaller",
"lists",
"."
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_regions/src/main/java/cc/mallet/types/DocumentCrossValidationIterator.java#L81-L120 |
141,093 | BlueBrain/bluima | modules/bluima_regions/src/main/java/cc/mallet/types/DocumentCrossValidationIterator.java | DocumentCrossValidationIterator.nextSplit | public InstanceList[] nextSplit(int numTrainFolds) {
InstanceList[] ret = new InstanceList[2];
ret[0] = new InstanceList(pipe);
ret[1] = new InstanceList(pipe);
// train on folds [index, index+numTrainFolds), test on rest
for (int i = 0; i < folds.length; i++) {
int foldno = (index + i) % folds.length;
InstanceList addTo;
if (i < numTrainFolds) {
addTo = ret[0];
} else {
addTo = ret[1];
}
Iterator<Instance> iter = folds[foldno].iterator();
while (iter.hasNext())
addTo.add(iter.next());
}
index++;
return ret;
} | java | public InstanceList[] nextSplit(int numTrainFolds) {
InstanceList[] ret = new InstanceList[2];
ret[0] = new InstanceList(pipe);
ret[1] = new InstanceList(pipe);
// train on folds [index, index+numTrainFolds), test on rest
for (int i = 0; i < folds.length; i++) {
int foldno = (index + i) % folds.length;
InstanceList addTo;
if (i < numTrainFolds) {
addTo = ret[0];
} else {
addTo = ret[1];
}
Iterator<Instance> iter = folds[foldno].iterator();
while (iter.hasNext())
addTo.add(iter.next());
}
index++;
return ret;
} | [
"public",
"InstanceList",
"[",
"]",
"nextSplit",
"(",
"int",
"numTrainFolds",
")",
"{",
"InstanceList",
"[",
"]",
"ret",
"=",
"new",
"InstanceList",
"[",
"2",
"]",
";",
"ret",
"[",
"0",
"]",
"=",
"new",
"InstanceList",
"(",
"pipe",
")",
";",
"ret",
"[",
"1",
"]",
"=",
"new",
"InstanceList",
"(",
"pipe",
")",
";",
"// train on folds [index, index+numTrainFolds), test on rest",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"folds",
".",
"length",
";",
"i",
"++",
")",
"{",
"int",
"foldno",
"=",
"(",
"index",
"+",
"i",
")",
"%",
"folds",
".",
"length",
";",
"InstanceList",
"addTo",
";",
"if",
"(",
"i",
"<",
"numTrainFolds",
")",
"{",
"addTo",
"=",
"ret",
"[",
"0",
"]",
";",
"}",
"else",
"{",
"addTo",
"=",
"ret",
"[",
"1",
"]",
";",
"}",
"Iterator",
"<",
"Instance",
">",
"iter",
"=",
"folds",
"[",
"foldno",
"]",
".",
"iterator",
"(",
")",
";",
"while",
"(",
"iter",
".",
"hasNext",
"(",
")",
")",
"addTo",
".",
"add",
"(",
"iter",
".",
"next",
"(",
")",
")",
";",
"}",
"index",
"++",
";",
"return",
"ret",
";",
"}"
] | Returns the next split, given the number of folds you want in the
training data. | [
"Returns",
"the",
"next",
"split",
"given",
"the",
"number",
"of",
"folds",
"you",
"want",
"in",
"the",
"training",
"data",
"."
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_regions/src/main/java/cc/mallet/types/DocumentCrossValidationIterator.java#L152-L173 |
141,094 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/DocumentLine.java | DocumentLine.getBlock | public int getBlock() {
if (DocumentLine_Type.featOkTst && ((DocumentLine_Type)jcasType).casFeat_block == null)
jcasType.jcas.throwFeatMissing("block", "ch.epfl.bbp.uima.types.DocumentLine");
return jcasType.ll_cas.ll_getIntValue(addr, ((DocumentLine_Type)jcasType).casFeatCode_block);} | java | public int getBlock() {
if (DocumentLine_Type.featOkTst && ((DocumentLine_Type)jcasType).casFeat_block == null)
jcasType.jcas.throwFeatMissing("block", "ch.epfl.bbp.uima.types.DocumentLine");
return jcasType.ll_cas.ll_getIntValue(addr, ((DocumentLine_Type)jcasType).casFeatCode_block);} | [
"public",
"int",
"getBlock",
"(",
")",
"{",
"if",
"(",
"DocumentLine_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"DocumentLine_Type",
")",
"jcasType",
")",
".",
"casFeat_block",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"block\"",
",",
"\"ch.epfl.bbp.uima.types.DocumentLine\"",
")",
";",
"return",
"jcasType",
".",
"ll_cas",
".",
"ll_getIntValue",
"(",
"addr",
",",
"(",
"(",
"DocumentLine_Type",
")",
"jcasType",
")",
".",
"casFeatCode_block",
")",
";",
"}"
] | getter for block - gets
@generated
@return value of the feature | [
"getter",
"for",
"block",
"-",
"gets"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/DocumentLine.java#L86-L89 |
141,095 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/DocumentLine.java | DocumentLine.setBlock | public void setBlock(int v) {
if (DocumentLine_Type.featOkTst && ((DocumentLine_Type)jcasType).casFeat_block == null)
jcasType.jcas.throwFeatMissing("block", "ch.epfl.bbp.uima.types.DocumentLine");
jcasType.ll_cas.ll_setIntValue(addr, ((DocumentLine_Type)jcasType).casFeatCode_block, v);} | java | public void setBlock(int v) {
if (DocumentLine_Type.featOkTst && ((DocumentLine_Type)jcasType).casFeat_block == null)
jcasType.jcas.throwFeatMissing("block", "ch.epfl.bbp.uima.types.DocumentLine");
jcasType.ll_cas.ll_setIntValue(addr, ((DocumentLine_Type)jcasType).casFeatCode_block, v);} | [
"public",
"void",
"setBlock",
"(",
"int",
"v",
")",
"{",
"if",
"(",
"DocumentLine_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"DocumentLine_Type",
")",
"jcasType",
")",
".",
"casFeat_block",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"block\"",
",",
"\"ch.epfl.bbp.uima.types.DocumentLine\"",
")",
";",
"jcasType",
".",
"ll_cas",
".",
"ll_setIntValue",
"(",
"addr",
",",
"(",
"(",
"DocumentLine_Type",
")",
"jcasType",
")",
".",
"casFeatCode_block",
",",
"v",
")",
";",
"}"
] | setter for block - sets
@generated
@param v value to set into the feature | [
"setter",
"for",
"block",
"-",
"sets"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/DocumentLine.java#L95-L98 |
141,096 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/DocumentLine.java | DocumentLine.getLineText | public String getLineText() {
if (DocumentLine_Type.featOkTst && ((DocumentLine_Type)jcasType).casFeat_lineText == null)
jcasType.jcas.throwFeatMissing("lineText", "ch.epfl.bbp.uima.types.DocumentLine");
return jcasType.ll_cas.ll_getStringValue(addr, ((DocumentLine_Type)jcasType).casFeatCode_lineText);} | java | public String getLineText() {
if (DocumentLine_Type.featOkTst && ((DocumentLine_Type)jcasType).casFeat_lineText == null)
jcasType.jcas.throwFeatMissing("lineText", "ch.epfl.bbp.uima.types.DocumentLine");
return jcasType.ll_cas.ll_getStringValue(addr, ((DocumentLine_Type)jcasType).casFeatCode_lineText);} | [
"public",
"String",
"getLineText",
"(",
")",
"{",
"if",
"(",
"DocumentLine_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"DocumentLine_Type",
")",
"jcasType",
")",
".",
"casFeat_lineText",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"lineText\"",
",",
"\"ch.epfl.bbp.uima.types.DocumentLine\"",
")",
";",
"return",
"jcasType",
".",
"ll_cas",
".",
"ll_getStringValue",
"(",
"addr",
",",
"(",
"(",
"DocumentLine_Type",
")",
"jcasType",
")",
".",
"casFeatCode_lineText",
")",
";",
"}"
] | getter for lineText - gets workaround to get the line text
@generated
@return value of the feature | [
"getter",
"for",
"lineText",
"-",
"gets",
"workaround",
"to",
"get",
"the",
"line",
"text"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/DocumentLine.java#L108-L111 |
141,097 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/DocumentLine.java | DocumentLine.setLineText | public void setLineText(String v) {
if (DocumentLine_Type.featOkTst && ((DocumentLine_Type)jcasType).casFeat_lineText == null)
jcasType.jcas.throwFeatMissing("lineText", "ch.epfl.bbp.uima.types.DocumentLine");
jcasType.ll_cas.ll_setStringValue(addr, ((DocumentLine_Type)jcasType).casFeatCode_lineText, v);} | java | public void setLineText(String v) {
if (DocumentLine_Type.featOkTst && ((DocumentLine_Type)jcasType).casFeat_lineText == null)
jcasType.jcas.throwFeatMissing("lineText", "ch.epfl.bbp.uima.types.DocumentLine");
jcasType.ll_cas.ll_setStringValue(addr, ((DocumentLine_Type)jcasType).casFeatCode_lineText, v);} | [
"public",
"void",
"setLineText",
"(",
"String",
"v",
")",
"{",
"if",
"(",
"DocumentLine_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"DocumentLine_Type",
")",
"jcasType",
")",
".",
"casFeat_lineText",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"lineText\"",
",",
"\"ch.epfl.bbp.uima.types.DocumentLine\"",
")",
";",
"jcasType",
".",
"ll_cas",
".",
"ll_setStringValue",
"(",
"addr",
",",
"(",
"(",
"DocumentLine_Type",
")",
"jcasType",
")",
".",
"casFeatCode_lineText",
",",
"v",
")",
";",
"}"
] | setter for lineText - sets workaround to get the line text
@generated
@param v value to set into the feature | [
"setter",
"for",
"lineText",
"-",
"sets",
"workaround",
"to",
"get",
"the",
"line",
"text"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/DocumentLine.java#L117-L120 |
141,098 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/Gold.java | Gold.getTypeS | public String getTypeS() {
if (Gold_Type.featOkTst && ((Gold_Type)jcasType).casFeat_typeS == null)
jcasType.jcas.throwFeatMissing("typeS", "ch.epfl.bbp.uima.types.Gold");
return jcasType.ll_cas.ll_getStringValue(addr, ((Gold_Type)jcasType).casFeatCode_typeS);} | java | public String getTypeS() {
if (Gold_Type.featOkTst && ((Gold_Type)jcasType).casFeat_typeS == null)
jcasType.jcas.throwFeatMissing("typeS", "ch.epfl.bbp.uima.types.Gold");
return jcasType.ll_cas.ll_getStringValue(addr, ((Gold_Type)jcasType).casFeatCode_typeS);} | [
"public",
"String",
"getTypeS",
"(",
")",
"{",
"if",
"(",
"Gold_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"Gold_Type",
")",
"jcasType",
")",
".",
"casFeat_typeS",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"typeS\"",
",",
"\"ch.epfl.bbp.uima.types.Gold\"",
")",
";",
"return",
"jcasType",
".",
"ll_cas",
".",
"ll_getStringValue",
"(",
"addr",
",",
"(",
"(",
"Gold_Type",
")",
"jcasType",
")",
".",
"casFeatCode_typeS",
")",
";",
"}"
] | getter for typeS - gets
@generated
@return value of the feature | [
"getter",
"for",
"typeS",
"-",
"gets"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/Gold.java#L86-L89 |
141,099 | BlueBrain/bluima | modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/Gold.java | Gold.setTypeS | public void setTypeS(String v) {
if (Gold_Type.featOkTst && ((Gold_Type)jcasType).casFeat_typeS == null)
jcasType.jcas.throwFeatMissing("typeS", "ch.epfl.bbp.uima.types.Gold");
jcasType.ll_cas.ll_setStringValue(addr, ((Gold_Type)jcasType).casFeatCode_typeS, v);} | java | public void setTypeS(String v) {
if (Gold_Type.featOkTst && ((Gold_Type)jcasType).casFeat_typeS == null)
jcasType.jcas.throwFeatMissing("typeS", "ch.epfl.bbp.uima.types.Gold");
jcasType.ll_cas.ll_setStringValue(addr, ((Gold_Type)jcasType).casFeatCode_typeS, v);} | [
"public",
"void",
"setTypeS",
"(",
"String",
"v",
")",
"{",
"if",
"(",
"Gold_Type",
".",
"featOkTst",
"&&",
"(",
"(",
"Gold_Type",
")",
"jcasType",
")",
".",
"casFeat_typeS",
"==",
"null",
")",
"jcasType",
".",
"jcas",
".",
"throwFeatMissing",
"(",
"\"typeS\"",
",",
"\"ch.epfl.bbp.uima.types.Gold\"",
")",
";",
"jcasType",
".",
"ll_cas",
".",
"ll_setStringValue",
"(",
"addr",
",",
"(",
"(",
"Gold_Type",
")",
"jcasType",
")",
".",
"casFeatCode_typeS",
",",
"v",
")",
";",
"}"
] | setter for typeS - sets
@generated
@param v value to set into the feature | [
"setter",
"for",
"typeS",
"-",
"sets"
] | 793ea3f46761dce72094e057a56cddfa677156ae | https://github.com/BlueBrain/bluima/blob/793ea3f46761dce72094e057a56cddfa677156ae/modules/bluima_typesystem/src/main/java/ch/epfl/bbp/uima/types/Gold.java#L95-L98 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.