SlideShare a Scribd company logo
Round trips with meaning stopovers
(illustrated with English and Japanese examples)
Alastair Butler
Tohoku University
1
This talk describes a full pipeline
starting form an Historical Penn-treebank parse,
⇓
semantic processing creates a standard predicate logic based meaning
representation (see e.g., Davidson 1967; Dowty, Wall and Peters 1981),
⇓
which is converted to PENMAN notation (Matthiessen and Bateman 1991) to
form the basis for generation,
⇓
which proceeds as structure growth producing an output parse tree which can
yield a language string.
Keeping to the same language tests the combined success of building
meaning representations from parsed input and of generating parsed output.
Switching languages during the round trip would achieve translation.
2
The method will first be illustrated by round tripping on English, so
• taking English parsed sentences,
• going to meaning representations,
• and then back to parsed sentences of English.
The front or back end of the pipeline can be changed, e.g., to calculate a
meaning representation for English input but use Japanese generation rules.
No modification to the stopover meaning representation will return English
words and concepts with Japanese parse structure (= Japanese word order
with a yield).
Meaning representations arrived at from parsed parallel corpora show the
shortfall left for generating sentences of one language from another.
3
Reaching meaning representations
The first requirement is a way to reach meaning representations from natural
language input.
There are many ways to go. E.g., Schubert (2015) overviews 12 distinct
approaches, many with multiple implementations.
In what follows, use is made of Treebank Semantics
(http://www.compling.jp/ts; Butler 2015),
• the same kind of parse tree to be generated as out-
put can be taken as input,
• produced meaning representations are of high
quality.
4
Treebank Semantics: Input trees are converted to SCT expressions (a
Dynamic Semantics language) which are processed against a sequence
based information state (cf. Vermeulen 2000, Dekker 2012).
1: Treebank Annotation 2: SCT expression 3: Reduced SCT expression
(IP-MAT (PP (NP (NPR 田中さん)) val ex1 = Hide ("constant",
(P が)) ( fn fh => CClose ("constant",
(NP-SBJ *が*) ( fn lc => Hide ("entity",
(PP (NP (N ピザ)) ( ( npr "entity" "田中さん") Close ("∃", ("entity","entity"),
(P を)) "arg0" Hide ("event",
(NP-OB1 *を*) ( ( some lc fh "entity" Close ("∃", ("event","event"),
(VB 食べ) ( nn lc "ピザ")) Clean (0, ["arg0"], "c",
(AX まし) "arg1" CUse (C
(AXD た) ( past "event" Lam ("constant", "arg0",
(PU 。)) ( verb lc "event" ["arg0", "arg1"] Clean (0, ["arg1"], "c",
"食べ_まし_た"))))) Use ("entity",
["arg1", "arg0", "h"]) Lam ("entity", "arg1",
["constant", "entity", "event"] ...
4: Meaning Representation Output
∃x1e2(ピザ(x1) ∧ past(e2) ∧ 食べ_まし_た(e2, 田中さん, x1))
5
Treebank annotation
The Treebank Semantics system accepts parsed data conforming to the
Annotation manual for the Penn Historical Corpora and the PCEEC (Santorini
2010).
This widely and diversely applied scheme forms the basis of annotations for
English (Taylor et al 2003, Kroch, Santorini and Delfs 2004, Kroch, Santorini
and Delfs 2004), French (Martineau et al 2010), Icelandic (Wallenberg et al
2011), Portuguese (Galves and Britto 2002), Ancient Greek (Beck 2013),
Japanese (Butler et al 2012), and Chinese (Zhou 2015) among other
languages.
There are also parsing systems to produce annotated trees from raw
language input (e.g., Kulick, Kroch and Santorini 2014, Fang, Butler and
Yoshimoto 2014).
6
With the annotation scheme constituent structure is represented with labelled
bracketing and augmented with grammatical functions.
Parse trees for “A cat entered. It purred.” look like:
✭✭✭✭ ❤❤❤❤
IP-MAT
NP-SBJ
D
A
N
cat
VBD
entered
.
.
✭✭✭ ❤❤❤❤
IP-MAT
NP-SBJ
PRO
It
VBD
purred
.
.
7
First step: convert trees for “A cat entered. It purred.” into SCT expressions
val sent1 =
( fn fh =>
( fn lc =>
( some lc fh "entity"
( nn lc "cat")
"arg0"
( past "event"
( verb lc "event" ["arg0"] "entered"))))
["arg0", "arg1", "h"])
["entity", "event"]
;
val sent2 =
( fn fh =>
( fn lc =>
( pro ["c"] fh ["entity"] ( "entity", "entity") "It"
"arg0"
( past "event"
( verb lc "event" ["arg0"] "purred"))))
["arg0", "arg1", "h"])
["entity", "event"]
;
val discourse =
( fn fh =>
( conj fh "∧" free
[sent1, sent2]))
["entity", "event"]
;
8
discourse of “A cat entered. It purred.” as a fully resolved SCT expression:
discourse =
Sct.Hide ("entity",
Sct.Close ("∃", ("entity","entity"),["event", "entity"],
Sct.Hide ("event",
Sct.Close ("∃", ("event","event"),["event", "entity"],
Sct.Rel (["entity", "event"], ["c", "c"], "∧", [
Sct.Clean (0, ["arg0"], "c",
Sct.Use ("entity",
Sct.Lam ("entity", "arg0",
Sct.Rel (["entity", "event"], ["c", "c"], "", [
Sct.Throw ("entity",
Sct.Lam ("arg0", "h",
Sct.Clean (0, ["arg0", "arg1"], "c",
Sct.Clean (1, ["h"], "", Sct.Rel ([], [], "cat", [Sct.At (T ("h", 0), "h")]))))),
Sct.If (fn,
Sct.Use ("event",
Sct.If (fn,
Sct.If (fn,
Sct.Rel ([], [], "entered", [Sct.At (T ("arg0", 0), "arg0"),
Sct.At (T ("event", 0), "event")]),
Sct.Rel ([], [], "entered", [Sct.At (T ("arg0", 0), "arg0"),
Sct.At (T ("h", 0), "h"), Sct.At (T ("event", 0), "event")])),
Sct.If (fn,
Sct.Rel ([], [], "entered", [Sct.At (T ("arg0", 0), "arg0"),
Sct.At (T ("arg1", 0), "arg1"), Sct.At (T ("event", 0), "event")]),
Sct.Rel ([], [], "entered", [Sct.At (T ("arg0", 0), "arg0"),
Sct.At (T ("arg1", 0), "arg1"), Sct.At (T ("h", 0), "h"),
Sct.At (T ("event", 0), "event")])))),
Sct.Rel ([], [], "", [
Sct.Use ("event",
Sct.If (fn,
Sct.If (fn,
Sct.Rel ([], [], "entered", [Sct.At (T ("arg0", 0), "arg0"),
Sct.At (T ("event", 0), "event")]),
Sct.Rel ([], [], "entered", [Sct.At (T ("arg0", 0), "arg0"),
Sct.At (T ("h", 0), "h"), Sct.At (T ("event", 0), "event")])),
Sct.If (fn,
Sct.Rel ([], [], "entered", [Sct.At (T ("arg0", 0), "arg0"),
Sct.At (T ("arg1", 0), "arg1"), Sct.At (T ("event", 0), "event")]),
Sct.Rel ([], [], "entered", [Sct.At (T ("arg0", 0), "arg0"),
Sct.At (T ("arg1", 0), "arg1"), Sct.At (T ("h", 0), "h"),
Sct.At (T ("event", 0), "event")])))),
Sct.Throw ("event",
Sct.Rel ([], [], "", [Sct.At (T ("event", 0), "h"),
Sct.At (T ("cevent", 0), "before")]))]))])))),
Sct.Clean (0, ["arg0"], "c",
Sct.QuantThrow ( ("entity","entity"),
Sct.Lam ("entity", "arg0",
Sct.Rel (["entity", "event"], ["c", "c"], "", [Sct.Throw ("entity", Sct.Pick ("It", T ("arg0", 0), ["c"])),
Sct.If (fn,
Sct.Use ("event",
Sct.If (fn,
Sct.If (fn,
Sct.Rel ([], [], "purred", [Sct.At (T ("arg0", 0), "arg0"),
Sct.At (T ("event", 0), "event")]),
Sct.Rel ([], [], "purred", [Sct.At (T ("arg0", 0), "arg0"),
Sct.At (T ("h", 0), "h"), Sct.At (T ("event", 0), "event")])),
Sct.If (fn,
Sct.Rel ([], [], "purred", [Sct.At (T ("arg0", 0), "arg0"),
Sct.At (T ("arg1", 0), "arg1"), Sct.At (T ("event", 0), "event")]),
Sct.Rel ([], [], "purred", [Sct.At (T ("arg0", 0), "arg0"),
Sct.At (T ("arg1", 0), "arg1"), Sct.At (T ("h", 0), "h"),
Sct.At (T ("event", 0), "event")])))),
Sct.Rel ([], [], "", [
Sct.Use ("event",
Sct.If (fn,
Sct.If (fn,
Sct.Rel ([], [], "purred", [Sct.At (T ("arg0", 0), "arg0"),
Sct.At (T ("event", 0), "event")]),
Sct.Rel ([], [], "purred", [Sct.At (T ("arg0", 0), "arg0"),
Sct.At (T ("h", 0), "h"), Sct.At (T ("event", 0), "event")])),
Sct.If (fn,
Sct.Rel ([], [], "purred", [Sct.At (T ("arg0", 0), "arg0"),
Sct.At (T ("arg1", 0), "arg1"), Sct.At (T ("event", 0), "event")]),
Sct.Rel ([], [], "purred", [Sct.At (T ("arg0", 0), "arg0"),
Sct.At (T ("arg1", 0), "arg1"), Sct.At (T ("h", 0), "h"),
Sct.At (T ("event", 0), "event")])))),
Sct.Throw ("event",
Sct.Rel ([], [], "", [Sct.At (T ("event", 0), "h"),
Sct.At (T ("cevent", 0), "before")]))]))]))))])))))
9
The SCT language primitives access and possibly alter the content of a
sequence based information state that serves to retain binding information by
assigning (possibly empty) sequences of values to binding names.
! "
# #$
% & %
'
( & %
# #$
)*& + )*& +
( & % *
% & % &
*
# #$
, * , *
) * %
-. .
# #$
'
-. &
-. &
# #$
, & % , & %
) & % %
, ,
) % "
)*& + )*& +
# #$
, * , *
) % "
, / . & , / . &
) % %
% & %
)*& + )*& + 0
( & %
# #$
)*& + )*& +
1 2 - .
) & % % 0
-. .
# #$
'
-. &
-. &
# #$
, & % , & %
) & % % 0
, ,
) % !
)*& + )*& +
# #$
, * , *
) % !
, / . & , / . &
) % %
10
Reading off accumulated information from the evaluation gives:
∃x4x1e2e3(
past(e2) ∧
past(e3) ∧
cat(x1) ∧
x4 = It{x1} ∧ entered(e2, x1) ∧ purred(e3, x4))
This assumes a Davidsonian theory (Davidson 1967) in which verbs are
encoded with minimally an implicit event argument which is existentially
quantified over and may be further modified.
This encodes truth-conditional content in a standard way, but also contains
clues to assist generation. Most notably variables have sort information, thus:
e1, e2, ... are events, while x1, x2, ... are objects, etc. Also, a candidate for
the main predicate is the most deeply embedded right-side predicate.
11
Generation
The idea behind the approach to generation is, from a meaning
representation presented as a tree, to follow a series of meaning preserving
transformations to arrive back at a parse tree, that is, to a representation of
the kind fed to the Treebank Semantics system at the start of the pipeline.
There are two major steps.
• First, there is preparation,
• then there is generation, as growing and manipulating tree structure.
12
Preparing for generation
Preparation for generation involves obtaining a tree-based representation of
the output produced by Treebank Semantics.
Rendering the meaning representation for “A cat entered. It purred.” as a tree
with argument role information made explicit gives:
✭✭✭✭ ❍❍❤❤❤❤ ✭✭✭✭✭✭ ✭✭✭✭
❍❍ ✭✭✭✭
✘✘ ❳❳
❤❤❤❤
✘✘ ❳❳
QUANT
EXIST
x-4 x-1 e-2 e-3
AND
past
e-2
past
e-3
cat
x-1
=
x-4 x-1
AND
entered
:arg0
x-1
:EVENT
e-2
purred
:arg0
x-4
:EVENT
e-3
Content meeds to be further re-packaged to a tree format optimised for
generation.
13
✭✭✭✭ ❍❍❤❤❤❤ ✭✭✭✭✭✭ ✭✭✭✭
❍❍ ✭✭✭✭
✘✘ ❳❳
❤❤❤❤
✘✘ ❳❳
QUANT
EXIST
x-4 x-1 e-2 e-3
AND
past
e-2
past
e-3
cat
x-1
=
x-4 x-1
AND
entered
:arg0
x-1
:EVENT
e-2
purred
:arg0
x-4
:EVENT
e-3
Firstly, the binding of wide-scope existentials is made implicit with the removal
of the top quantification level.
Next, an argument of each predicate is promoted to become the parent of the
predicate, notably: the left-hand argument of an equality relation, or an
event argument if present, or the sole argument of a one-place predicate.
✭✭✭✭ ❤❤❤❤
AND
past
e-2
past
e-3
x-1
cat
x-4
-entity-
:EQUALS
x-1
e-2
/entered/
:arg0
x-1
e-3
/purred/
:arg0
x-4
14
Next, tense information of the top level AND is relocated.
Next, a daughter D of the top level AND is moved inside a sister S when the
name at the root of D is contained as an argument within S. Movement is to
only one location (the left-most).
✭✭✭✭ ❤❤❤❤
AND
past
e-2
past
e-3
x-1
cat
x-4
-entity-
:EQUALS
x-1
e-2
/entered/
:arg0
x-1
e-3
/purred/
:arg0
x-4
✭✭✭✭
✏✏ €€
❤❤❤❤
✏✏ €€
AND
e-2
/entered/
:arg0
x-1
cat
:tense
past
e-3
/purred/
:arg0
x-4
-entity-
:EQUALS
x-1
:tense
past
15
An internal argument is promoted to become root of a daughter of AND if this
enables further inclusion into a sister. Promotion folds tree material around
inverse roles from the PENMAN notation (Matthiessen and Bateman 1991).
✭✭✭✭
✏✏ €€
❤❤❤❤
✏✏ €€
AND
e-2
/entered/
:arg0
x-1
cat
:tense
past
e-3
/purred/
:arg0
x-4
-entity-
:EQUALS
x-1
:tense
past
✭✭✭ ❤❤❤❤
✏✏ €€
AND
x-1
cat
:arg0-of
e-2
/entered/
:tense
past
e-3
/purred/
:arg0
x-4
-entity-
:EQUALS
x-1
:tense
past
✏✏ €€
e-3
/purred/
:arg0
x-4
cat
:arg0-of
e-2
/entered/
:tense
past
:tense
past
16
Back to a parsed representation
Generation proceeds as a series of tree transformations, implemented as a
tsurgeon script (Levy and Andrew 2006) with hundreds of transformation
rules.
A tsurgeon script contains pattern/action rules, where the pattern describes
tree structure and the action transforms the tree, e.g., moving, adjoining,
copying or deleting auxiliary trees or relabelling nodes.
Transformations are repeatedly made until the pattern that triggers change is
no longer matched.
17
An example tsurgeon rule
Clause structure is built by identifying a main predicate as being headed by
an event variable (so: match e- followed by a number), and adjoining the
projection of a VBP part-of-speech tag, a VP layer and an IP layer.
/ˆe-[0-9]+$/=x !> VBP
adjoinF (IP (VP (VBP @))) x
Action adjoinF adjoins the specified auxiliary tree into the specified target
node, preserving the target node as the foot of the adjoined tree.
VBP (present tense verb) may subsequently change, e.g., tense past
triggers change to VBD (past tense verb), while was when generating English
brings about further change to BED (past tense copula).
18
✏✏ €€
IP
VP
VBP
e-3
purred
:arg0
x-4
cat
:arg0-of
IP
VP
VBP
e-2
entered
:tense
past
:tense
past
Subsequent changes involve moving all structure
under a main predicate into the clause, starting with
the creation of NP-SBJ from an arg0 argument.
✘✘ ❳❳❳
IP
NP-SBJ
x-4
cat
:arg0-of
IP
VP
VBD
e-2
entered
VP
VBD
e-3
purred
19
The inverse role arg1-of is the foundation for relative clause structure with
an NP-SBJ (subject) trace.
✘✘ ❳❳❳
IP
NP-SBJ
x-4
cat
:arg0-of
IP
VP
VBD
e-2
entered
VP
VBD
e-3
purred
✭✭✭
✏✏ ❳❳
✭✭✭✭ ❤❤❤❤
✏✏ €€
❤❤❤❤
IP
NP-SBJ
x-4
XP
cat CP-REL
WNP-5
0
C
that
IP-SUB
NP-SBJ
*T*-5
VP
VBD
e-2
entered
VP
VBD
e-3
purred
✭✭✭✭✭✭
✭✭✭✭ ❤❤❤❤
✭✭✭✭ ✟✟❤❤❤❤❤
✘✘ ❳❳
❤❤❤❤❤❤❤❤❤
IP-MAT
NP-SBJ
N
Cat
CP-REL
WNP-5
0
C
that
IP-SUB
NP-SBJ
*T*-5
VBD
entered
VBD
purred
.
.
20
Generation possibilities
If an arg0 argument happened to be missing, either a passive transformation
may result or there may be inclusion of a subject expletive it or there for
English.
Adjunct materials can find placement based on argument role information or
subtree size, e.g., vocatives (NP-VOC) are always clause initial, a temporal
NP (NP-TMP) will typically be clause initial, while, for English, clause final
positioning will be favoured for a heavy PP or NP (whose children reach large
depths).
Having arguments with the same referent can trigger the introduction of
infinitival or participial clause structure to create control configurations or
various types of ellipsis, such as VP ellipsis.
21
✭✭✭✭ ❍❍❤❤❤❤ ✭✭✭✭✭✭ ✭✭✭✭
❍❍ ✭✭✭✭
✘✘ ❳❳
❤❤❤❤
✘✘ ❳❳
QUANT
EXIST
x-4 x-1 e-2 e-3
AND
past
e-2
past
e-3
cat
x-1
=
x-4 x-1
AND
entered
:arg0
x-1
:EVENT
e-2
purred
:arg0
x-4
:EVENT
e-3
22
✭✭✭✭✭✭ ✭✭✭✭
❍❍ ✭✭✭✭
✘✘ ❳❳
❤❤❤❤
✘✘ ❳❳
AND
past
e-2
past
e-3
cat
x-1
=
x-4 x-1
AND
entered
:arg0
x-1
:EVENT
e-2
purred
:arg0
x-4
:EVENT
e-3
23
✭✭✭
❍❍
❤❤❤
✘✘ ❳❳ ✘✘ ❳❳
AND
past
e-2
past
e-3
cat
x-1
=
x-4 x-1
entered
:arg0
x-1
:EVENT
e-2
purred
:arg0
x-4
:EVENT
e-3
24
✭✭✭✭ ❤❤❤❤
AND
past
e-2
past
e-3
x-1
cat
x-4
-entity-
:EQUALS
x-1
e-2
/entered/
:arg0
x-1
e-3
/purred/
:arg0
x-4
25
✭✭✭✭✭ ❛❛
✏✏ €€ ✏✏ €€
AND
x-1
cat
x-4
-entity-
:EQUALS
x-1
e-2
/entered/
:arg0
x-1
:tense
past
e-3
/purred/
:arg0
x-4
:tense
past
26
✭✭✭✭✭ ✏✏
✏✏ €€
❤❤❤❤❤
✏✏ €€
AND
x-1
cat
e-2
/entered/
:arg0
x-1
:tense
past
e-3
/purred/
:arg0
x-4
-entity-
:EQUALS
x-1
:tense
past
27
✭✭✭✭
✏✏ €€
❤❤❤❤
✏✏ €€
AND
e-2
/entered/
:arg0
x-1
cat
:tense
past
e-3
/purred/
:arg0
x-4
-entity-
:EQUALS
x-1
:tense
past
28
✭✭✭ ❤❤❤❤
✏✏ €€
AND
x-1
cat
:arg0-of
e-2
/entered/
:tense
past
e-3
/purred/
:arg0
x-4
-entity-
:EQUALS
x-1
:tense
past
29
✏✏ €€
AND
e-3
/purred/
:arg0
x-4
-entity-
:EQUALS
x-1
cat
:arg0-of
e-2
/entered/
:tense
past
:tense
past
30
✏✏ €€
AND
e-3
/purred/
:arg0
x-4
cat
:arg0-of
e-2
/entered/
:tense
past
:tense
past
31
✏✏ €€
e-3
/purred/
:arg0
x-4
cat
:arg0-of
e-2
/entered/
:tense
past
:tense
past
32
✏✏ €€
e-3
purred
:arg0
x-4
cat
:arg0-of
e-2
entered
:tense
past
:tense
past
33
✏✏ €€
IP
VP
VBP
e-3
purred
:arg0
x-4
cat
:arg0-of
IP
VP
VBP
e-2
entered
:tense
past
:tense
past
34
IP
VP
VBD
e-3
purred
:arg0
x-4
cat
:arg0-of
IP
VP
VBD
e-2
entered
35
✘✘ ❳❳❳
IP
NP-SBJ
x-4
cat
:arg0-of
IP
VP
VBD
e-2
entered
VP
VBD
e-3
purred
36
✏✏ €€
IP
NP-SBJ
x-4
XP
cat
:arg0-of
IP
VP
VBD
e-2
entered
VP
VBD
e-3
purred
37
✭✭✭
✏✏ €€
❤❤❤
IP
NP-SBJ
x-4
XP
cat :arg0-of
IP
VP
VBD
e-2
entered
VP
VBD
e-3
purred
38
✭✭✭
✏✏ ❳❳
✭✭✭✭ ✦✦ ❤❤❤❤
✏✏ €€
❤❤❤❤
IP
NP-SBJ
x-4
XP
cat CP-REL
WNP
0
C
that
IP
NP-SBJ
*T*
VP
VBD
e-2
entered
VP
VBD
e-3
purred
39
✭✭✭
✏✏ ❳❳
✭✭✭✭ ❤❤❤❤
✏✏ €€
❤❤❤❤
IP
NP-SBJ
x-4
XP
cat CP-REL
WNP-5
0
C
that
IP
NP-SBJ
*T*-5
VP
VBD
e-2
entered
VP
VBD
e-3
purred
40
✭✭✭
✏✏ ❳❳
✭✭✭✭ ❤❤❤❤
✏✏ €€
❤❤❤❤
IP
NP-SBJ
x-4
XP
cat CP-REL
WNP-5
0
C
that
IP-SUB
NP-SBJ
*T*-5
VP
VBD
e-2
entered
VP
VBD
e-3
purred
41
✭✭✭
✏✏ ❳❳
✭✭✭✭ ❤❤❤❤
✏✏ €€
❤❤❤❤
IP-MAT
NP-SBJ
x-4
XP
cat CP-REL
WNP-5
0
C
that
IP-SUB
NP-SBJ
*T*-5
VP
VBD
e-2
entered
VP
VBD
e-3
purred
42
✭✭✭✭ ❤❤❤❤
✭✭✭✭ ❤❤❤❤
✏✏ €€
IP-MAT
NP-SBJ
x-4
N
cat
CP-REL
WNP-5
0
C
that
IP-SUB
NP-SBJ
*T*-5
VP
VBD
e-2
entered
VP
VBD
e-3
purred
43
✭✭✭✭
✭✭✭✭ ❤❤❤❤
✭✭✭✭ ❤❤❤❤
✏✏ €€
❤❤❤❤
IP-MAT
NP-SBJ
x-4
N
cat
CP-REL
WNP-5
0
C
that
IP-SUB
NP-SBJ
*T*-5
VP
VBD
entered
VP
VBD
purred
44
✭✭✭✭ ❤❤❤❤
✭✭✭✭ ❤❤❤❤
✏✏ €€
IP-MAT
NP-SBJ
N
cat
CP-REL
WNP-5
0
C
that
IP-SUB
NP-SBJ
*T*-5
VP
VBD
entered
VP
VBD
purred
45
✭✭✭✭ ❤❤❤❤
✭✭✭✭ ❤❤❤❤
✏✏ €€
❤❤❤❤❤
IP-MAT
NP-SBJ
N
cat
CP-REL
WNP-5
0
C
that
IP-SUB
NP-SBJ
*T*-5
VP
VBD
entered
VP
VBD
purred
.
.
46
✭✭✭✭✭
✭✭✭✭ ❤❤❤❤
✭✭✭✭ ✟✟❤❤❤❤❤
✘✘ ❳❳
❤❤❤❤❤❤❤❤❤
IP-MAT
NP-SBJ
N
cat
CP-REL
WNP-5
0
C
that
IP-SUB
NP-SBJ
*T*-5
VBD
entered
VBD
purred
.
.
47
✭✭✭✭✭✭
✭✭✭✭ ❤❤❤❤
✭✭✭✭ ✟✟❤❤❤❤❤
✘✘ ❳❳
❤❤❤❤❤❤❤❤❤
IP-MAT
NP-SBJ
N
Cat
CP-REL
WNP-5
0
C
that
IP-SUB
NP-SBJ
*T*-5
VBD
entered
VBD
purred
.
.
48
Experiments
The smatch metric (Cai and Knight 2013) can be used to evaluate the
success of round tripping on English.
This is a metric to measure whole-sentence semantic analysis by calculating
the degree of overlap between meaning representations.
49
Results for 1452 annotated sentences (14,118 tokens) from four different
registers are as follows:
register sentences tokens precision recall F-score
textbook 687 5194 0.98 0.98 0.98
newswire 121 2381 0.97 0.96 0.97
(simple) fiction 547 5241 0.96 0.96 0.96
non-fiction 97 1302 0.93 0.93 0.93
Results show that in round tripping with English, so building a meaning
representation A from a gold standard parse and generating back to an
English sentence and then building a meaning representation B from the
generated sentence, and then comparing A with B, it is possible to retain the
bulk of semantic content with high precision and recall.
Results also reflect a decline in performance on more challenging data.
50
Towards translation
Calculate a meaning representation for English input but use Japanese
generation rules
✭✭✭✭✭ ❤❤❤❤❤
✭✭✭✭✭✭ ✥✥✥ ❤❤❤❤❤❤
✭✭✭✭✭ ❤❤❤❤❤
IP-MAT
NP-SBJ
N
Pizza
CP-REL
WNP-1
0
C
that
IP-SUB
NP-OB1
*T*-1
NP-SBJ
PRO
I
VBD
made
BED
was
ADJP
ADJ
delicious
.
.
✭✭✭✭ ✘✘ ❳❳❤❤❤❤ ✘✘
✭✭✭✭ ❤❤❤❤
❤❤❤❤
✭✭✭✭✭✭ ❤❤❤❤❤❤
QUANT
EXIST
z4 x1 A5 e2 e3
AND
past
e2
past
e3
delicious
A5
made
:arg0
z4
:arg1
x1
:event
e2
pizza
x1
=
z4 I
was
:arg0
x1
:ATTRIBUTE
A5
:event
e3
51
✭✭✭✭✭✭
✏✏ €€
❤❤❤❤❤❤
e3
was
:arg0
x1
pizza
:arg1-of
e2
made
:arg0
z4
I
:tense
past
:ATTRIBUTE
A5
delicious
:tense
past
✭✭✭
✏✏ €€
❤❤❤
IP
NP-SBJ
x1
Pizza
:arg1-of
IP
NP-SBJ
z4
I
VP
VBD
e2
made
VP
VBD
e3
was
:ATTRIBUTE
A5
delicious
✭✭✭✭✭
✘✘
✏✏ €€
❳❳
❤❤❤❤❤
✭✭✭ ❤❤❤
IP
NP-SBJ
x1
XP
:arg1-of
IP
NP-SBJ
z4
I
VP
VBD
e2
made
Pizza
VP
:ATTRIBUTE
A5
delicious
VBD
e3
was
Projection of relative clause structure is again triggered, only for Japanese
there is projection of an IP-REL layer to the left side of the head noun.
52
✭✭✭✭
✭✭✭
✭✭✭ ❤❤❤
✘✘ ❳❳
❤❤❤
❤❤❤❤
✏✏ €€
IP-MAT
NP-SBJ
x1
IP-REL
NP-SBJ
z4
I
VP
NP-OB1
*T*
VBD
e2
made
N
Pizza
VP
ADJ
delicious
VBD
e3
was
Generation is completed with the addition of case particles.
✥✥✥
✭✭✭✭✭
✭✭✭✭✭ ✘✘ €€❤❤❤❤❤
❤❤❤❤❤
❤❤❤
✭✭✭ ❤❤❤❤❤
IP-MAT
PP
NP
IP-REL
NP-OB1
*T*
PP
NP
N
I
P
が
NP-SBJ
*が*
VBD
made
N
Pizza
P
が
NP-SBJ
*が*
ADJ
delicious
AXD
was
PU
。
53
✥✥✥
✭✭✭✭✭
✭✭✭✭✭ ✘✘ €€❤❤❤❤❤
❤❤❤❤❤
❤❤❤
✭✭✭ ❤❤❤❤❤
IP-MAT
PP
NP
IP-REL
NP-OB1
*T*
PP
NP
N
I
P
が
NP-SBJ
*が*
VBD
made
N
Pizza
P
が
NP-SBJ
*が*
ADJ
delicious
AXD
was
PU
。
✭✭✭
✭✭✭✭✭
✭✭✭ ❤❤❤❤
❤❤❤❤❤
❤❤❤
✭✭✭✭ ❤❤❤
IP-MAT
PP
NP
IP-REL
NP-OB1
*T*
PP
NP
PRO
僕
P
が
NP-SBJ
*が*
VB
作っ
AXD
た
N
ピザ
P
が
NP-SBJ
*が*
ADJI
おいしかっ
AXD
た
AX
です
PU
。
54
✭✭✭
✭✭✭✭✭
✭✭✭ ❤❤❤❤
❤❤❤❤❤
❤❤❤
✭✭✭✭ ❤❤❤
IP-MAT
PP
NP
IP-REL
NP-OB1
*T*
PP
NP
PRO
僕
P
が
NP-SBJ
*が*
VB
作っ
AXD
た
N
ピザ
P
が
NP-SBJ
*が*
ADJI
おいしかっ
AXD
た
AX
です
PU
。
By feeding the Japanese version of the example sentence into the Treebank
Semantics system a meaning representation is built:
∃x4x1e2e3(past(e3) ∧ past(e2) ∧ x4 = 僕 ∧ ピザ(x1) ∧
作っ_た(e2, x4, x1) ∧ おいしかっ_た_です(e3, x1))
Such a meaning representation can be modified to form the basis for
generation, exactly as seen with English.
55
Having meaning representations for sentences of parallel corpora is a basis
for extracting rules for a full translation system.
✏✏
✏✏ €€
€€
e3
おいしかっ_た_です
:arg0
x1
ピザ
:arg1-of
e2
作っ_た
:arg0
x4
僕
:tense
past
:tense
past
✭✭✭✭✭✭
✏✏ €€
❤❤❤❤❤❤
e3
was
:arg0
x1
pizza
:arg1-of
e2
made
:arg0
z4
I
:tense
past
:ATTRIBUTE
A5
delicious
:tense
past
56
Scalibility of the approach
Input: It was not immediately clear if the president was in the palace in
Mogadishu when the attack occurred or if anyone was hurt .
✭✭✭✭
✥✥✥
✭✭✭ ❤❤❤
❤❤❤❤❤
✏✏ €€
✭✭✭✭ ❤❤❤❤
❳❳❳
TOP
e-8
was
:polarity
-
:arg0
r-20
or
:op1
e-6
was
:arg0
x-3
president
:mode
definite
:IN
x-2
palace
:mode
definite
:IN
@Mogadishu
-entity-
:name
n18
name
:op1
"Mogadishu"
:tense
past
:mode
interrogative
:time-of
e-5
occurred
:arg0
x-1
attack
:mode
definite
:tense
past
:op2
e-7
hurt
:arg1
x-4
one
:quantifier
any
:tense
past
:mode
interrogative
:ATTRIBUTE
A-21
immediately_clear
:tense
past
Output: Whether when the attack occurred the president was in the palace in
Mogadishu or whether any one was hurt was not immediately clear .
57
Input: Among the few features of agricultural England which retain an
appearance but little modified by the lapse of centuries , may be reckoned the
high , grassy and furzy downs , coombs , or ewe-leases , as they are
indifferently called , that fill a large area of certain counties in the south and
south-west .
✘✘
✭✭✭✭✭
✭✭✭✭
✥✥✥ ❵❵❵
❤❤❤❤
✥✥✥
✥✥✥ ❵❵❵
✭✭✭✭✭ ❳❳❤❤❤❤❤
❵❵❵
✘✘ ❤❤❤❤❤❤
✏✏
✏✏ ❳❳
€€
TOP
e-24
reckoned
:domain-of
w-25
may
:arg1
X-21
or
:op1
x-3
AND
:op1
X-8
downs
:ATTRIBUTE
A-28
high
:op2
X-9
downs
:ATTRIBUTE
A-29
grassy
:op3
X-10
downs
:ATTRIBUTE
A-30
furzy
:mode
definite
:op2
X-17
coombs
:op3
X-20
ewe-leases
:AS
e-22
called
:arg1
X-18
they
:mod
m-26
indifferently
:arg0-of
e-23
fill
:arg1
x-16
area
:OF
X-19
counties
:ATTRIBUTE
A-31
certain
:IN
x-6
AND
:op1
x-4
south
:op2
x-5
south-west
:mode
definite
:ATTRIBUTE
A-32
large
:AMONG
X-13
features
:mode
definite
:OF
@agricultural_England
-entity-
:name
n36
name
:op1
"agricultural_England"
:quantifier
few
:arg0-of
e-15
retain
:arg1
x-2
appearance
:arg1-of
e-14
modified
:arg0
x-1
lapse
:mode
definite
:OF
X-7
centuries
:mod
m-27
little
Output: The high downs , grassy downs and furzy downs , coombs or
ewe-leases as indifferently they are called that fill large area of certain
counties in the south and south-west may be reckoned among the few
features of agricultural England that retain appearance that little the lapse of
centuries modified .
58
Input: Among the few features of agricultural England which retain an
appearance but little modified by the lapse of centuries , may be reckoned the
high , grassy and furzy downs , coombs , or ewe-leases , as they are
indifferently called , that fill a large area of certain counties in the south and
south-west .
✘✘
✭✭✭✭✭
✭✭✭✭
✥✥✥ ❵❵❵
❤❤❤❤
✥✥✥
✥✥✥ ❵❵❵
✭✭✭✭✭ ❳❳❤❤❤❤❤
❵❵❵
✘✘ ❤❤❤❤❤❤
✏✏
✏✏ ❳❳
€€
TOP
e-24
reckoned
:domain-of
w-25
may
:arg1
X-21
or
:op1
x-3
AND
:op1
X-8
downs
:ATTRIBUTE
A-28
high
:op2
X-9
downs
:ATTRIBUTE
A-29
grassy
:op3
X-10
downs
:ATTRIBUTE
A-30
furzy
:mode
definite
:op2
X-17
coombs
:op3
X-20
ewe-leases
:AS
e-22
called
:arg1
X-18
they
:mod
m-26
indifferently
:arg0-of
e-23
fill
:arg1
x-16
area
:OF
X-19
counties
:ATTRIBUTE
A-31
certain
:IN
x-6
AND
:op1
x-4
south
:op2
x-5
south-west
:mode
definite
:ATTRIBUTE
A-32
large
:AMONG
X-13
features
:mode
definite
:OF
@agricultural_England
-entity-
:name
n36
name
:op1
"agricultural_England"
:quantifier
few
:arg0-of
e-15
retain
:arg1
x-2
appearance
:arg1-of
e-14
modified
:arg0
x-1
lapse
:mode
definite
:OF
X-7
centuries
:mod
m-27
little
Output: The high downs , grassy downs and furzy downs , coombs or
ewe-leases as indifferently they are called that fill large area of certain
counties in the south and south-west may be reckoned among the few
features of agricultural England that retain appearance that little the lapse of
centuries modified .
59
Input: The purpose of this Act is to protect the rights and interests of
individuals while taking consideration of the usefulness of personal
information , in view of a remarkable increase in the utilization of personal
information due to development of the advanced information and
communications society , by clarifying the responsibilities of the State and
local governments , etc. with laying down basic principle , establishment of a
basic policy by the Government and the matters to serve as a basis for other
measures on the protection of personal information , and by prescribing the
duties to be observed by entities handling personal information , etc. ,
regarding the proper handling of personal information .
✏✏ €€ ✏✏ €€
✥✥✥ ❤❤❤
✥✥✥
✘✘ ❳❳
✭✭✭✭ ❤❤❤❤
✏✏ €€
✥✥✥ ❤❤❤
✘✘ ❳❳
✥✥✥
✘✘ ❳❳
❤❤❤
✭✭✭✭✭
✏✏ €€ ✭✭✭✭✭✭
❤❤❤❤
✏✏ €€
❤❤❤❤❤❤
✏✏ €€
✥✥✥ ❤❤❤
✏✏ €€
✭✭✭✭
✭✭✭✭✭✭ ❤❤❤❤❤❤
TOP
r-91
and
:op1
e-43
is
:arg0
x-19
purpose
:OF
x-1
Act
:determiner
this
:mode
definite
:arg1
e-42
protect
:arg0
x-19
:arg1
x-14
AND
:op1
X-25
rights
:op2
X-26
interests
:OF
X-27
individuals
:mode
definite
:BY
e-41
clarifying
:arg0
x-19
:arg1
X-24
responsibilities
:mode
definite
:OF
X-21
AND
:op1
@State
-entity-
:name
n-104
name
:op1
"State"
:op2
x-9
governments_etc.
:ATTRIBUTE
A-92
local
:WITH
e-40
laying_down
:arg0
X-24
:arg1
X-54
AND
:op1
x-51
principle
:ATTRIBUTE
A-93
basic
:op2
x-53
establishment
:OF
x-52
policy
:ATTRIBUTE
A-94
basic
:BY
x-10
Government
:mode
definite
:op3
X-23
matters
:mode
definite
:arg0-of
e-35
serve
:AS
x-13
basis
:FOR
X-22
measures
:ON
x-12
protection
:mode
definite
:OF
x-11
information
:ATTRIBUTE
A-95
personal
:ATTRIBUTE
A-96
other
:WHILE
e-39
taking
:arg0
x-19
:arg1
x-50
consideration
:OF
x-3
usefulness
:mode
definite
:OF
x-2
information
:ATTRIBUTE
A-97
personal
:IN
x-49
view
:OF
x-48
increase
:ATTRIBUTE
A-63
due
:TO
x-47
development
:OF
x-7
AND
:op1
x-5
information
:ATTRIBUTE
A-98
advanced
:op2
x-6
communications_society
:mode
definite
:IN
x-8
utilization
:mode
definite
:OF
x-4
information
:ATTRIBUTE
A-99
personal
:ATTRIBUTE
A-100
remarkable
:op2
e-46
is
:arg0
x-19
:arg1
e-45
protect
:arg0
x-19
:arg1
x-18
AND
:op1
X-31
rights
:op2
X-32
interests
:OF
X-33
individuals
:mode
definite
:BY
e-44
prescribing
:arg0
x-19
:arg1
X-30
duties
:mode
definite
:arg1-of
e-37
observed
:arg0
X-29
entities
:arg0-of
e-36
handling
:arg1
x-15
information_etc.
:ATTRIBUTE
A-101
personal
:arg0-of
e-38
regarding
:arg1
x-17
handling
:OF
x-16
information
:ATTRIBUTE
A-102
personal
:ATTRIBUTE
A-103
proper
:mode
definite
:WHILE
e-39
60
Output: The purpose of this Act is to protect the rights and interests of
individuals by clarifying the responsibilities of State and local governments
etc. with laying down basic principle , establishment of basic policy by the
Government and the matters that serve as basis for other measures on the
protection of personal information while taking consideration of the usefulness
of personal information in view of remarkable increase due to development of
the advanced information and communications society in the utilization of
personal information and is to protect the rights and interests of individuals by
prescribing the duties that entities handling personal information etc.
observed regarding the proper handling of personal information while taking
consideration of the usefulness of personal information in view of remarkable
increase due to development of the advanced information and
communications society in the utilization of personal information .
61
Output: The purpose of this Act is to protect the rights and interests of
individuals by clarifying the responsibilities of State and local governments
etc. with laying down basic principle , establishment of basic policy by the
Government and the matters that serve as basis for other measures on the
protection of personal information while taking consideration of the usefulness
of personal information in view of remarkable increase due to development of
the advanced information and communications society in the utilization of
personal information and is to protect the rights and interests of individuals by
prescribing the duties that entities handling personal information etc.
observed regarding the proper handling of personal information while taking
consideration of the usefulness of personal information in view of remarkable
increase due to development of the advanced information and
communications society in the utilization of personal information .
62
Input: The purpose of this Act is to protect the rights and interests of
individuals while taking consideration of the usefulness of personal
information , in view of a remarkable increase in the utilization of personal
information due to development of the advanced information and
communications society , by clarifying the responsibilities of the State and
local governments , etc. with laying down basic principle , establishment of a
basic policy by the Government and the matters to serve as a basis for other
measures on the protection of personal information , and by prescribing the
duties to be observed by entities handling personal information , etc. ,
regarding the proper handling of personal information .
✏✏ €€ ✏✏ €€
✥✥✥ ❤❤❤
✥✥✥
✘✘ ❳❳
✭✭✭✭ ❤❤❤❤
✏✏ €€
✥✥✥ ❤❤❤
✘✘ ❳❳
✥✥✥
✘✘ ❳❳
❤❤❤
✭✭✭✭✭
✏✏ €€ ✭✭✭✭✭✭
❤❤❤❤
✏✏ €€
❤❤❤❤❤❤
✏✏ €€
✥✥✥ ❤❤❤
✏✏ €€
✭✭✭✭
✭✭✭✭✭✭ ❤❤❤❤❤❤
TOP
r-91
and
:op1
e-43
is
:arg0
x-19
purpose
:OF
x-1
Act
:determiner
this
:mode
definite
:arg1
e-42
protect
:arg0
x-19
:arg1
x-14
AND
:op1
X-25
rights
:op2
X-26
interests
:OF
X-27
individuals
:mode
definite
:BY
e-41
clarifying
:arg0
x-19
:arg1
X-24
responsibilities
:mode
definite
:OF
X-21
AND
:op1
@State
-entity-
:name
n-104
name
:op1
"State"
:op2
x-9
governments_etc.
:ATTRIBUTE
A-92
local
:WITH
e-40
laying_down
:arg0
X-24
:arg1
X-54
AND
:op1
x-51
principle
:ATTRIBUTE
A-93
basic
:op2
x-53
establishment
:OF
x-52
policy
:ATTRIBUTE
A-94
basic
:BY
x-10
Government
:mode
definite
:op3
X-23
matters
:mode
definite
:arg0-of
e-35
serve
:AS
x-13
basis
:FOR
X-22
measures
:ON
x-12
protection
:mode
definite
:OF
x-11
information
:ATTRIBUTE
A-95
personal
:ATTRIBUTE
A-96
other
:WHILE
e-39
taking
:arg0
x-19
:arg1
x-50
consideration
:OF
x-3
usefulness
:mode
definite
:OF
x-2
information
:ATTRIBUTE
A-97
personal
:IN
x-49
view
:OF
x-48
increase
:ATTRIBUTE
A-63
due
:TO
x-47
development
:OF
x-7
AND
:op1
x-5
information
:ATTRIBUTE
A-98
advanced
:op2
x-6
communications_society
:mode
definite
:IN
x-8
utilization
:mode
definite
:OF
x-4
information
:ATTRIBUTE
A-99
personal
:ATTRIBUTE
A-100
remarkable
:op2
e-46
is
:arg0
x-19
:arg1
e-45
protect
:arg0
x-19
:arg1
x-18
AND
:op1
X-31
rights
:op2
X-32
interests
:OF
X-33
individuals
:mode
definite
:BY
e-44
prescribing
:arg0
x-19
:arg1
X-30
duties
:mode
definite
:arg1-of
e-37
observed
:arg0
X-29
entities
:arg0-of
e-36
handling
:arg1
x-15
information_etc.
:ATTRIBUTE
A-101
personal
:arg0-of
e-38
regarding
:arg1
x-17
handling
:OF
x-16
information
:ATTRIBUTE
A-102
personal
:ATTRIBUTE
A-103
proper
:mode
definite
:WHILE
e-39
63
Conclusion
A complete pipeline was described for taking parsed sentences, going to
meaning representations (initially to Davidsonian predicate logic
representations, then to PENMAN notation), and then back to parsed
sentences (the round trip).
Keeping to the same language tests the combined success of building
meaning representations from parsed input and of generating parsed output.
With the described method, the smatch metric reveals that the bulk of
semantic content is retained with high precision and recall on a range of data.
64
While there is no explicit flagging in a conventional Davidsonian meaning
representation of what is a verb, noun, adjective, relative clause, passive,
control relation, etc., much information is found to facilitate generation of such
language elements when there is sort and argument role information and
when there is subsequent re-packaging of content, as with the PENMAN
format, guided by the aim to form single rooted structures.
Future directions
Future directions are to achieve translation with being able to switch
languages at the point of manipulating meaning representations.
Current transfer shortfall is seen with meaning representations built from
parsed parallel corpora data.
65

