This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
declare default element namespace "http://www.tei-c.org/ns/1.0"; | |
(: | |
Which scene does each actor appear in? | |
- group by actors (need a variable that iterates over actors) | |
- need another variable that is bound to the scene | |
:) | |
for $scene in //div2[@type='scene'] | |
for $whoville in $scene//*[@who] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
declare default element namespace "http://www.tei-c.org/ns/1.0"; | |
(: | |
Call List: Which actors appear in each scene? | |
- group by scenes | |
- show unique actors in each scene | |
:) | |
for $act in //div1[@type='act'] | |
for $act-number in $act/@n |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
declare default element namespace "http://www.tei-c.org/ns/1.0"; | |
(: | |
Which actors appear in each scene? | |
- group by scenes | |
- show unique actors in each scene | |
:) | |
for $act in //div1[@type='act'] | |
for $act-number in $act/@n |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
declare default element namespace "http://www.tei-c.org/ns/1.0"; | |
declare function local:is-person($s as element(stage), $who as xs:string) | |
as xs:boolean | |
{ | |
$s/@who ! tokenize(., "(#)|( #)") = $who | |
}; | |
declare function local:next-exit($scene as element(div2), $entrance as element(stage), $who as xs:string) | |
as element(stage) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
declare default element namespace "http://www.tei-c.org/ns/1.0"; | |
declare function local:is-person($s as element(stage), $who as xs:string) | |
as xs:boolean | |
{ | |
$s/@who ! tokenize(., "(#)|( #)") = $who | |
}; | |
declare function local:enter-and-exit($act as element(div1), $scene as element(div2), $who as xs:string) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Let's make a list of structures that we want to represent, and compare various approaches to: | |
- Create them | |
- View them with various tools | |
- Query a treebank to find or use them | |
Use headers to create separate categories. | |
# Determiners | |
- Articular infinitives |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
OlderNewer