tokens
sequence | ner_tags
sequence |
---|---|
[
"You",
"need",
"to",
"check",
"the",
"condition",
"after",
"the",
"animation",
"is",
"done",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"Also",
",",
"check",
"is",
"it",
"is",
"visible",
"instead",
"of",
"the",
"CSS",
"property",
"display"
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Language",
"O",
"B-Variable"
] |
[
"I",
"'m",
"trying",
"to",
"populate",
"a",
"list",
"within",
"a",
"\"",
"Controller",
"as",
"\"",
"block",
",",
"but",
"I",
"cannot",
"seem",
"to",
"get",
"anything",
"to",
"display",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"I",
"'ve",
"gotten",
"a",
"minimal",
"example",
"of",
"my",
"idea",
"working",
"with",
"$",
"scope",
":"
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Code_Block",
"I-Code_Block",
"O"
] |
[
"JS",
":"
] | [
"B-Language",
"O"
] |
[
"HTML",
":"
] | [
"B-Language",
"O"
] |
[
"JSFiddle"
] | [
"B-Application"
] |
[
"But",
"when",
"I",
"introduce",
"\"",
"Controller",
"as",
"\"",
",",
"the",
"list",
"does",
"not",
"display",
":"
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"JS",
":"
] | [
"B-Language",
"O"
] |
[
"HTML",
":"
] | [
"B-Language",
"O"
] |
[
"JSFiddle"
] | [
"B-Application"
] |
[
"I",
"understand",
"that",
"$scope",
"and",
"this",
"are",
"different",
"concepts",
",",
"but",
"I",
"cannot",
"seem",
"to",
"wrap",
"my",
"head",
"around",
"the",
"specifics",
"in",
"this",
"case",
"."
] | [
"O",
"O",
"O",
"B-Code_Block",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"Could",
"this",
"be",
"a",
"result",
"of",
"the",
"scope",
"rules",
"for",
"ng-repeat",
",",
"or",
"am",
"I",
"missing",
"something",
"obvious",
"?"
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-HTML_XML_Tag",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"Here",
"you",
"should",
"not",
"use",
"arrow",
"function",
"while",
"defining",
"controller",
"function",
",",
"this",
"will",
"lead",
"this",
"to",
"an",
"unexpected",
"context",
"which",
"not",
"belong",
"to",
"controller",
"itself",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"B-Function",
"O",
"O",
"O",
"B-Function",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"The",
"solution",
"is",
"using",
"normal",
"function",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"refer",
"the",
"below",
"example",
"and",
"fixed",
"jsfiddle",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"B-Application",
"O"
] |
[
"You",
"have",
"used",
"es6",
"arrow",
"function",
"syntax",
"."
] | [
"O",
"O",
"O",
"B-Language",
"B-Function",
"O",
"O",
"O"
] |
[
"Since",
"the",
"browser",
"does",
"n't",
"support",
"es6",
"syntax.Either",
"you",
"have",
"to",
"use",
"transpiler(Babel)",
"to",
"compile",
"es6",
"code",
"to",
"pure",
"javascript",
"."
] | [
"O",
"O",
"B-Application",
"O",
"O",
"O",
"B-Language",
"O",
"O",
"O",
"O",
"O",
"B-Application",
"O",
"O",
"B-Language",
"O",
"O",
"O",
"B-Language",
"O"
] |
[
"Try",
"changing",
"this"
] | [
"O",
"O",
"O"
] |
[
"With"
] | [
"O"
] |
[
"JSFiddle"
] | [
"B-Application"
] |
[
"I",
"am",
"performing",
"a",
"custom",
"traversal",
"in",
"Neo4J",
",",
"using",
"my",
"own",
"evaluator",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Application",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"In",
"the",
"traversal",
"are",
"two",
"nodes",
",",
"connected",
"by",
"two",
"different",
"relationships",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"B-Class",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"What",
"I",
"'m",
"seeing",
"is",
"that",
"only",
"one",
"of",
"the",
"two",
"relationships",
"will",
"be",
"walked",
"during",
"the",
"traversal",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"However",
",",
"my",
"custom",
"evaluation",
"changes",
"its",
"behavior",
"based",
"on",
"whether",
"both",
"relationships",
"are",
"present",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"It",
"seems",
"like",
"during",
"a",
"traversal",
",",
"Neo4J",
"maintains",
"a",
"set",
"of",
"visited",
"nodes",
",",
"and",
"if",
"a",
"candidate",
"path",
"ends",
"at",
"a",
"node",
"that",
"has",
"already",
"been",
"visited",
",",
"then",
"that",
"path",
"is",
"never",
"sent",
"to",
"my",
"evaluator",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Application",
"O",
"O",
"O",
"O",
"O",
"B-Class",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Class",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"Is",
"there",
"a",
"way",
"around",
"this",
"?"
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"How",
"can",
"I",
"have",
"a",
"custom",
"evaluator",
"examine",
"every",
"possible",
"path",
"to",
"the",
"nodes",
"?"
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Class",
"O"
] |
[
"Here",
"'s",
"a",
"quick",
"example",
":"
] | [
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"Say",
"that",
"the",
"graph",
"looks",
"like",
"this",
":"
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"The",
"traversal",
"begins",
"at",
"A",
"."
] | [
"O",
"O",
"O",
"O",
"B-Variable",
"O"
] |
[
"A",
"has",
"two",
"different",
"relationships",
"tying",
"it",
"to",
"B",
"(",
"of",
"two",
"different",
"types",
")",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Variable",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"All",
"of",
"the",
"remaining",
"nodes",
"are",
"connected",
"by",
"only",
"1",
"relationship",
"."
] | [
"O",
"O",
"O",
"O",
"B-Class",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"The",
"goal",
"of",
"the",
"evaluator",
"is",
"to",
"return",
"A-D",
",",
"A-B",
",",
"and",
"B-C",
",",
"but",
"not",
"D-E",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Variable",
"O",
"B-Variable",
"O",
"O",
"B-Variable",
"O",
"O",
"O",
"B-Variable",
"O"
] |
[
"The",
"determination",
"that",
"B-C",
"is",
"valid",
"comes",
"from",
"the",
"fact",
"that",
"there",
"are",
"two",
"relationships",
"between",
"A",
"and",
"B",
"."
] | [
"O",
"O",
"O",
"B-Variable",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Variable",
"O",
"B-Variable",
"O"
] |
[
"How",
"can",
"this",
"be",
"solved",
"?"
] | [
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"You",
"may",
"need",
"to",
"think",
"your",
"use",
"case",
"through",
"a",
"bit",
"more",
"carefully",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"One",
"suggestion",
"is",
"that",
"when",
"you",
"use",
"the",
"traversal",
"framework",
"in",
"java",
",",
"basically",
"you",
"can",
"build",
"a",
"TraversalDescription",
"and",
"then",
"iterate",
"through",
"what",
"comes",
"back",
"from",
"it",
"by",
"relationships",
",",
"rather",
"than",
"by",
"Paths",
"or",
"by",
"Nodes",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Library",
"I-Library",
"O",
"B-Language",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Function",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"If",
"your",
"primary",
"complaint",
"is",
"that",
"each",
"node",
"is",
"visited",
"only",
"once",
",",
"you",
"can",
"change",
"the",
"TraversalDescription",
"to",
"specify",
"RELATIONSHIP_GLOBAL",
"guaranteeing",
"that",
"all",
"relationships",
"will",
"be",
"followed",
",",
"whether",
"or",
"not",
"that",
"causes",
"you",
"to",
"hit",
"a",
"node",
"more",
"than",
"once",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Class",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Function",
"O",
"O",
"B-Function",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"More",
"broadly",
",",
"traversers",
"do",
"n't",
"tend",
"to",
"go",
"over",
"the",
"same",
"material",
"more",
"than",
"once",
"because",
"if",
"they",
"did",
",",
"you",
"'d",
"need",
"to",
"be",
"ultra",
"careful",
"about",
"specifying",
"a",
"termination",
"condition",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"If",
"hitting",
"certain",
"nodes",
"or",
"relationships",
"more",
"than",
"once",
"is",
"OK",
",",
"when",
"do",
"you",
"know",
"that",
"you",
"'re",
"done",
"?"
] | [
"O",
"O",
"O",
"B-Class",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"I",
"am",
"brand",
"new",
"to",
"PyQt",
"so",
"bear",
"with",
"me",
"here",
"..",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"B-Application",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"I",
"create",
"a",
"widget",
"with",
"Qt",
"Designer",
",",
"then",
"compile",
"it",
"and",
"save",
"it",
"as",
".py",
"."
] | [
"O",
"O",
"O",
"B-User_Interface_Element",
"O",
"B-Application",
"I-Application",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-File_Type",
"O"
] |
[
"I",
"edit",
"the",
".py",
"file",
"to",
"add",
"some",
"additional",
"functionality",
"."
] | [
"O",
"O",
"O",
"B-File_Type",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"But",
"then",
"say",
"I",
"need",
"to",
"go",
"back",
"to",
"Qt",
"Designer",
"and",
"update",
"the",
"layout",
"of",
"the",
"GUI",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Application",
"I-Application",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"Is",
"there",
"a",
"way",
"to",
"compile",
"that",
"and",
"then",
"update",
"the",
"original",
".py",
"file",
"with",
"the",
"changes",
"rather",
"than",
"having",
"to",
"manually",
"copy/paste",
"my",
"custom",
"code",
"?"
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-File_Type",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"Personally",
"I",
"hate",
"compiling",
"it",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"But",
"like",
"ekhumoro",
"said",
",",
"you",
"can",
"import",
"the",
"class",
"."
] | [
"O",
"O",
"B-User_Name",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"I",
"still",
"dislike",
"this",
"though",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"pyuic",
"sometimes",
"imports",
"nasty",
"example_rc",
"things",
",",
"which",
"lowers",
"productivity",
"levels",
"again",
"."
] | [
"B-Library",
"O",
"O",
"O",
"B-File_Name",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"If",
"you",
"absolutely",
"must",
"transform",
".ui",
"to",
".py",
",",
"create",
"a",
".bat",
"file",
"to",
"do",
"it",
"for",
"you",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"B-File_Type",
"O",
"B-File_Type",
"O",
"O",
"O",
"B-File_Type",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"Code",
"for",
"that",
":"
] | [
"O",
"O",
"O",
"O"
] |
[
"Or",
"whatever",
"you",
"have",
"for",
"your",
"OS",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"Personally",
"I",
"like",
"to",
"use",
"ui",
"=",
"uic.loadUi('example.ui')",
"and",
"then",
"ui.setupUi()",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"B-Code_Block",
"I-Code_Block",
"I-Code_Block",
"O",
"O",
"B-Function",
"O"
] |
[
"It",
"allows",
"you",
"to",
"be",
"much",
"much",
"more",
"efficient",
"!",
"!"
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"If",
"you",
"look",
"at",
"the",
"comments",
"at",
"the",
"top",
"of",
"the",
"generated",
"file",
",",
"you",
"will",
"see",
"this",
"line",
":"
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"This",
"makes",
"it",
"quite",
"clear",
"that",
"the",
"file",
"is",
"not",
"meant",
"to",
"be",
"edited",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"But",
"this",
"is",
"not",
"a",
"problem",
",",
"because",
"it",
"is",
"just",
"an",
"ordinary",
"python",
"module",
",",
"and",
"so",
"it",
"'s",
"easy",
"enough",
"to",
"import",
"it",
"into",
"your",
"main",
"application",
"and",
"access",
"it",
"from",
"there",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Language",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"All",
"you",
"need",
"to",
"do",
"is",
"create",
"a",
"subclass",
"of",
"the",
"top-level",
"object",
"from",
"Qt",
"Designer",
"(",
"which",
"will",
"be",
"a",
"QMainWindow",
",",
"QDialog",
"or",
"QWidget",
")",
",",
"and",
"then",
"use",
"the",
"setupUi",
"method",
"provided",
"by",
"the",
"generated",
"module",
"to",
"add",
"all",
"of",
"the",
"widgets",
"to",
"an",
"instance",
"of",
"that",
"subclass",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Application",
"I-Application",
"O",
"O",
"O",
"O",
"O",
"B-Class",
"O",
"B-Class",
"O",
"B-Class",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Function",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Class",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"So",
"if",
"the",
"top-level",
"object",
"from",
"Qt",
"Designer",
"was",
"named",
"\"",
"MainWindow",
"\"",
",",
"pyuic",
"will",
"create",
"a",
"corresponding",
"Ui_MainWindow",
"class",
"that",
"can",
"be",
"imported",
"into",
"a",
"main.py",
"script",
"and",
"used",
"something",
"like",
"this",
":"
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"B-Application",
"I-Application",
"O",
"O",
"B-Value",
"I-Value",
"I-Value",
"O",
"B-Library",
"O",
"O",
"O",
"O",
"B-Class",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-File_Name",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"See",
"Using",
"Qt",
"Designer",
"in",
"the",
"PyQt",
"Documentation",
"for",
"more",
"details",
"."
] | [
"O",
"O",
"B-Application",
"I-Application",
"O",
"O",
"B-Application",
"O",
"O",
"O",
"O",
"O"
] |
[
"Take",
"the",
"following",
"insertion",
"sort",
"algorithm",
":"
] | [
"O",
"O",
"O",
"B-Algorithm",
"I-Algorithm",
"O",
"O"
] |
[
"I",
"know",
"it",
"'s",
"O(n^2)",
"fairly",
"easy",
"by",
"examining",
"it",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"But",
"as",
"far",
"as",
"proving",
"it",
"'s",
"O(n^2)",
",",
"how",
"would",
"I",
"go",
"about",
"doing",
"that",
"?"
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"I",
"could",
"add",
"up",
"all",
"the",
"operations",
",",
"but",
"n",
"+",
"\"",
"sum",
"of",
"j",
"=",
"2",
"to",
"n",
"\"",
"would",
"n't",
"really",
"result",
"in",
"n^2",
"as",
"far",
"as",
"I",
"know",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Code_Block",
"I-Code_Block",
"I-Code_Block",
"I-Code_Block",
"I-Code_Block",
"I-Code_Block",
"I-Code_Block",
"I-Code_Block",
"I-Code_Block",
"I-Code_Block",
"I-Code_Block",
"O",
"O",
"O",
"O",
"O",
"B-Code_Block",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"I",
"do",
"n't",
"really",
"see",
"how",
"to",
"prove",
"this",
"exactly",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"Could",
"someone",
"try",
"to",
"clearly",
"explain",
"how",
"I",
"would",
"prove",
"this",
",",
"in",
"a",
"way",
"that",
"would",
"work",
"for",
"an",
"O(n^3)",
"algorithm",
"as",
"well",
"?"
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"It",
"'s",
"O(n^2)",
"because",
"you",
"'ve",
"got",
"a",
"multiplication",
",",
"not",
"a",
"sum",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"Take",
"by",
"example",
",",
"an",
"array",
"sorted",
"in",
"inverse",
"order",
":"
] | [
"O",
"O",
"O",
"O",
"O",
"B-Data_Structure",
"O",
"O",
"O",
"O",
"O"
] |
[
"In",
"these",
"cases",
"every",
"iteration",
"of",
"the",
"inner",
"loop",
"will",
"scan",
"and",
"shift",
"the",
"entire",
"sorted",
"subsection",
"of",
"the",
"array",
"before",
"inserting",
"the",
"next",
"element",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Data_Structure",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"This",
"gives",
"insertion",
"sort",
"a",
"quadratic",
"running",
"time",
"(",
"i.e",
".",
",",
"O(n2))",
"."
] | [
"O",
"O",
"B-Algorithm",
"I-Algorithm",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"More",
"info"
] | [
"O",
"O"
] |
[
"The",
"best",
"way",
"to",
"understand",
"the",
"complexity",
"is",
"trying",
"to",
"find",
"the",
"worst",
"case",
"example",
"and",
"following",
"the",
"algorithm",
"'s",
"steps",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"You",
"prove",
"big",
"O",
"complexity",
"by",
"considering",
"how",
"many",
"operations",
"are",
"performed",
"in",
"the",
"worst",
"case",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"You",
"'ve",
"done",
"the",
"counting",
"part",
"and",
"entered",
"the",
"results",
"in",
"the",
"right",
"hand",
"column",
"of",
"your",
"image",
",",
"so",
"what",
"remains",
"to",
"be",
"proven",
"is",
"that",
"the",
"dominant",
"term",
"is",
"O(n^2)",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-User_Interface_Element",
"O",
"O",
"B-User_Interface_Element",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Code_Block",
"O"
] |
[
"Apart",
"from",
"the",
"terms",
"that",
"involve",
"the",
"sum",
",",
"your",
"program",
"consists",
"of",
"instructions",
"that",
"get",
"executed",
"n-1",
"times",
"so",
"these",
"are",
"all",
"O(n)",
"terms",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Code_Block",
"O",
"O",
"O",
"O",
"O",
"B-Code_Block",
"O",
"O"
] |
[
"Now",
"for",
"the",
"terms",
"with",
"the",
"sum",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"In",
"the",
"worst",
"case",
"a",
"t_j",
"can",
"be",
"j",
"because",
"you",
"may",
"end",
"up",
"decrementing",
"i",
"which",
"you",
"set",
"to",
"j",
"all",
"the",
"way",
"down",
"to",
"0",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"B-Variable",
"O",
"O",
"B-Variable",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Variable",
"O",
"O",
"O",
"O",
"B-Variable",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"So",
"in",
"this",
"worst",
"case",
"we",
"have",
"t_j",
"=",
"j",
"and",
"then",
"you",
"have",
"a",
"term",
"with",
"a",
"sum",
"from",
"2",
"to",
"n",
"of",
"j",
"which",
"is",
"O(n^2)",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Code_Block",
"I-Code_Block",
"I-Code_Block",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Code_Block",
"I-Code_Block",
"I-Code_Block",
"I-Code_Block",
"I-Code_Block",
"I-Code_Block",
"I-Code_Block",
"O",
"O",
"B-Code_Block",
"O"
] |
[
"This",
"is",
"due",
"to",
"following",
"the",
"mathematical",
"identity",
":"
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"This",
"can",
"be",
"proven",
"by",
"summing",
"two",
"of",
"these",
"series",
"together",
",",
"paying",
"attention",
"so",
"that",
"you",
"add",
"two",
"terms",
"that",
"sum",
"to",
"n+1",
"together",
",",
"and",
"then",
"dividing",
"the",
"sum",
"by",
"two",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Code_Block",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"Have",
"a",
"look",
"at",
"the",
"proof",
"in",
"wolfram",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Application",
"O"
] |
[
"Finally",
",",
"since",
"O",
"(",
"(",
"n^2",
"+",
"n",
")",
"/2",
")",
"=",
"O(n^2)",
"you",
"get",
"that",
"the",
"terms",
"that",
"include",
"the",
"sum",
"dominate",
"the",
"runtime",
"and",
"that",
"is",
"why",
"the",
"algorithm",
"is",
"O(n^2)"
] | [
"O",
"O",
"O",
"B-Code_Block",
"I-Code_Block",
"B-Code_Block",
"I-Code_Block",
"I-Code_Block",
"I-Code_Block",
"I-Code_Block",
"B-Code_Block",
"I-Code_Block",
"I-Code_Block",
"I-Code_Block",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Code_Block"
] |
[
"in",
"blacberry",
"is",
"there",
"any",
"way",
"to",
"record",
"audio",
"for",
"VOIP",
"application",
",",
"i",
"am",
"able",
"to",
"do",
"a",
"simple",
"recording",
"application",
"and",
"save",
"it",
"to",
"a",
"file",
"in",
"phone",
"(",
"or",
"how",
"can",
"i",
"modify",
"this",
"so",
"that",
"i",
"can",
"stream",
")",
",",
"is",
"it",
"possible",
"to",
"capture",
"sound",
"and",
"at",
"the",
"same",
"time",
"delivering",
"it",
"to",
"a",
"server",
"rather",
"than",
"recording",
",",
"is",
"there",
"any",
"opensource",
"projects",
"on",
"this",
"topic",
"?"
] | [
"O",
"B-Device",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Application",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Device",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Application",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"recording",
"part",
"is",
"here"
] | [
"O",
"O",
"O",
"O"
] |
[
"currently",
"i",
"am",
"saving",
"the",
"recorded",
"details",
"to",
"a",
"ByteArrayOutputStream",
"and",
"at",
"the",
"end",
"of",
"recording",
"saving",
"it",
"to",
"a",
"file",
"like",
"this"
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Class",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"Well",
"I",
"am",
"not",
"sure",
"if",
"I",
"understand",
"your",
"question",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"If",
"you",
"want",
"to",
"send",
"the",
"audio",
"stream",
"directly",
"to",
"the",
"server",
"while",
"recording",
"I",
"guess",
"you",
"could",
"access",
"your",
"ByteArrayOutputStream",
"(",
"dataOut",
")",
"in",
"a",
"separate",
"thread",
",",
"get",
"the",
"bytes",
"from",
"the",
"stream",
",",
"wrap",
"them",
"in",
"RTP",
"packages",
"and",
"send",
"them",
"to",
"the",
"streaming",
"server",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Application",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Class",
"O",
"B-Variable",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Data_Type",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Application",
"O"
] |
[
"This",
"separate",
"thread",
"would",
"be",
"running",
"together",
"with",
"the",
"recording",
"process",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"In",
"this",
"way",
"you",
"do",
"n't",
"need",
"to",
"save",
"the",
"audio",
"stream",
"in",
"any",
"file",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"Have",
"you",
"tried",
"this",
"approach",
"?"
] | [
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"Which",
"streaming",
"server",
"are",
"you",
"using",
"?"
] | [
"O",
"O",
"B-Application",
"O",
"O",
"O",
"O"
] |
[
"I",
"have",
"a",
"text",
"file",
"like",
"this",
":"
] | [
"O",
"O",
"O",
"B-File_Type",
"O",
"O",
"O",
"O"
] |
[
"I",
"want",
"the",
"output",
"to",
"be",
"like",
"this",
":"
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"I",
"want",
"to",
"change",
"the",
"second",
"field",
"from",
"lower-case",
"into",
"upper-case",
"and",
"only",
"the",
"second",
"field",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"Note",
"that",
"the",
"number",
"of",
"fields",
"in",
"a",
"certain",
"line",
"is",
"not",
"fixed",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"Can",
"I",
"accomplish",
"this",
"goal",
"using",
"awk",
"?"
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"B-Language",
"O"
] |
[
"You",
"sure",
"can",
"."
] | [
"O",
"O",
"O",
"O"
] |
[
"Here",
"'s",
"how",
":"
] | [
"O",
"O",
"O",
"O"
] |
[
"Results",
":"
] | [
"O",
"O"
] |