More Related Content

What's hot

PyCon 2011 talk - ngram assembly with Bloom filters
PyCon 2011 talk - ngram assembly with Bloom filtersPyCon 2011 talk - ngram assembly with Bloom filters
PyCon 2011 talk - ngram assembly with Bloom filtersc.titus.brown
 
Kotlin collections
Kotlin collectionsKotlin collections
Kotlin collectionsMyeongin Woo
 
Java: Nie popełniaj tych błędów!
Java: Nie popełniaj tych błędów!Java: Nie popełniaj tych błędów!
Java: Nie popełniaj tych błędów!Daniel Pokusa
 
Scala - where objects and functions meet
Scala - where objects and functions meetScala - where objects and functions meet
Scala - where objects and functions meetMario Fusco
 
Euro python2011 High Performance Python
Euro python2011 High Performance PythonEuro python2011 High Performance Python
Euro python2011 High Performance PythonIan Ozsvald
 
Functional Programming In Java
Functional Programming In JavaFunctional Programming In Java
Functional Programming In JavaAndrei Solntsev
 
groovy databases
groovy databasesgroovy databases
groovy databasesPaul King
 
Beyond tf idf why, what & how
Beyond tf idf why, what & howBeyond tf idf why, what & how
Beyond tf idf why, what & howlucenerevolution
 
