tex and linguistics - tug

21
T E X and Linguistics Steve Peter Beech Stave Press and T E X Users Group 1

Upload: others

Post on 27-Apr-2022

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: TEX and Linguistics - TUG

TEX and LinguisticsSteve Peter

Beech Stave Pressand TEX Users Group

1

Page 2: TEX and Linguistics - TUG

Who we are

2

Page 3: TEX and Linguistics - TUG

The field of Linguistics

synchronic vs. diachronic

3

Page 4: TEX and Linguistics - TUG

The field of Linguisticssynchronic vs. diachronictheoretical vs. applied

4

Page 5: TEX and Linguistics - TUG

The field of Linguisticssynchronic vs. diachronictheoretical vs. appliedtraditional

5

Page 6: TEX and Linguistics - TUG

1. philology

2. phonology

3. phonetics

4. syntax

5. semantics

6. “hyphenated”

(a) psycholinguistics(b) sociolinguistics(c) biolinguistics(d) discourse analysis

6

Page 7: TEX and Linguistics - TUG

Notation

7

Page 8: TEX and Linguistics - TUG

Philology

transliteration (a, e, ı, o, u, s, s.)manuscripts/paleography

critical editionsGreek (PSGreek/Teubner)

Hebrew/Arabic/Nagari, etc.

8

Page 9: TEX and Linguistics - TUG

Semantics

9

Page 10: TEX and Linguistics - TUG

Phonetics

10

Page 11: TEX and Linguistics - TUG

Phonology

IPA (ex)computational phonology

OT (ex)

11

Page 12: TEX and Linguistics - TUG

Syntax

aligned examples

(1) I invited Fred for dinner.(2) ? I invited for dinner Fred.(3) * I for invited Fred dinner.(4) Den

theFritz1

Fredhabehave

ichI

e1 zumto the

Esseneating

eingeladen.invited.I invited Fred for dinner.

12

Page 13: TEX and Linguistics - TUG

\begin{exe}\ex I invited Fred for dinner.\ex[?]{I invited for dinner Fred.}\ex[*]{I for invited Fred dinner.}\ex \gll Den Fritz$_1$ habe ich $e_1$ zum Essen eingeladen.\\

the Fred have I {} {to the} eating invited.\\\glt I invited Fred for dinner.

\end{exe}

13

Page 14: TEX and Linguistics - TUG

trees (QTree, SyntTree, TreeDVIPS,PST-JFTree)

14

Page 15: TEX and Linguistics - TUG

15

Page 16: TEX and Linguistics - TUG

16

Page 17: TEX and Linguistics - TUG

AVMs

17

Page 18: TEX and Linguistics - TUG

\newbox\matrixsynsem \newbox\headdtr

\newbox\compdtrone \newbox\compdtrtwo

{\scriptsize

\avmoptions{center}

\setbox\matrixsynsem=\hbox{\begin{avm}

\osort{synsem}{\[local & \[cat & \[ \] \\

content & \[ \]\]\]}

\end{avm}}

\setbox\headdtr=\hbox{\begin{avm}

\osort{word}{\[ phon\;\<\rm likes\>\\

synsem\;\[local\[ cat\;\[ head \; \@{5}\\

arg-s\;\< \@{1},\@{2}\>\] \\

content\;\@{6} \]\]\]} \end{avm}}

\setbox\compdtrone=\hbox{\begin{avm}

\sort{phrase}{\[ phon\;\<\rm fido\>\\

synsem\;\@{1}\;\[local\[ cat\;\[ head\;noun\\

arg-s\;\< \>\] \\

content\;\@{3} \]\]\]} \end{avm}}

\setbox\compdtrtwo=\hbox{\begin{avm}

\sort{phrase}{\[ phon\;\<\rm bones\>\\

synsem\;\@{2}\;\[local\[ cat\;\[ head\;noun\\

arg-s\;\< \>\] \\

18

Page 19: TEX and Linguistics - TUG

content\;\@{4} \]\]\]} \end{avm}}

\avmoptions{active,sorted}

\begin{avm} \hspace{-1in}

[{phrase} phon\;\<\rm fido likes bones\> \\

synsem\;[{synsem} local [{} cat & [{} head & @{5}\\

arg-s & \< \; \>] \\

content & @{6}[{psoa} reln\;like \\

arg1\;@{3} \\

arg2\;@{4} ]]]\\

dtrs\;\sort{head-struc}{[{} head-dtr\;\box\headdtr \\

comp-dtrs\;< \box\compdtrone , \\ \hspace{.5in}

\box\compdtrtwo>]}]

\end{avm}}

19

Page 20: TEX and Linguistics - TUG

Categorial Grammar

PSTricks stuff

20

Page 21: TEX and Linguistics - TUG

21