# on 01-Jun-2015 (Mon)

#### Flashcard 149631870

Tags
#currying #functions #scala
Question

Curried functions are defined with multiple parameter lists, as follows:

def strcat(s1: String)(s2: String) = s1 + s2


Alternatively, you can also use the following syntax to define a curried function:

[...]
def strcat(s1: String) = (s2: String) => s1 + s2

status measured difficulty not learned 37% [default] 0

#### Parent (intermediate) annotation

Open it
Curried functions are defined with multiple parameter lists, as follows: def strcat(s1: String)(s2: String) = s1 + s2 Alternatively, you can also use the following syntax to define a curried function: def strcat(s1: String) = (s2: String) => s1 + s2

#### Original toplevel document

Scala Currying Functions
esume WritingComputer GlossaryWho is Who Scala Currying Functions Advertisements Previous Page Next Page Currying transforms a function that takes multiple parameters into a chain of functions, each taking a single parameter. <span>Curried functions are defined with multiple parameter lists, as follows: def strcat(s1: String)(s2: String) = s1 + s2 Alternatively, you can also use the following syntax to define a curried function: def strcat(s1: String) = (s2: String) => s1 + s2 Following is the syntax to call a curried function: strcat("foo")("bar") You can define more than two parameters on a curried function based on your requirement. Let

#### Flashcard 150891523

Tags
#cardiovascular #medicine
Question
What is Atrial Fibrillation ?
A chaotic, irregular atrial rhythm at 300 – 600 bpm

status measured difficulty not learned 37% [default] 0

#### pdf

cannot see any pdfs

#### Flashcard 150892928

Question
multidimensional arrays (also known as [...] because they comprise one or more arrays nested inside another)
nested arrays

status measured difficulty not learned 37% [default] 0

Open it
multidimensional arrays (also known as nested arrays because they comprise one or more arrays nested inside another)

#### Flashcard 150892934

Question
how do you loop through multidimensional arrays?
you can loop through them using nested loops

status measured difficulty not learned 37% [default] 0

#### Flashcard 150892941

Question
sort()
sorts the values of the array in ascending order (alphabetically for letters, numerically for numbers, letters before numbers)

status measured difficulty not learned 37% [default] 0

#### Flashcard 150892948

Question
rsort()
sorts the values in descending order.

status measured difficulty not learned 37% [default] 0

#### Flashcard 150892960

Question
sort() and rsort(), but they [...] the association between each element's key and its value
preserve

status measured difficulty not learned 37% [default] 0

Open it
sort() and rsort(), but they preserve the association between each element's key and its value

#### Flashcard 150892966

Question
can you use asort() and arsort() on indexed arrays?
you can use asort() and arsort() on indexed arrays, they're commonly used with associative arrays

status measured difficulty not learned 37% [default] 0

#### Flashcard 150892973

Question
ksort()
sorts associative array by their key assending

status measured difficulty not learned 37% [default] 0

#### Flashcard 150892983

Question
krsort()
sorts associative array by their key descending

status measured difficulty not learned 37% [default] 0

#### Flashcard 150892990

Question
array_multisort()
sorts the array by the first element of each nested array, then by the second element of each nested array, and so on. The order of the elements in the nested array is untouched.

status measured difficulty not learned 37% [default] 0

#### Flashcard 150892997

Question
array_unshift()
Adds one or more new elements to the start of an array

status measured difficulty not learned 37% [default] 0

#### Flashcard 150893004

Question
array_shift()
Removes the first element from the start of an array

status measured difficulty not learned 37% [default] 0

#### Flashcard 150893011

Question
array_push()
Adds one or more new elements to the end of an array

status measured difficulty not learned 37% [default] 0

#### Flashcard 150893018

Question
array_pop()
Removes the last element from the end of an array

status measured difficulty not learned 37% [default] 0

#### Flashcard 150893025

Question
array_splice()
Removes element(s) from and/or adds element(s) to any point in an array

status measured difficulty not learned 37% [default] 0

#### Flashcard 150893325

Tags
#english #polish
Question
a short story indented to make people laugh
joke

status measured difficulty not learned 37% [default] 0

#### Annotation 150893374

 #artificial-intelligence #language-processing #logic #pease-celt The Controlled English to Logic (CELT) system translates a restricted English grammar to expressions in formal logic. The logic statements use terms from a large formal ontology, the Suggested Upper Merged Ontology (SUMO), giving each resulting statement a wealth of deep meaning, similar in kind if not in degree to capturing the meaning a human associates with words in context.