Python Performance 101
Python Performance 101Python Performance 101
Python Performance 101Ankur Gupta
 
Python于Web 2.0网站的应用 - QCon Beijing 2010
Python于Web 2.0网站的应用 - QCon Beijing 2010Python于Web 2.0网站的应用 - QCon Beijing 2010
Python于Web 2.0网站的应用 - QCon Beijing 2010Qiangning Hong
 
Basic NLP with Python and NLTK
Basic NLP with Python and NLTKBasic NLP with Python and NLTK
Basic NLP with Python and NLTKFrancesco Bruni
 
Thesis presentation Samuel Lampa
Thesis presentation Samuel LampaThesis presentation Samuel Lampa
Thesis presentation Samuel LampaSamuel Lampa
 
Martin Fowler's Refactoring Techniques Quick Reference
Martin Fowler's Refactoring Techniques Quick ReferenceMartin Fowler's Refactoring Techniques Quick Reference
Martin Fowler's Refactoring Techniques Quick ReferenceSeung-Bum Lee
 

What's hot (20)

PyCon 2011 talk - ngram assembly with Bloom filters
PyCon 2011 talk - ngram assembly with Bloom filtersPyCon 2011 talk - ngram assembly with Bloom filters
PyCon 2011 talk - ngram assembly with Bloom filters
 
