1
0
mirror of https://github.com/2martens/uni.git synced 2026-05-06 11:26:25 +02:00

Prosem: Einleitung von Semantic Analysis angepasst.

This commit is contained in:
Jim Martens
2014-01-23 13:59:52 +01:00
parent 6692df5e06
commit f15872f6c9

View File

@ -394,7 +394,7 @@
\subsubsection*{Syntax-driven semantic analysis} \subsubsection*{Syntax-driven semantic analysis}
\label{subSubSec:syntaxDrivenSemanticAnalysis} \label{subSubSec:syntaxDrivenSemanticAnalysis}
After the prerequisites are now explained, it is time to start with the actual syntax-driven semantic analysis. It will be shown with an example provided by Jurafsky. In the following expressions $x$ symbolizes a thing and $e$ symbolizes a state or attribute. Assume the sentence \textit{Every restaurant closed}. ``The target representation for this example should be the following''\cite[p.~621]{Jurafsky2009}. After the prerequisites are now explained, it is time to start with the actual syntax-driven semantic analysis. This first example is taken from Jurafsky and is used to show the process of creating the meaning representation. In the following expressions $x$ symbolizes a thing and $e$ symbolizes a state or attribute. Assume the sentence \textit{Every restaurant closed}. ``The target representation for this example should be the following''\cite[p.~621]{Jurafsky2009}.
\begin{equation} \begin{equation}
\label{eq:tarRep} \label{eq:tarRep}
@ -435,7 +435,14 @@
\] \]
After these steps we end up with the target representation, as announced earlier. After these steps we end up with the target representation, as announced earlier.
This example is just one of many, but it shows how semantic meaning can be attached to syntactic components. Furthermore it should be clear now, how semantic analysis in a syntax-driven approach works. \subsubsection*{Application}
\label{subSub:applicationSem}
This first shows the process of retrieving the meaning representation. But before the meaning representation can be calculated, the semantic attachments have to be assigned. Therefore the previously introduced example that has already been used for the syntactic parsing, will now be used to show the whole process of semantic analysis, including finding the semantic attachments.
%TODO finish example for semantic analysis (including semantic attachments)
\section{Critical discussion} \section{Critical discussion}
\label{sec:critDiscussion} \label{sec:critDiscussion}