#### pdf

cannot see any pdfs

#### Flashcard 150893378

Tags
#artificial-intelligence #language-processing #logic #pease-celt
Question
The [...] (CELT) system translates a restricted uuuuuuuu English grammar to expressions in formal logic. The logic statements use terms from a large formal ontology, the Suggested Upper Merged Ontology (SUMO), giving each resulting statement a wealth of deep meaning, similar in kind if not in degree to capturing the meaning a human associates with words in context.
Controlled English to Logic

status measured difficulty not learned 37% [default] 0

#### Parent (intermediate) annotation

Open it
The Controlled English to Logic (CELT) system translates a restricted English grammar to expressions in formal logic. The logic statements use terms from a large formal ontology, the Suggested Upper Merged Ontology (S

#### Original toplevel document (pdf)

cannot see any pdfs

#### Flashcard 150893384

Tags
#artificial-intelligence #language-processing #logic #pease-celt
Question
The Controlled English to Logic (CELT) system translates a restricted English grammar to expressions in [...]. The logic statements use terms from a large formal ontology, the Suggested Upper Merged Ontology (SUMO), giving each resulting statement a wealth of deep meaning, similar in kind if not in degree to capturing the meaning a human associates with words in context.
formal logic

status measured difficulty not learned 37% [default] 0

#### Parent (intermediate) annotation

Open it
The Controlled English to Logic (CELT) system translates a restricted English grammar to expressions in formal logic. The logic statements use terms from a large formal ontology, the Suggested Upper Merged Ontology (SUMO), giving each resulting statement a wealth of deep meaning, similar in kind if n

#### Original toplevel document (pdf)

cannot see any pdfs

#### Flashcard 150893390

Tags
#artificial-intelligence #language-processing #logic #pease-celt
Question
The Controlled English to Logic (CELT) system translates a restricted English grammar to expressions in formal logic. The logic statements use terms from a large formal ontology, the [...] (SUMO), giving each resulting statement a wealth of deep meaning, similar in kind if not in degree to capturing the meaning a human associates with words in context.
Suggested Upper Merged Ontology

status measured difficulty not learned 37% [default] 0

#### Parent (intermediate) annotation

Open it
The Controlled English to Logic (CELT) system translates a restricted English grammar to expressions in formal logic. The logic statements use terms from a large formal ontology, the Suggested Upper Merged Ontology (SUMO), giving each resulting statement a wealth of deep meaning, similar in kind if not in degree to capturing the meaning a human associates with words in context.</bod

#### Original toplevel document (pdf)

cannot see any pdfs

#### Flashcard 150893404

Tags
#artificial-intelligence #language-processing #logic #pease-celt
Question
It has long been a goal in computer science for users to...
communicate verbally

status measured difficulty not learned 37% [default] 0

#### pdf

cannot see any pdfs

#### Annotation 150893413

 #artificial-intelligence #language-processing #logic #pease-celt We have developed a program which takes a restricted form of natural language and automatically translates it to logic.

#### pdf

cannot see any pdfs

#### Flashcard 150893417

Tags
#artificial-intelligence #language-processing #logic #pease-celt
Question
We have developed a [...] which takes a restricted form of natural language and automatically translates it to logic.
program

status measured difficulty not learned 37% [default] 0

#### Parent (intermediate) annotation

Open it
We have developed a program which takes a restricted form of natural language and automatically translates it to logic.

#### Original toplevel document (pdf)

cannot see any pdfs

#### Flashcard 150893423

Tags
#artificial-intelligence #language-processing #logic #pease-celt
Question
We have developed a program which takes a [...] form of natural language and automatically translates it to logic.
restricted

status measured difficulty not learned 37% [default] 0

#### Parent (intermediate) annotation

Open it
We have developed a program which takes a restricted form of natural language and automatically translates it to logic.

#### Original toplevel document (pdf)

cannot see any pdfs

#### Flashcard 150893429

Tags
#artificial-intelligence #language-processing #logic #pease-celt
Question
We have developed a program which takes a restricted form of natural language and automatically translates it to [...].
logic

status measured difficulty not learned 37% [default] 0

#### Parent (intermediate) annotation

Open it
We have developed a program which takes a restricted form of natural language and automatically translates it to logic.

#### Original toplevel document (pdf)

cannot see any pdfs