Kotlin collections
Kotlin collectionsKotlin collections
Kotlin collections
 
Java: Nie popełniaj tych błędów!
Java: Nie popełniaj tych błędów!Java: Nie popełniaj tych błędów!
Java: Nie popełniaj tych błędów!
 
Hammurabi
HammurabiHammurabi
Hammurabi
 
Scala - where objects and functions meet
Scala - where objects and functions meetScala - where objects and functions meet
Scala - where objects and functions meet
 
Euro python2011 High Performance Python
Euro python2011 High Performance PythonEuro python2011 High Performance Python
Euro python2011 High Performance Python
 
Functional programming in java
Functional programming in javaFunctional programming in java
Functional programming in java
 
Guava et Lombok au Bordeaux JUG
Guava et Lombok au Bordeaux JUGGuava et Lombok au Bordeaux JUG
Guava et Lombok au Bordeaux JUG
 
Poly-paradigm Java
Poly-paradigm JavaPoly-paradigm Java
Poly-paradigm Java
 
Functional Programming In Java
Functional Programming In JavaFunctional Programming In Java
Functional Programming In Java
 
groovy databases
groovy databasesgroovy databases
groovy databases
 
Beyond tf idf why, what & how
Beyond tf idf why, what & howBeyond tf idf why, what & how
Beyond tf idf why, what & how
 
webScrapingFunctions
webScrapingFunctionswebScrapingFunctions
webScrapingFunctions
 
Python Performance 101
Python Performance 101Python Performance 101
Python Performance 101
 
Python于Web 2.0网站的应用 - QCon Beijing 2010
Python于Web 2.0网站的应用 - QCon Beijing 2010Python于Web 2.0网站的应用 - QCon Beijing 2010
Python于Web 2.0网站的应用 - QCon Beijing 2010
 
Basic NLP with Python and NLTK
Basic NLP with Python and NLTKBasic NLP with Python and NLTK
Basic NLP with Python and NLTK
 
Thesis presentation Samuel Lampa
Thesis presentation Samuel LampaThesis presentation Samuel Lampa
Thesis presentation Samuel Lampa
 
Sneaking inside Kotlin features
Sneaking inside Kotlin featuresSneaking inside Kotlin features
Sneaking inside Kotlin features
 
Martin Fowler's Refactoring Techniques Quick Reference
Martin Fowler's Refactoring Techniques Quick ReferenceMartin Fowler's Refactoring Techniques Quick Reference
Martin Fowler's Refactoring Techniques Quick Reference
 
Scalding for Hadoop
Scalding for HadoopScalding for Hadoop
Scalding for Hadoop
 

Similar to Alastair Butler - 2015 - Round trips with meaning stopovers

Declare Your Language: Transformation by Strategic Term Rewriting
Declare Your Language: Transformation by Strategic Term RewritingDeclare Your Language: Transformation by Strategic Term Rewriting
Declare Your Language: Transformation by Strategic Term RewritingEelco Visser
 
CS4200 2019 | Lecture 5 | Transformation by Term Rewriting
CS4200 2019 | Lecture 5 | Transformation by Term RewritingCS4200 2019 | Lecture 5 | Transformation by Term Rewriting
CS4200 2019 | Lecture 5 | Transformation by Term RewritingEelco Visser
 
Compiler Construction | Lecture 5 | Transformation by Term Rewriting
Compiler Construction | Lecture 5 | Transformation by Term RewritingCompiler Construction | Lecture 5 | Transformation by Term Rewriting
Compiler Construction | Lecture 5 | Transformation by Term RewritingEelco Visser
 
To Infinity & Beyond: Protocols & sequences in Node - Part 2
To Infinity & Beyond: Protocols & sequences in Node - Part 2To Infinity & Beyond: Protocols & sequences in Node - Part 2
To Infinity & Beyond: Protocols & sequences in Node - Part 2Bahul Neel Upadhyaya
 
[DL輪読会]Conditional Neural Processes
[DL輪読会]Conditional Neural Processes[DL輪読会]Conditional Neural Processes
[DL輪読会]Conditional Neural ProcessesDeep Learning JP
 
Conditional neural processes
Conditional neural processesConditional neural processes
Conditional neural processesKazuki Fujikawa
 
Model-Driven Software Development - Pretty-Printing, Editor Services, Term Re...
Model-Driven Software Development - Pretty-Printing, Editor Services, Term Re...Model-Driven Software Development - Pretty-Printing, Editor Services, Term Re...
Model-Driven Software Development - Pretty-Printing, Editor Services, Term Re...Eelco Visser
 
Introduction to R programming
Introduction to R programmingIntroduction to R programming
Introduction to R programmingAlberto Labarga
 
Advanced data structure
Advanced data structureAdvanced data structure
Advanced data structureShakil Ahmed
 
Model-Driven Software Development - Static Analysis & Error Checking
Model-Driven Software Development - Static Analysis & Error CheckingModel-Driven Software Development - Static Analysis & Error Checking
Model-Driven Software Development - Static Analysis & Error CheckingEelco Visser
 
19. algorithms and-complexity
19. algorithms and-complexity19. algorithms and-complexity
19. algorithms and-complexityshowkat27
 
OTTER 2017-12-03
OTTER 2017-12-03OTTER 2017-12-03
OTTER 2017-12-03Ruo Ando
 
Frstorder 9 sldes read
Frstorder 9 sldes readFrstorder 9 sldes read
Frstorder 9 sldes readYasir Khan
 
Metaprogramming in Haskell
Metaprogramming in HaskellMetaprogramming in Haskell
Metaprogramming in HaskellHiromi Ishii
 
TENSOR DECOMPOSITION WITH PYTHON
TENSOR DECOMPOSITION WITH PYTHONTENSOR DECOMPOSITION WITH PYTHON
TENSOR DECOMPOSITION WITH PYTHONAndré Panisson
 
Some fixed point theorems in fuzzy mappings
Some fixed point theorems in fuzzy mappingsSome fixed point theorems in fuzzy mappings
Some fixed point theorems in fuzzy mappingsAlexander Decker
 
Declare Your Language: Type Checking
Declare Your Language: Type CheckingDeclare Your Language: Type Checking
Declare Your Language: Type CheckingEelco Visser
 

Similar to Alastair Butler - 2015 - Round trips with meaning stopovers (20)

Term Rewriting
Term RewritingTerm Rewriting
Term Rewriting
 
Declare Your Language: Transformation by Strategic Term Rewriting
Declare Your Language: Transformation by Strategic Term RewritingDeclare Your Language: Transformation by Strategic Term Rewriting
Declare Your Language: Transformation by Strategic Term Rewriting
 
CS4200 2019 | Lecture 5 | Transformation by Term Rewriting
CS4200 2019 | Lecture 5 | Transformation by Term RewritingCS4200 2019 | Lecture 5 | Transformation by Term Rewriting
CS4200 2019 | Lecture 5 | Transformation by Term Rewriting
 
Compiler Construction | Lecture 5 | Transformation by Term Rewriting
Compiler Construction | Lecture 5 | Transformation by Term RewritingCompiler Construction | Lecture 5 | Transformation by Term Rewriting
Compiler Construction | Lecture 5 | Transformation by Term Rewriting
 
A05920109
A05920109A05920109
A05920109
 
Fol
FolFol
Fol
 
To Infinity & Beyond: Protocols & sequences in Node - Part 2
To Infinity & Beyond: Protocols & sequences in Node - Part 2To Infinity & Beyond: Protocols & sequences in Node - Part 2
To Infinity & Beyond: Protocols & sequences in Node - Part 2
 
[DL輪読会]Conditional Neural Processes
[DL輪読会]Conditional Neural Processes[DL輪読会]Conditional Neural Processes
[DL輪読会]Conditional Neural Processes
 
Conditional neural processes
Conditional neural processesConditional neural processes
Conditional neural processes
 
Model-Driven Software Development - Pretty-Printing, Editor Services, Term Re...
Model-Driven Software Development - Pretty-Printing, Editor Services, Term Re...Model-Driven Software Development - Pretty-Printing, Editor Services, Term Re...
Model-Driven Software Development - Pretty-Printing, Editor Services, Term Re...
 
Introduction to R programming
Introduction to R programmingIntroduction to R programming
Introduction to R programming
 
Advanced data structure
Advanced data structureAdvanced data structure
Advanced data structure
 
Model-Driven Software Development - Static Analysis & Error Checking
Model-Driven Software Development - Static Analysis & Error CheckingModel-Driven Software Development - Static Analysis & Error Checking
Model-Driven Software Development - Static Analysis & Error Checking
 
19. algorithms and-complexity
19. algorithms and-complexity19. algorithms and-complexity
19. algorithms and-complexity
 
OTTER 2017-12-03
OTTER 2017-12-03OTTER 2017-12-03
OTTER 2017-12-03
 
Frstorder 9 sldes read
Frstorder 9 sldes readFrstorder 9 sldes read
Frstorder 9 sldes read
 
Metaprogramming in Haskell
Metaprogramming in HaskellMetaprogramming in Haskell
Metaprogramming in Haskell
 
TENSOR DECOMPOSITION WITH PYTHON
TENSOR DECOMPOSITION WITH PYTHONTENSOR DECOMPOSITION WITH PYTHON
TENSOR DECOMPOSITION WITH PYTHON
 
Some fixed point theorems in fuzzy mappings
Some fixed point theorems in fuzzy mappingsSome fixed point theorems in fuzzy mappings
Some fixed point theorems in fuzzy mappings
 
Declare Your Language: Type Checking
Declare Your Language: Type CheckingDeclare Your Language: Type Checking
Declare Your Language: Type Checking
 

More from Association for Computational Linguistics

Castro - 2018 - A High Coverage Method for Automatic False Friends Detection ...
Castro - 2018 - A High Coverage Method for Automatic False Friends Detection ...Castro - 2018 - A High Coverage Method for Automatic False Friends Detection ...
Castro - 2018 - A High Coverage Method for Automatic False Friends Detection ...Association for Computational Linguistics
 
Muthu Kumar Chandrasekaran - 2018 - Countering Position Bias in Instructor In...
Muthu Kumar Chandrasekaran - 2018 - Countering Position Bias in Instructor In...Muthu Kumar Chandrasekaran - 2018 - Countering Position Bias in Instructor In...
Muthu Kumar Chandrasekaran - 2018 - Countering Position Bias in Instructor In...Association for Computational Linguistics
 
Daniel Gildea - 2018 - The ACL Anthology: Current State and Future Directions
Daniel Gildea - 2018 - The ACL Anthology: Current State and Future DirectionsDaniel Gildea - 2018 - The ACL Anthology: Current State and Future Directions
Daniel Gildea - 2018 - The ACL Anthology: Current State and Future DirectionsAssociation for Computational Linguistics
 
Daniel Gildea - 2018 - The ACL Anthology: Current State and Future Directions
Daniel Gildea - 2018 - The ACL Anthology: Current State and Future DirectionsDaniel Gildea - 2018 - The ACL Anthology: Current State and Future Directions
Daniel Gildea - 2018 - The ACL Anthology: Current State and Future DirectionsAssociation for Computational Linguistics
 
Wenqiang Lei - 2018 - Sequicity: Simplifying Task-oriented Dialogue Systems w...
Wenqiang Lei - 2018 - Sequicity: Simplifying Task-oriented Dialogue Systems w...Wenqiang Lei - 2018 - Sequicity: Simplifying Task-oriented Dialogue Systems w...
Wenqiang Lei - 2018 - Sequicity: Simplifying Task-oriented Dialogue Systems w...Association for Computational Linguistics
 
Matthew Marge - 2017 - Exploring Variation of Natural Human Commands to a Rob...
Matthew Marge - 2017 - Exploring Variation of Natural Human Commands to a Rob...Matthew Marge - 2017 - Exploring Variation of Natural Human Commands to a Rob...
Matthew Marge - 2017 - Exploring Variation of Natural Human Commands to a Rob...Association for Computational Linguistics
 
Venkatesh Duppada - 2017 - SeerNet at EmoInt-2017: Tweet Emotion Intensity Es...
Venkatesh Duppada - 2017 - SeerNet at EmoInt-2017: Tweet Emotion Intensity Es...Venkatesh Duppada - 2017 - SeerNet at EmoInt-2017: Tweet Emotion Intensity Es...
Venkatesh Duppada - 2017 - SeerNet at EmoInt-2017: Tweet Emotion Intensity Es...Association for Computational Linguistics
 
Satoshi Sonoh - 2015 - Toshiba MT System Description for the WAT2015 Workshop
Satoshi Sonoh - 2015 - Toshiba MT System Description for the WAT2015 WorkshopSatoshi Sonoh - 2015 - Toshiba MT System Description for the WAT2015 Workshop
Satoshi Sonoh - 2015 - Toshiba MT System Description for the WAT2015 WorkshopAssociation for Computational Linguistics
 
John Richardson - 2015 - KyotoEBMT System Description for the 2nd Workshop on...
John Richardson - 2015 - KyotoEBMT System Description for the 2nd Workshop on...John Richardson - 2015 - KyotoEBMT System Description for the 2nd Workshop on...
John Richardson - 2015 - KyotoEBMT System Description for the 2nd Workshop on...Association for Computational Linguistics
 
John Richardson - 2015 - KyotoEBMT System Description for the 2nd Workshop on...
John Richardson - 2015 - KyotoEBMT System Description for the 2nd Workshop on...John Richardson - 2015 - KyotoEBMT System Description for the 2nd Workshop on...
John Richardson - 2015 - KyotoEBMT System Description for the 2nd Workshop on...Association for Computational Linguistics
 
Zhongyuan Zhu - 2015 - Evaluating Neural Machine Translation in English-Japan...
Zhongyuan Zhu - 2015 - Evaluating Neural Machine Translation in English-Japan...Zhongyuan Zhu - 2015 - Evaluating Neural Machine Translation in English-Japan...
Zhongyuan Zhu - 2015 - Evaluating Neural Machine Translation in English-Japan...Association for Computational Linguistics
 
Zhongyuan Zhu - 2015 - Evaluating Neural Machine Translation in English-Japan...
Zhongyuan Zhu - 2015 - Evaluating Neural Machine Translation in English-Japan...Zhongyuan Zhu - 2015 - Evaluating Neural Machine Translation in English-Japan...
Zhongyuan Zhu - 2015 - Evaluating Neural Machine Translation in English-Japan...Association for Computational Linguistics
 
Satoshi Sonoh - 2015 - Toshiba MT System Description for the WAT2015 Workshop
Satoshi Sonoh - 2015 - Toshiba MT System Description for the WAT2015 WorkshopSatoshi Sonoh - 2015 - Toshiba MT System Description for the WAT2015 Workshop
Satoshi Sonoh - 2015 - Toshiba MT System Description for the WAT2015 WorkshopAssociation for Computational Linguistics
 
Graham Neubig - 2015 - Neural Reranking Improves Subjective Quality of Machin...
Graham Neubig - 2015 - Neural Reranking Improves Subjective Quality of Machin...Graham Neubig - 2015 - Neural Reranking Improves Subjective Quality of Machin...
Graham Neubig - 2015 - Neural Reranking Improves Subjective Quality of Machin...Association for Computational Linguistics
 

More from Association for Computational Linguistics (20)

Muis - 2016 - Weak Semi-Markov CRFs for NP Chunking in Informal Text
Muis - 2016 - Weak Semi-Markov CRFs for NP Chunking in Informal TextMuis - 2016 - Weak Semi-Markov CRFs for NP Chunking in Informal Text
Muis - 2016 - Weak Semi-Markov CRFs for NP Chunking in Informal Text
 
Castro - 2018 - A High Coverage Method for Automatic False Friends Detection ...
Castro - 2018 - A High Coverage Method for Automatic False Friends Detection ...Castro - 2018 - A High Coverage Method for Automatic False Friends Detection ...
Castro - 2018 - A High Coverage Method for Automatic False Friends Detection ...
 
Castro - 2018 - A Crowd-Annotated Spanish Corpus for Humour Analysis
Castro - 2018 - A Crowd-Annotated Spanish Corpus for Humour AnalysisCastro - 2018 - A Crowd-Annotated Spanish Corpus for Humour Analysis
Castro - 2018 - A Crowd-Annotated Spanish Corpus for Humour Analysis
 
Muthu Kumar Chandrasekaran - 2018 - Countering Position Bias in Instructor In...
Muthu Kumar Chandrasekaran - 2018 - Countering Position Bias in Instructor In...Muthu Kumar Chandrasekaran - 2018 - Countering Position Bias in Instructor In...
Muthu Kumar Chandrasekaran - 2018 - Countering Position Bias in Instructor In...
 
Daniel Gildea - 2018 - The ACL Anthology: Current State and Future Directions
Daniel Gildea - 2018 - The ACL Anthology: Current State and Future DirectionsDaniel Gildea - 2018 - The ACL Anthology: Current State and Future Directions
Daniel Gildea - 2018 - The ACL Anthology: Current State and Future Directions
 
Elior Sulem - 2018 - Semantic Structural Evaluation for Text Simplification
Elior Sulem - 2018 - Semantic Structural Evaluation for Text SimplificationElior Sulem - 2018 - Semantic Structural Evaluation for Text Simplification
Elior Sulem - 2018 - Semantic Structural Evaluation for Text Simplification
 
Daniel Gildea - 2018 - The ACL Anthology: Current State and Future Directions
Daniel Gildea - 2018 - The ACL Anthology: Current State and Future DirectionsDaniel Gildea - 2018 - The ACL Anthology: Current State and Future Directions
Daniel Gildea - 2018 - The ACL Anthology: Current State and Future Directions
 
Wenqiang Lei - 2018 - Sequicity: Simplifying Task-oriented Dialogue Systems w...
Wenqiang Lei - 2018 - Sequicity: Simplifying Task-oriented Dialogue Systems w...Wenqiang Lei - 2018 - Sequicity: Simplifying Task-oriented Dialogue Systems w...
Wenqiang Lei - 2018 - Sequicity: Simplifying Task-oriented Dialogue Systems w...
 
Matthew Marge - 2017 - Exploring Variation of Natural Human Commands to a Rob...
Matthew Marge - 2017 - Exploring Variation of Natural Human Commands to a Rob...Matthew Marge - 2017 - Exploring Variation of Natural Human Commands to a Rob...
Matthew Marge - 2017 - Exploring Variation of Natural Human Commands to a Rob...
 
Venkatesh Duppada - 2017 - SeerNet at EmoInt-2017: Tweet Emotion Intensity Es...
Venkatesh Duppada - 2017 - SeerNet at EmoInt-2017: Tweet Emotion Intensity Es...Venkatesh Duppada - 2017 - SeerNet at EmoInt-2017: Tweet Emotion Intensity Es...
Venkatesh Duppada - 2017 - SeerNet at EmoInt-2017: Tweet Emotion Intensity Es...
 
Satoshi Sonoh - 2015 - Toshiba MT System Description for the WAT2015 Workshop
Satoshi Sonoh - 2015 - Toshiba MT System Description for the WAT2015 WorkshopSatoshi Sonoh - 2015 - Toshiba MT System Description for the WAT2015 Workshop
Satoshi Sonoh - 2015 - Toshiba MT System Description for the WAT2015 Workshop
 
Chenchen Ding - 2015 - NICT at WAT 2015
Chenchen Ding - 2015 - NICT at WAT 2015Chenchen Ding - 2015 - NICT at WAT 2015
Chenchen Ding - 2015 - NICT at WAT 2015
 
John Richardson - 2015 - KyotoEBMT System Description for the 2nd Workshop on...
John Richardson - 2015 - KyotoEBMT System Description for the 2nd Workshop on...John Richardson - 2015 - KyotoEBMT System Description for the 2nd Workshop on...
John Richardson - 2015 - KyotoEBMT System Description for the 2nd Workshop on...
 
John Richardson - 2015 - KyotoEBMT System Description for the 2nd Workshop on...
John Richardson - 2015 - KyotoEBMT System Description for the 2nd Workshop on...John Richardson - 2015 - KyotoEBMT System Description for the 2nd Workshop on...
John Richardson - 2015 - KyotoEBMT System Description for the 2nd Workshop on...
 
Zhongyuan Zhu - 2015 - Evaluating Neural Machine Translation in English-Japan...
Zhongyuan Zhu - 2015 - Evaluating Neural Machine Translation in English-Japan...Zhongyuan Zhu - 2015 - Evaluating Neural Machine Translation in English-Japan...
Zhongyuan Zhu - 2015 - Evaluating Neural Machine Translation in English-Japan...
 
Zhongyuan Zhu - 2015 - Evaluating Neural Machine Translation in English-Japan...
Zhongyuan Zhu - 2015 - Evaluating Neural Machine Translation in English-Japan...Zhongyuan Zhu - 2015 - Evaluating Neural Machine Translation in English-Japan...
Zhongyuan Zhu - 2015 - Evaluating Neural Machine Translation in English-Japan...
 
Hyoung-Gyu Lee - 2015 - NAVER Machine Translation System for WAT 2015
Hyoung-Gyu Lee - 2015 - NAVER Machine Translation System for WAT 2015Hyoung-Gyu Lee - 2015 - NAVER Machine Translation System for WAT 2015
Hyoung-Gyu Lee - 2015 - NAVER Machine Translation System for WAT 2015
 
Satoshi Sonoh - 2015 - Toshiba MT System Description for the WAT2015 Workshop
Satoshi Sonoh - 2015 - Toshiba MT System Description for the WAT2015 WorkshopSatoshi Sonoh - 2015 - Toshiba MT System Description for the WAT2015 Workshop
Satoshi Sonoh - 2015 - Toshiba MT System Description for the WAT2015 Workshop
 
Chenchen Ding - 2015 - NICT at WAT 2015
Chenchen Ding - 2015 - NICT at WAT 2015Chenchen Ding - 2015 - NICT at WAT 2015
Chenchen Ding - 2015 - NICT at WAT 2015
 
Graham Neubig - 2015 - Neural Reranking Improves Subjective Quality of Machin...
Graham Neubig - 2015 - Neural Reranking Improves Subjective Quality of Machin...Graham Neubig - 2015 - Neural Reranking Improves Subjective Quality of Machin...
Graham Neubig - 2015 - Neural Reranking Improves Subjective Quality of Machin...
 

Recently uploaded

UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...Sayali Powar
 
[GDSC YCCE] Build with AI Online Presentation
[GDSC YCCE] Build with AI Online Presentation[GDSC YCCE] Build with AI Online Presentation
[GDSC YCCE] Build with AI Online PresentationGDSCYCCE
 
Matatag-Curriculum and the 21st Century Skills Presentation.pptx
Matatag-Curriculum and the 21st Century Skills Presentation.pptxMatatag-Curriculum and the 21st Century Skills Presentation.pptx
Matatag-Curriculum and the 21st Century Skills Presentation.pptxJenilouCasareno
 
2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptx2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptxmansk2
 
Salient features of Environment protection Act 1986.pptx
Salient features of Environment protection Act 1986.pptxSalient features of Environment protection Act 1986.pptx
Salient features of Environment protection Act 1986.pptxakshayaramakrishnan21
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...Nguyen Thanh Tu Collection
 
Industrial Training Report- AKTU Industrial Training Report
Industrial Training Report- AKTU Industrial Training ReportIndustrial Training Report- AKTU Industrial Training Report
Industrial Training Report- AKTU Industrial Training ReportAvinash Rai
 
Accounting and finance exit exam 2016 E.C.pdf
Accounting and finance exit exam 2016 E.C.pdfAccounting and finance exit exam 2016 E.C.pdf
Accounting and finance exit exam 2016 E.C.pdfYibeltalNibretu
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfPo-Chuan Chen
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonSteve Thomason
 
Solid waste management & Types of Basic civil Engineering notes by DJ Sir.pptx
Solid waste management & Types of Basic civil Engineering notes by DJ Sir.pptxSolid waste management & Types of Basic civil Engineering notes by DJ Sir.pptx
Solid waste management & Types of Basic civil Engineering notes by DJ Sir.pptxDenish Jangid
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfVivekanand Anglo Vedic Academy
 
NLC-2024-Orientation-for-RO-SDO (1).pptx
NLC-2024-Orientation-for-RO-SDO (1).pptxNLC-2024-Orientation-for-RO-SDO (1).pptx
NLC-2024-Orientation-for-RO-SDO (1).pptxssuserbdd3e8
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPCeline George
 
slides CapTechTalks Webinar May 2024 Alexander Perry.pptx
slides CapTechTalks Webinar May 2024 Alexander Perry.pptxslides CapTechTalks Webinar May 2024 Alexander Perry.pptx
slides CapTechTalks Webinar May 2024 Alexander Perry.pptxCapitolTechU
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxJheel Barad
 
Advances in production technology of Grapes.pdf
Advances in production technology of Grapes.pdfAdvances in production technology of Grapes.pdf
Advances in production technology of Grapes.pdfDr. M. Kumaresan Hort.
 

Recently uploaded (20)

UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...
 
B.ed spl. HI pdusu exam paper-2023-24.pdf
B.ed spl. HI pdusu exam paper-2023-24.pdfB.ed spl. HI pdusu exam paper-2023-24.pdf
B.ed spl. HI pdusu exam paper-2023-24.pdf
 
[GDSC YCCE] Build with AI Online Presentation
[GDSC YCCE] Build with AI Online Presentation[GDSC YCCE] Build with AI Online Presentation
[GDSC YCCE] Build with AI Online Presentation
 
Matatag-Curriculum and the 21st Century Skills Presentation.pptx
Matatag-Curriculum and the 21st Century Skills Presentation.pptxMatatag-Curriculum and the 21st Century Skills Presentation.pptx
Matatag-Curriculum and the 21st Century Skills Presentation.pptx
 
2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptx2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptx
 
Salient features of Environment protection Act 1986.pptx
Salient features of Environment protection Act 1986.pptxSalient features of Environment protection Act 1986.pptx
Salient features of Environment protection Act 1986.pptx
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
 
Industrial Training Report- AKTU Industrial Training Report
Industrial Training Report- AKTU Industrial Training ReportIndustrial Training Report- AKTU Industrial Training Report
Industrial Training Report- AKTU Industrial Training Report
 
Accounting and finance exit exam 2016 E.C.pdf
Accounting and finance exit exam 2016 E.C.pdfAccounting and finance exit exam 2016 E.C.pdf
Accounting and finance exit exam 2016 E.C.pdf
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
 
NCERT Solutions Power Sharing Class 10 Notes pdf
NCERT Solutions Power Sharing Class 10 Notes pdfNCERT Solutions Power Sharing Class 10 Notes pdf
NCERT Solutions Power Sharing Class 10 Notes pdf
 
Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
 
Solid waste management & Types of Basic civil Engineering notes by DJ Sir.pptx
Solid waste management & Types of Basic civil Engineering notes by DJ Sir.pptxSolid waste management & Types of Basic civil Engineering notes by DJ Sir.pptx
Solid waste management & Types of Basic civil Engineering notes by DJ Sir.pptx
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
 
NLC-2024-Orientation-for-RO-SDO (1).pptx
NLC-2024-Orientation-for-RO-SDO (1).pptxNLC-2024-Orientation-for-RO-SDO (1).pptx
NLC-2024-Orientation-for-RO-SDO (1).pptx
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
 
slides CapTechTalks Webinar May 2024 Alexander Perry.pptx
slides CapTechTalks Webinar May 2024 Alexander Perry.pptxslides CapTechTalks Webinar May 2024 Alexander Perry.pptx
slides CapTechTalks Webinar May 2024 Alexander Perry.pptx
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
Advances in production technology of Grapes.pdf
Advances in production technology of Grapes.pdfAdvances in production technology of Grapes.pdf
Advances in production technology of Grapes.pdf
 

Alastair Butler - 2015 - Round trips with meaning stopovers

  • 1. Round trips with meaning stopovers (illustrated with English and Japanese examples) Alastair Butler Tohoku University 1
  • 2. This talk describes a full pipeline starting form an Historical Penn-treebank parse, ⇓ semantic processing creates a standard predicate logic based meaning representation (see e.g., Davidson 1967; Dowty, Wall and Peters 1981), ⇓ which is converted to PENMAN notation (Matthiessen and Bateman 1991) to form the basis for generation, ⇓ which proceeds as structure growth producing an output parse tree which can yield a language string. Keeping to the same language tests the combined success of building meaning representations from parsed input and of generating parsed output. Switching languages during the round trip would achieve translation. 2
  • 3. The method will first be illustrated by round tripping on English, so • taking English parsed sentences, • going to meaning representations, • and then back to parsed sentences of English. The front or back end of the pipeline can be changed, e.g., to calculate a meaning representation for English input but use Japanese generation rules. No modification to the stopover meaning representation will return English words and concepts with Japanese parse structure (= Japanese word order with a yield). Meaning representations arrived at from parsed parallel corpora show the shortfall left for generating sentences of one language from another. 3
  • 4. Reaching meaning representations The first requirement is a way to reach meaning representations from natural language input. There are many ways to go. E.g., Schubert (2015) overviews 12 distinct approaches, many with multiple implementations. In what follows, use is made of Treebank Semantics (http://www.compling.jp/ts; Butler 2015), • the same kind of parse tree to be generated as out- put can be taken as input, • produced meaning representations are of high quality. 4
  • 5. Treebank Semantics: Input trees are converted to SCT expressions (a Dynamic Semantics language) which are processed against a sequence based information state (cf. Vermeulen 2000, Dekker 2012). 1: Treebank Annotation 2: SCT expression 3: Reduced SCT expression (IP-MAT (PP (NP (NPR 田中さん)) val ex1 = Hide ("constant", (P が)) ( fn fh => CClose ("constant", (NP-SBJ *が*) ( fn lc => Hide ("entity", (PP (NP (N ピザ)) ( ( npr "entity" "田中さん") Close ("∃", ("entity","entity"), (P を)) "arg0" Hide ("event", (NP-OB1 *を*) ( ( some lc fh "entity" Close ("∃", ("event","event"), (VB 食べ) ( nn lc "ピザ")) Clean (0, ["arg0"], "c", (AX まし) "arg1" CUse (C (AXD た) ( past "event" Lam ("constant", "arg0", (PU 。)) ( verb lc "event" ["arg0", "arg1"] Clean (0, ["arg1"], "c", "食べ_まし_た"))))) Use ("entity", ["arg1", "arg0", "h"]) Lam ("entity", "arg1", ["constant", "entity", "event"] ... 4: Meaning Representation Output ∃x1e2(ピザ(x1) ∧ past(e2) ∧ 食べ_まし_た(e2, 田中さん, x1)) 5
  • 6. Treebank annotation The Treebank Semantics system accepts parsed data conforming to the Annotation manual for the Penn Historical Corpora and the PCEEC (Santorini 2010). This widely and diversely applied scheme forms the basis of annotations for English (Taylor et al 2003, Kroch, Santorini and Delfs 2004, Kroch, Santorini and Delfs 2004), French (Martineau et al 2010), Icelandic (Wallenberg et al 2011), Portuguese (Galves and Britto 2002), Ancient Greek (Beck 2013), Japanese (Butler et al 2012), and Chinese (Zhou 2015) among other languages. There are also parsing systems to produce annotated trees from raw language input (e.g., Kulick, Kroch and Santorini 2014, Fang, Butler and Yoshimoto 2014). 6
  • 7. With the annotation scheme constituent structure is represented with labelled bracketing and augmented with grammatical functions. Parse trees for “A cat entered. It purred.” look like: ✭✭✭✭ ❤❤❤❤ IP-MAT NP-SBJ D A N cat VBD entered . . ✭✭✭ ❤❤❤❤ IP-MAT NP-SBJ PRO It VBD purred . . 7
  • 8. First step: convert trees for “A cat entered. It purred.” into SCT expressions val sent1 = ( fn fh => ( fn lc => ( some lc fh "entity" ( nn lc "cat") "arg0" ( past "event" ( verb lc "event" ["arg0"] "entered")))) ["arg0", "arg1", "h"]) ["entity", "event"] ; val sent2 = ( fn fh => ( fn lc => ( pro ["c"] fh ["entity"] ( "entity", "entity") "It" "arg0" ( past "event" ( verb lc "event" ["arg0"] "purred")))) ["arg0", "arg1", "h"]) ["entity", "event"] ; val discourse = ( fn fh => ( conj fh "∧" free [sent1, sent2])) ["entity", "event"] ; 8
  • 9. discourse of “A cat entered. It purred.” as a fully resolved SCT expression: discourse = Sct.Hide ("entity", Sct.Close ("∃", ("entity","entity"),["event", "entity"], Sct.Hide ("event", Sct.Close ("∃", ("event","event"),["event", "entity"], Sct.Rel (["entity", "event"], ["c", "c"], "∧", [ Sct.Clean (0, ["arg0"], "c", Sct.Use ("entity", Sct.Lam ("entity", "arg0", Sct.Rel (["entity", "event"], ["c", "c"], "", [ Sct.Throw ("entity", Sct.Lam ("arg0", "h", Sct.Clean (0, ["arg0", "arg1"], "c", Sct.Clean (1, ["h"], "", Sct.Rel ([], [], "cat", [Sct.At (T ("h", 0), "h")]))))), Sct.If (fn, Sct.Use ("event", Sct.If (fn, Sct.If (fn, Sct.Rel ([], [], "entered", [Sct.At (T ("arg0", 0), "arg0"), Sct.At (T ("event", 0), "event")]), Sct.Rel ([], [], "entered", [Sct.At (T ("arg0", 0), "arg0"), Sct.At (T ("h", 0), "h"), Sct.At (T ("event", 0), "event")])), Sct.If (fn, Sct.Rel ([], [], "entered", [Sct.At (T ("arg0", 0), "arg0"), Sct.At (T ("arg1", 0), "arg1"), Sct.At (T ("event", 0), "event")]), Sct.Rel ([], [], "entered", [Sct.At (T ("arg0", 0), "arg0"), Sct.At (T ("arg1", 0), "arg1"), Sct.At (T ("h", 0), "h"), Sct.At (T ("event", 0), "event")])))), Sct.Rel ([], [], "", [ Sct.Use ("event", Sct.If (fn, Sct.If (fn, Sct.Rel ([], [], "entered", [Sct.At (T ("arg0", 0), "arg0"), Sct.At (T ("event", 0), "event")]), Sct.Rel ([], [], "entered", [Sct.At (T ("arg0", 0), "arg0"), Sct.At (T ("h", 0), "h"), Sct.At (T ("event", 0), "event")])), Sct.If (fn, Sct.Rel ([], [], "entered", [Sct.At (T ("arg0", 0), "arg0"), Sct.At (T ("arg1", 0), "arg1"), Sct.At (T ("event", 0), "event")]), Sct.Rel ([], [], "entered", [Sct.At (T ("arg0", 0), "arg0"), Sct.At (T ("arg1", 0), "arg1"), Sct.At (T ("h", 0), "h"), Sct.At (T ("event", 0), "event")])))), Sct.Throw ("event", Sct.Rel ([], [], "", [Sct.At (T ("event", 0), "h"), Sct.At (T ("cevent", 0), "before")]))]))])))), Sct.Clean (0, ["arg0"], "c", Sct.QuantThrow ( ("entity","entity"), Sct.Lam ("entity", "arg0", Sct.Rel (["entity", "event"], ["c", "c"], "", [Sct.Throw ("entity", Sct.Pick ("It", T ("arg0", 0), ["c"])), Sct.If (fn, Sct.Use ("event", Sct.If (fn, Sct.If (fn, Sct.Rel ([], [], "purred", [Sct.At (T ("arg0", 0), "arg0"), Sct.At (T ("event", 0), "event")]), Sct.Rel ([], [], "purred", [Sct.At (T ("arg0", 0), "arg0"), Sct.At (T ("h", 0), "h"), Sct.At (T ("event", 0), "event")])), Sct.If (fn, Sct.Rel ([], [], "purred", [Sct.At (T ("arg0", 0), "arg0"), Sct.At (T ("arg1", 0), "arg1"), Sct.At (T ("event", 0), "event")]), Sct.Rel ([], [], "purred", [Sct.At (T ("arg0", 0), "arg0"), Sct.At (T ("arg1", 0), "arg1"), Sct.At (T ("h", 0), "h"), Sct.At (T ("event", 0), "event")])))), Sct.Rel ([], [], "", [ Sct.Use ("event", Sct.If (fn, Sct.If (fn, Sct.Rel ([], [], "purred", [Sct.At (T ("arg0", 0), "arg0"), Sct.At (T ("event", 0), "event")]), Sct.Rel ([], [], "purred", [Sct.At (T ("arg0", 0), "arg0"), Sct.At (T ("h", 0), "h"), Sct.At (T ("event", 0), "event")])), Sct.If (fn, Sct.Rel ([], [], "purred", [Sct.At (T ("arg0", 0), "arg0"), Sct.At (T ("arg1", 0), "arg1"), Sct.At (T ("event", 0), "event")]), Sct.Rel ([], [], "purred", [Sct.At (T ("arg0", 0), "arg0"), Sct.At (T ("arg1", 0), "arg1"), Sct.At (T ("h", 0), "h"), Sct.At (T ("event", 0), "event")])))), Sct.Throw ("event", Sct.Rel ([], [], "", [Sct.At (T ("event", 0), "h"), Sct.At (T ("cevent", 0), "before")]))]))]))))]))))) 9
  • 10. The SCT language primitives access and possibly alter the content of a sequence based information state that serves to retain binding information by assigning (possibly empty) sequences of values to binding names. ! " # #$ % & % ' ( & % # #$ )*& + )*& + ( & % * % & % & * # #$ , * , * ) * % -. . # #$ ' -. & -. & # #$ , & % , & % ) & % % , , ) % " )*& + )*& + # #$ , * , * ) % " , / . & , / . & ) % % % & % )*& + )*& + 0 ( & % # #$ )*& + )*& + 1 2 - . ) & % % 0 -. . # #$ ' -. & -. & # #$ , & % , & % ) & % % 0 , , ) % ! )*& + )*& + # #$ , * , * ) % ! , / . & , / . & ) % % 10
  • 11. Reading off accumulated information from the evaluation gives: ∃x4x1e2e3( past(e2) ∧ past(e3) ∧ cat(x1) ∧ x4 = It{x1} ∧ entered(e2, x1) ∧ purred(e3, x4)) This assumes a Davidsonian theory (Davidson 1967) in which verbs are encoded with minimally an implicit event argument which is existentially quantified over and may be further modified. This encodes truth-conditional content in a standard way, but also contains clues to assist generation. Most notably variables have sort information, thus: e1, e2, ... are events, while x1, x2, ... are objects, etc. Also, a candidate for the main predicate is the most deeply embedded right-side predicate. 11
  • 12. Generation The idea behind the approach to generation is, from a meaning representation presented as a tree, to follow a series of meaning preserving transformations to arrive back at a parse tree, that is, to a representation of the kind fed to the Treebank Semantics system at the start of the pipeline. There are two major steps. • First, there is preparation, • then there is generation, as growing and manipulating tree structure. 12
  • 13. Preparing for generation Preparation for generation involves obtaining a tree-based representation of the output produced by Treebank Semantics. Rendering the meaning representation for “A cat entered. It purred.” as a tree with argument role information made explicit gives: ✭✭✭✭ ❍❍❤❤❤❤ ✭✭✭✭✭✭ ✭✭✭✭ ❍❍ ✭✭✭✭ ✘✘ ❳❳ ❤❤❤❤ ✘✘ ❳❳ QUANT EXIST x-4 x-1 e-2 e-3 AND past e-2 past e-3 cat x-1 = x-4 x-1 AND entered :arg0 x-1 :EVENT e-2 purred :arg0 x-4 :EVENT e-3 Content meeds to be further re-packaged to a tree format optimised for generation. 13
  • 14. ✭✭✭✭ ❍❍❤❤❤❤ ✭✭✭✭✭✭ ✭✭✭✭ ❍❍ ✭✭✭✭ ✘✘ ❳❳ ❤❤❤❤ ✘✘ ❳❳ QUANT EXIST x-4 x-1 e-2 e-3 AND past e-2 past e-3 cat x-1 = x-4 x-1 AND entered :arg0 x-1 :EVENT e-2 purred :arg0 x-4 :EVENT e-3 Firstly, the binding of wide-scope existentials is made implicit with the removal of the top quantification level. Next, an argument of each predicate is promoted to become the parent of the predicate, notably: the left-hand argument of an equality relation, or an event argument if present, or the sole argument of a one-place predicate. ✭✭✭✭ ❤❤❤❤ AND past e-2 past e-3 x-1 cat x-4 -entity- :EQUALS x-1 e-2 /entered/ :arg0 x-1 e-3 /purred/ :arg0 x-4 14
  • 15. Next, tense information of the top level AND is relocated. Next, a daughter D of the top level AND is moved inside a sister S when the name at the root of D is contained as an argument within S. Movement is to only one location (the left-most). ✭✭✭✭ ❤❤❤❤ AND past e-2 past e-3 x-1 cat x-4 -entity- :EQUALS x-1 e-2 /entered/ :arg0 x-1 e-3 /purred/ :arg0 x-4 ✭✭✭✭ ✏✏ €€ ❤❤❤❤ ✏✏ €€ AND e-2 /entered/ :arg0 x-1 cat :tense past e-3 /purred/ :arg0 x-4 -entity- :EQUALS x-1 :tense past 15
  • 16. An internal argument is promoted to become root of a daughter of AND if this enables further inclusion into a sister. Promotion folds tree material around inverse roles from the PENMAN notation (Matthiessen and Bateman 1991). ✭✭✭✭ ✏✏ €€ ❤❤❤❤ ✏✏ €€ AND e-2 /entered/ :arg0 x-1 cat :tense past e-3 /purred/ :arg0 x-4 -entity- :EQUALS x-1 :tense past ✭✭✭ ❤❤❤❤ ✏✏ €€ AND x-1 cat :arg0-of e-2 /entered/ :tense past e-3 /purred/ :arg0 x-4 -entity- :EQUALS x-1 :tense past ✏✏ €€ e-3 /purred/ :arg0 x-4 cat :arg0-of e-2 /entered/ :tense past :tense past 16
  • 17. Back to a parsed representation Generation proceeds as a series of tree transformations, implemented as a tsurgeon script (Levy and Andrew 2006) with hundreds of transformation rules. A tsurgeon script contains pattern/action rules, where the pattern describes tree structure and the action transforms the tree, e.g., moving, adjoining, copying or deleting auxiliary trees or relabelling nodes. Transformations are repeatedly made until the pattern that triggers change is no longer matched. 17
  • 18. An example tsurgeon rule Clause structure is built by identifying a main predicate as being headed by an event variable (so: match e- followed by a number), and adjoining the projection of a VBP part-of-speech tag, a VP layer and an IP layer. /ˆe-[0-9]+$/=x !> VBP adjoinF (IP (VP (VBP @))) x Action adjoinF adjoins the specified auxiliary tree into the specified target node, preserving the target node as the foot of the adjoined tree. VBP (present tense verb) may subsequently change, e.g., tense past triggers change to VBD (past tense verb), while was when generating English brings about further change to BED (past tense copula). 18
  • 19. ✏✏ €€ IP VP VBP e-3 purred :arg0 x-4 cat :arg0-of IP VP VBP e-2 entered :tense past :tense past Subsequent changes involve moving all structure under a main predicate into the clause, starting with the creation of NP-SBJ from an arg0 argument. ✘✘ ❳❳❳ IP NP-SBJ x-4 cat :arg0-of IP VP VBD e-2 entered VP VBD e-3 purred 19
  • 20. The inverse role arg1-of is the foundation for relative clause structure with an NP-SBJ (subject) trace. ✘✘ ❳❳❳ IP NP-SBJ x-4 cat :arg0-of IP VP VBD e-2 entered VP VBD e-3 purred ✭✭✭ ✏✏ ❳❳ ✭✭✭✭ ❤❤❤❤ ✏✏ €€ ❤❤❤❤ IP NP-SBJ x-4 XP cat CP-REL WNP-5 0 C that IP-SUB NP-SBJ *T*-5 VP VBD e-2 entered VP VBD e-3 purred ✭✭✭✭✭✭ ✭✭✭✭ ❤❤❤❤ ✭✭✭✭ ✟✟❤❤❤❤❤ ✘✘ ❳❳ ❤❤❤❤❤❤❤❤❤ IP-MAT NP-SBJ N Cat CP-REL WNP-5 0 C that IP-SUB NP-SBJ *T*-5 VBD entered VBD purred . . 20
  • 21. Generation possibilities If an arg0 argument happened to be missing, either a passive transformation may result or there may be inclusion of a subject expletive it or there for English. Adjunct materials can find placement based on argument role information or subtree size, e.g., vocatives (NP-VOC) are always clause initial, a temporal NP (NP-TMP) will typically be clause initial, while, for English, clause final positioning will be favoured for a heavy PP or NP (whose children reach large depths). Having arguments with the same referent can trigger the introduction of infinitival or participial clause structure to create control configurations or various types of ellipsis, such as VP ellipsis. 21
  • 22. ✭✭✭✭ ❍❍❤❤❤❤ ✭✭✭✭✭✭ ✭✭✭✭ ❍❍ ✭✭✭✭ ✘✘ ❳❳ ❤❤❤❤ ✘✘ ❳❳ QUANT EXIST x-4 x-1 e-2 e-3 AND past e-2 past e-3 cat x-1 = x-4 x-1 AND entered :arg0 x-1 :EVENT e-2 purred :arg0 x-4 :EVENT e-3 22
  • 23. ✭✭✭✭✭✭ ✭✭✭✭ ❍❍ ✭✭✭✭ ✘✘ ❳❳ ❤❤❤❤ ✘✘ ❳❳ AND past e-2 past e-3 cat x-1 = x-4 x-1 AND entered :arg0 x-1 :EVENT e-2 purred :arg0 x-4 :EVENT e-3 23
  • 24. ✭✭✭ ❍❍ ❤❤❤ ✘✘ ❳❳ ✘✘ ❳❳ AND past e-2 past e-3 cat x-1 = x-4 x-1 entered :arg0 x-1 :EVENT e-2 purred :arg0 x-4 :EVENT e-3 24
  • 26. ✭✭✭✭✭ ❛❛ ✏✏ €€ ✏✏ €€ AND x-1 cat x-4 -entity- :EQUALS x-1 e-2 /entered/ :arg0 x-1 :tense past e-3 /purred/ :arg0 x-4 :tense past 26
  • 27. ✭✭✭✭✭ ✏✏ ✏✏ €€ ❤❤❤❤❤ ✏✏ €€ AND x-1 cat e-2 /entered/ :arg0 x-1 :tense past e-3 /purred/ :arg0 x-4 -entity- :EQUALS x-1 :tense past 27
  • 39. ✭✭✭ ✏✏ ❳❳ ✭✭✭✭ ✦✦ ❤❤❤❤ ✏✏ €€ ❤❤❤❤ IP NP-SBJ x-4 XP cat CP-REL WNP 0 C that IP NP-SBJ *T* VP VBD e-2 entered VP VBD e-3 purred 39
  • 40. ✭✭✭ ✏✏ ❳❳ ✭✭✭✭ ❤❤❤❤ ✏✏ €€ ❤❤❤❤ IP NP-SBJ x-4 XP cat CP-REL WNP-5 0 C that IP NP-SBJ *T*-5 VP VBD e-2 entered VP VBD e-3 purred 40
  • 41. ✭✭✭ ✏✏ ❳❳ ✭✭✭✭ ❤❤❤❤ ✏✏ €€ ❤❤❤❤ IP NP-SBJ x-4 XP cat CP-REL WNP-5 0 C that IP-SUB NP-SBJ *T*-5 VP VBD e-2 entered VP VBD e-3 purred 41
  • 42. ✭✭✭ ✏✏ ❳❳ ✭✭✭✭ ❤❤❤❤ ✏✏ €€ ❤❤❤❤ IP-MAT NP-SBJ x-4 XP cat CP-REL WNP-5 0 C that IP-SUB NP-SBJ *T*-5 VP VBD e-2 entered VP VBD e-3 purred 42
  • 43. ✭✭✭✭ ❤❤❤❤ ✭✭✭✭ ❤❤❤❤ ✏✏ €€ IP-MAT NP-SBJ x-4 N cat CP-REL WNP-5 0 C that IP-SUB NP-SBJ *T*-5 VP VBD e-2 entered VP VBD e-3 purred 43
  • 44. ✭✭✭✭ ✭✭✭✭ ❤❤❤❤ ✭✭✭✭ ❤❤❤❤ ✏✏ €€ ❤❤❤❤ IP-MAT NP-SBJ x-4 N cat CP-REL WNP-5 0 C that IP-SUB NP-SBJ *T*-5 VP VBD entered VP VBD purred 44
  • 45. ✭✭✭✭ ❤❤❤❤ ✭✭✭✭ ❤❤❤❤ ✏✏ €€ IP-MAT NP-SBJ N cat CP-REL WNP-5 0 C that IP-SUB NP-SBJ *T*-5 VP VBD entered VP VBD purred 45
  • 46. ✭✭✭✭ ❤❤❤❤ ✭✭✭✭ ❤❤❤❤ ✏✏ €€ ❤❤❤❤❤ IP-MAT NP-SBJ N cat CP-REL WNP-5 0 C that IP-SUB NP-SBJ *T*-5 VP VBD entered VP VBD purred . . 46
  • 47. ✭✭✭✭✭ ✭✭✭✭ ❤❤❤❤ ✭✭✭✭ ✟✟❤❤❤❤❤ ✘✘ ❳❳ ❤❤❤❤❤❤❤❤❤ IP-MAT NP-SBJ N cat CP-REL WNP-5 0 C that IP-SUB NP-SBJ *T*-5 VBD entered VBD purred . . 47
  • 48. ✭✭✭✭✭✭ ✭✭✭✭ ❤❤❤❤ ✭✭✭✭ ✟✟❤❤❤❤❤ ✘✘ ❳❳ ❤❤❤❤❤❤❤❤❤ IP-MAT NP-SBJ N Cat CP-REL WNP-5 0 C that IP-SUB NP-SBJ *T*-5 VBD entered VBD purred . . 48
  • 49. Experiments The smatch metric (Cai and Knight 2013) can be used to evaluate the success of round tripping on English. This is a metric to measure whole-sentence semantic analysis by calculating the degree of overlap between meaning representations. 49
  • 50. Results for 1452 annotated sentences (14,118 tokens) from four different registers are as follows: register sentences tokens precision recall F-score textbook 687 5194 0.98 0.98 0.98 newswire 121 2381 0.97 0.96 0.97 (simple) fiction 547 5241 0.96 0.96 0.96 non-fiction 97 1302 0.93 0.93 0.93 Results show that in round tripping with English, so building a meaning representation A from a gold standard parse and generating back to an English sentence and then building a meaning representation B from the generated sentence, and then comparing A with B, it is possible to retain the bulk of semantic content with high precision and recall. Results also reflect a decline in performance on more challenging data. 50
  • 51. Towards translation Calculate a meaning representation for English input but use Japanese generation rules ✭✭✭✭✭ ❤❤❤❤❤ ✭✭✭✭✭✭ ✥✥✥ ❤❤❤❤❤❤ ✭✭✭✭✭ ❤❤❤❤❤ IP-MAT NP-SBJ N Pizza CP-REL WNP-1 0 C that IP-SUB NP-OB1 *T*-1 NP-SBJ PRO I VBD made BED was ADJP ADJ delicious . . ✭✭✭✭ ✘✘ ❳❳❤❤❤❤ ✘✘ ✭✭✭✭ ❤❤❤❤ ❤❤❤❤ ✭✭✭✭✭✭ ❤❤❤❤❤❤ QUANT EXIST z4 x1 A5 e2 e3 AND past e2 past e3 delicious A5 made :arg0 z4 :arg1 x1 :event e2 pizza x1 = z4 I was :arg0 x1 :ATTRIBUTE A5 :event e3 51
  • 52. ✭✭✭✭✭✭ ✏✏ €€ ❤❤❤❤❤❤ e3 was :arg0 x1 pizza :arg1-of e2 made :arg0 z4 I :tense past :ATTRIBUTE A5 delicious :tense past ✭✭✭ ✏✏ €€ ❤❤❤ IP NP-SBJ x1 Pizza :arg1-of IP NP-SBJ z4 I VP VBD e2 made VP VBD e3 was :ATTRIBUTE A5 delicious ✭✭✭✭✭ ✘✘ ✏✏ €€ ❳❳ ❤❤❤❤❤ ✭✭✭ ❤❤❤ IP NP-SBJ x1 XP :arg1-of IP NP-SBJ z4 I VP VBD e2 made Pizza VP :ATTRIBUTE A5 delicious VBD e3 was Projection of relative clause structure is again triggered, only for Japanese there is projection of an IP-REL layer to the left side of the head noun. 52
  • 53. ✭✭✭✭ ✭✭✭ ✭✭✭ ❤❤❤ ✘✘ ❳❳ ❤❤❤ ❤❤❤❤ ✏✏ €€ IP-MAT NP-SBJ x1 IP-REL NP-SBJ z4 I VP NP-OB1 *T* VBD e2 made N Pizza VP ADJ delicious VBD e3 was Generation is completed with the addition of case particles. ✥✥✥ ✭✭✭✭✭ ✭✭✭✭✭ ✘✘ €€❤❤❤❤❤ ❤❤❤❤❤ ❤❤❤ ✭✭✭ ❤❤❤❤❤ IP-MAT PP NP IP-REL NP-OB1 *T* PP NP N I P が NP-SBJ *が* VBD made N Pizza P が NP-SBJ *が* ADJ delicious AXD was PU 。 53
  • 54. ✥✥✥ ✭✭✭✭✭ ✭✭✭✭✭ ✘✘ €€❤❤❤❤❤ ❤❤❤❤❤ ❤❤❤ ✭✭✭ ❤❤❤❤❤ IP-MAT PP NP IP-REL NP-OB1 *T* PP NP N I P が NP-SBJ *が* VBD made N Pizza P が NP-SBJ *が* ADJ delicious AXD was PU 。 ✭✭✭ ✭✭✭✭✭ ✭✭✭ ❤❤❤❤ ❤❤❤❤❤ ❤❤❤ ✭✭✭✭ ❤❤❤ IP-MAT PP NP IP-REL NP-OB1 *T* PP NP PRO 僕 P が NP-SBJ *が* VB 作っ AXD た N ピザ P が NP-SBJ *が* ADJI おいしかっ AXD た AX です PU 。 54
  • 55. ✭✭✭ ✭✭✭✭✭ ✭✭✭ ❤❤❤❤ ❤❤❤❤❤ ❤❤❤ ✭✭✭✭ ❤❤❤ IP-MAT PP NP IP-REL NP-OB1 *T* PP NP PRO 僕 P が NP-SBJ *が* VB 作っ AXD た N ピザ P が NP-SBJ *が* ADJI おいしかっ AXD た AX です PU 。 By feeding the Japanese version of the example sentence into the Treebank Semantics system a meaning representation is built: ∃x4x1e2e3(past(e3) ∧ past(e2) ∧ x4 = 僕 ∧ ピザ(x1) ∧ 作っ_た(e2, x4, x1) ∧ おいしかっ_た_です(e3, x1)) Such a meaning representation can be modified to form the basis for generation, exactly as seen with English. 55
  • 56. Having meaning representations for sentences of parallel corpora is a basis for extracting rules for a full translation system. ✏✏ ✏✏ €€ €€ e3 おいしかっ_た_です :arg0 x1 ピザ :arg1-of e2 作っ_た :arg0 x4 僕 :tense past :tense past ✭✭✭✭✭✭ ✏✏ €€ ❤❤❤❤❤❤ e3 was :arg0 x1 pizza :arg1-of e2 made :arg0 z4 I :tense past :ATTRIBUTE A5 delicious :tense past 56
  • 57. Scalibility of the approach Input: It was not immediately clear if the president was in the palace in Mogadishu when the attack occurred or if anyone was hurt . ✭✭✭✭ ✥✥✥ ✭✭✭ ❤❤❤ ❤❤❤❤❤ ✏✏ €€ ✭✭✭✭ ❤❤❤❤ ❳❳❳ TOP e-8 was :polarity - :arg0 r-20 or :op1 e-6 was :arg0 x-3 president :mode definite :IN x-2 palace :mode definite :IN @Mogadishu -entity- :name n18 name :op1 "Mogadishu" :tense past :mode interrogative :time-of e-5 occurred :arg0 x-1 attack :mode definite :tense past :op2 e-7 hurt :arg1 x-4 one :quantifier any :tense past :mode interrogative :ATTRIBUTE A-21 immediately_clear :tense past Output: Whether when the attack occurred the president was in the palace in Mogadishu or whether any one was hurt was not immediately clear . 57
  • 58. Input: Among the few features of agricultural England which retain an appearance but little modified by the lapse of centuries , may be reckoned the high , grassy and furzy downs , coombs , or ewe-leases , as they are indifferently called , that fill a large area of certain counties in the south and south-west . ✘✘ ✭✭✭✭✭ ✭✭✭✭ ✥✥✥ ❵❵❵ ❤❤❤❤ ✥✥✥ ✥✥✥ ❵❵❵ ✭✭✭✭✭ ❳❳❤❤❤❤❤ ❵❵❵ ✘✘ ❤❤❤❤❤❤ ✏✏ ✏✏ ❳❳ €€ TOP e-24 reckoned :domain-of w-25 may :arg1 X-21 or :op1 x-3 AND :op1 X-8 downs :ATTRIBUTE A-28 high :op2 X-9 downs :ATTRIBUTE A-29 grassy :op3 X-10 downs :ATTRIBUTE A-30 furzy :mode definite :op2 X-17 coombs :op3 X-20 ewe-leases :AS e-22 called :arg1 X-18 they :mod m-26 indifferently :arg0-of e-23 fill :arg1 x-16 area :OF X-19 counties :ATTRIBUTE A-31 certain :IN x-6 AND :op1 x-4 south :op2 x-5 south-west :mode definite :ATTRIBUTE A-32 large :AMONG X-13 features :mode definite :OF @agricultural_England -entity- :name n36 name :op1 "agricultural_England" :quantifier few :arg0-of e-15 retain :arg1 x-2 appearance :arg1-of e-14 modified :arg0 x-1 lapse :mode definite :OF X-7 centuries :mod m-27 little Output: The high downs , grassy downs and furzy downs , coombs or ewe-leases as indifferently they are called that fill large area of certain counties in the south and south-west may be reckoned among the few features of agricultural England that retain appearance that little the lapse of centuries modified . 58
  • 59. Input: Among the few features of agricultural England which retain an appearance but little modified by the lapse of centuries , may be reckoned the high , grassy and furzy downs , coombs , or ewe-leases , as they are indifferently called , that fill a large area of certain counties in the south and south-west . ✘✘ ✭✭✭✭✭ ✭✭✭✭ ✥✥✥ ❵❵❵ ❤❤❤❤ ✥✥✥ ✥✥✥ ❵❵❵ ✭✭✭✭✭ ❳❳❤❤❤❤❤ ❵❵❵ ✘✘ ❤❤❤❤❤❤ ✏✏ ✏✏ ❳❳ €€ TOP e-24 reckoned :domain-of w-25 may :arg1 X-21 or :op1 x-3 AND :op1 X-8 downs :ATTRIBUTE A-28 high :op2 X-9 downs :ATTRIBUTE A-29 grassy :op3 X-10 downs :ATTRIBUTE A-30 furzy :mode definite :op2 X-17 coombs :op3 X-20 ewe-leases :AS e-22 called :arg1 X-18 they :mod m-26 indifferently :arg0-of e-23 fill :arg1 x-16 area :OF X-19 counties :ATTRIBUTE A-31 certain :IN x-6 AND :op1 x-4 south :op2 x-5 south-west :mode definite :ATTRIBUTE A-32 large :AMONG X-13 features :mode definite :OF @agricultural_England -entity- :name n36 name :op1 "agricultural_England" :quantifier few :arg0-of e-15 retain :arg1 x-2 appearance :arg1-of e-14 modified :arg0 x-1 lapse :mode definite :OF X-7 centuries :mod m-27 little Output: The high downs , grassy downs and furzy downs , coombs or ewe-leases as indifferently they are called that fill large area of certain counties in the south and south-west may be reckoned among the few features of agricultural England that retain appearance that little the lapse of centuries modified . 59
  • 60. Input: The purpose of this Act is to protect the rights and interests of individuals while taking consideration of the usefulness of personal information , in view of a remarkable increase in the utilization of personal information due to development of the advanced information and communications society , by clarifying the responsibilities of the State and local governments , etc. with laying down basic principle , establishment of a basic policy by the Government and the matters to serve as a basis for other measures on the protection of personal information , and by prescribing the duties to be observed by entities handling personal information , etc. , regarding the proper handling of personal information . ✏✏ €€ ✏✏ €€ ✥✥✥ ❤❤❤ ✥✥✥ ✘✘ ❳❳ ✭✭✭✭ ❤❤❤❤ ✏✏ €€ ✥✥✥ ❤❤❤ ✘✘ ❳❳ ✥✥✥ ✘✘ ❳❳ ❤❤❤ ✭✭✭✭✭ ✏✏ €€ ✭✭✭✭✭✭ ❤❤❤❤ ✏✏ €€ ❤❤❤❤❤❤ ✏✏ €€ ✥✥✥ ❤❤❤ ✏✏ €€ ✭✭✭✭ ✭✭✭✭✭✭ ❤❤❤❤❤❤ TOP r-91 and :op1 e-43 is :arg0 x-19 purpose :OF x-1 Act :determiner this :mode definite :arg1 e-42 protect :arg0 x-19 :arg1 x-14 AND :op1 X-25 rights :op2 X-26 interests :OF X-27 individuals :mode definite :BY e-41 clarifying :arg0 x-19 :arg1 X-24 responsibilities :mode definite :OF X-21 AND :op1 @State -entity- :name n-104 name :op1 "State" :op2 x-9 governments_etc. :ATTRIBUTE A-92 local :WITH e-40 laying_down :arg0 X-24 :arg1 X-54 AND :op1 x-51 principle :ATTRIBUTE A-93 basic :op2 x-53 establishment :OF x-52 policy :ATTRIBUTE A-94 basic :BY x-10 Government :mode definite :op3 X-23 matters :mode definite :arg0-of e-35 serve :AS x-13 basis :FOR X-22 measures :ON x-12 protection :mode definite :OF x-11 information :ATTRIBUTE A-95 personal :ATTRIBUTE A-96 other :WHILE e-39 taking :arg0 x-19 :arg1 x-50 consideration :OF x-3 usefulness :mode definite :OF x-2 information :ATTRIBUTE A-97 personal :IN x-49 view :OF x-48 increase :ATTRIBUTE A-63 due :TO x-47 development :OF x-7 AND :op1 x-5 information :ATTRIBUTE A-98 advanced :op2 x-6 communications_society :mode definite :IN x-8 utilization :mode definite :OF x-4 information :ATTRIBUTE A-99 personal :ATTRIBUTE A-100 remarkable :op2 e-46 is :arg0 x-19 :arg1 e-45 protect :arg0 x-19 :arg1 x-18 AND :op1 X-31 rights :op2 X-32 interests :OF X-33 individuals :mode definite :BY e-44 prescribing :arg0 x-19 :arg1 X-30 duties :mode definite :arg1-of e-37 observed :arg0 X-29 entities :arg0-of e-36 handling :arg1 x-15 information_etc. :ATTRIBUTE A-101 personal :arg0-of e-38 regarding :arg1 x-17 handling :OF x-16 information :ATTRIBUTE A-102 personal :ATTRIBUTE A-103 proper :mode definite :WHILE e-39 60
  • 61. Output: The purpose of this Act is to protect the rights and interests of individuals by clarifying the responsibilities of State and local governments etc. with laying down basic principle , establishment of basic policy by the Government and the matters that serve as basis for other measures on the protection of personal information while taking consideration of the usefulness of personal information in view of remarkable increase due to development of the advanced information and communications society in the utilization of personal information and is to protect the rights and interests of individuals by prescribing the duties that entities handling personal information etc. observed regarding the proper handling of personal information while taking consideration of the usefulness of personal information in view of remarkable increase due to development of the advanced information and communications society in the utilization of personal information . 61
  • 62. Output: The purpose of this Act is to protect the rights and interests of individuals by clarifying the responsibilities of State and local governments etc. with laying down basic principle , establishment of basic policy by the Government and the matters that serve as basis for other measures on the protection of personal information while taking consideration of the usefulness of personal information in view of remarkable increase due to development of the advanced information and communications society in the utilization of personal information and is to protect the rights and interests of individuals by prescribing the duties that entities handling personal information etc. observed regarding the proper handling of personal information while taking consideration of the usefulness of personal information in view of remarkable increase due to development of the advanced information and communications society in the utilization of personal information . 62
  • 63. Input: The purpose of this Act is to protect the rights and interests of individuals while taking consideration of the usefulness of personal information , in view of a remarkable increase in the utilization of personal information due to development of the advanced information and communications society , by clarifying the responsibilities of the State and local governments , etc. with laying down basic principle , establishment of a basic policy by the Government and the matters to serve as a basis for other measures on the protection of personal information , and by prescribing the duties to be observed by entities handling personal information , etc. , regarding the proper handling of personal information . ✏✏ €€ ✏✏ €€ ✥✥✥ ❤❤❤ ✥✥✥ ✘✘ ❳❳ ✭✭✭✭ ❤❤❤❤ ✏✏ €€ ✥✥✥ ❤❤❤ ✘✘ ❳❳ ✥✥✥ ✘✘ ❳❳ ❤❤❤ ✭✭✭✭✭ ✏✏ €€ ✭✭✭✭✭✭ ❤❤❤❤ ✏✏ €€ ❤❤❤❤❤❤ ✏✏ €€ ✥✥✥ ❤❤❤ ✏✏ €€ ✭✭✭✭ ✭✭✭✭✭✭ ❤❤❤❤❤❤ TOP r-91 and :op1 e-43 is :arg0 x-19 purpose :OF x-1 Act :determiner this :mode definite :arg1 e-42 protect :arg0 x-19 :arg1 x-14 AND :op1 X-25 rights :op2 X-26 interests :OF X-27 individuals :mode definite :BY e-41 clarifying :arg0 x-19 :arg1 X-24 responsibilities :mode definite :OF X-21 AND :op1 @State -entity- :name n-104 name :op1 "State" :op2 x-9 governments_etc. :ATTRIBUTE A-92 local :WITH e-40 laying_down :arg0 X-24 :arg1 X-54 AND :op1 x-51 principle :ATTRIBUTE A-93 basic :op2 x-53 establishment :OF x-52 policy :ATTRIBUTE A-94 basic :BY x-10 Government :mode definite :op3 X-23 matters :mode definite :arg0-of e-35 serve :AS x-13 basis :FOR X-22 measures :ON x-12 protection :mode definite :OF x-11 information :ATTRIBUTE A-95 personal :ATTRIBUTE A-96 other :WHILE e-39 taking :arg0 x-19 :arg1 x-50 consideration :OF x-3 usefulness :mode definite :OF x-2 information :ATTRIBUTE A-97 personal :IN x-49 view :OF x-48 increase :ATTRIBUTE A-63 due :TO x-47 development :OF x-7 AND :op1 x-5 information :ATTRIBUTE A-98 advanced :op2 x-6 communications_society :mode definite :IN x-8 utilization :mode definite :OF x-4 information :ATTRIBUTE A-99 personal :ATTRIBUTE A-100 remarkable :op2 e-46 is :arg0 x-19 :arg1 e-45 protect :arg0 x-19 :arg1 x-18 AND :op1 X-31 rights :op2 X-32 interests :OF X-33 individuals :mode definite :BY e-44 prescribing :arg0 x-19 :arg1 X-30 duties :mode definite :arg1-of e-37 observed :arg0 X-29 entities :arg0-of e-36 handling :arg1 x-15 information_etc. :ATTRIBUTE A-101 personal :arg0-of e-38 regarding :arg1 x-17 handling :OF x-16 information :ATTRIBUTE A-102 personal :ATTRIBUTE A-103 proper :mode definite :WHILE e-39 63
  • 64. Conclusion A complete pipeline was described for taking parsed sentences, going to meaning representations (initially to Davidsonian predicate logic representations, then to PENMAN notation), and then back to parsed sentences (the round trip). Keeping to the same language tests the combined success of building meaning representations from parsed input and of generating parsed output. With the described method, the smatch metric reveals that the bulk of semantic content is retained with high precision and recall on a range of data. 64
  • 65. While there is no explicit flagging in a conventional Davidsonian meaning representation of what is a verb, noun, adjective, relative clause, passive, control relation, etc., much information is found to facilitate generation of such language elements when there is sort and argument role information and when there is subsequent re-packaging of content, as with the PENMAN format, guided by the aim to form single rooted structures. Future directions Future directions are to achieve translation with being able to switch languages at the point of manipulating meaning representations. Current transfer shortfall is seen with meaning representations built from parsed parallel corpora data. 65