Perl for Linguists - University of Arizonaperl modules: • CGI.pm: interact with the user; •...
Transcript of Perl for Linguists - University of Arizonaperl modules: • CGI.pm: interact with the user; •...
![Page 1: Perl for Linguists - University of Arizonaperl modules: • CGI.pm: interact with the user; • DBI.pm: interact with MySQL. • The program includes bits in HTMLto create web pages.](https://reader035.fdocuments.net/reader035/viewer/2022062508/5feb462a44879a651568f8d1/html5/thumbnails/1.jpg)
Perl for LinguistsMichael Hammond
University of Arizona
![Page 2: Perl for Linguists - University of Arizonaperl modules: • CGI.pm: interact with the user; • DBI.pm: interact with MySQL. • The program includes bits in HTMLto create web pages.](https://reader035.fdocuments.net/reader035/viewer/2022062508/5feb462a44879a651568f8d1/html5/thumbnails/2.jpg)
Perl for linguists
![Page 3: Perl for Linguists - University of Arizonaperl modules: • CGI.pm: interact with the user; • DBI.pm: interact with MySQL. • The program includes bits in HTMLto create web pages.](https://reader035.fdocuments.net/reader035/viewer/2022062508/5feb462a44879a651568f8d1/html5/thumbnails/3.jpg)
Perl for linguists
• Why programming?
![Page 4: Perl for Linguists - University of Arizonaperl modules: • CGI.pm: interact with the user; • DBI.pm: interact with MySQL. • The program includes bits in HTMLto create web pages.](https://reader035.fdocuments.net/reader035/viewer/2022062508/5feb462a44879a651568f8d1/html5/thumbnails/4.jpg)
Perl for linguists
• Why programming?• Why Perl?
![Page 5: Perl for Linguists - University of Arizonaperl modules: • CGI.pm: interact with the user; • DBI.pm: interact with MySQL. • The program includes bits in HTMLto create web pages.](https://reader035.fdocuments.net/reader035/viewer/2022062508/5feb462a44879a651568f8d1/html5/thumbnails/5.jpg)
Perl for linguists
• Why programming?• Why Perl?• A current Perl project
![Page 6: Perl for Linguists - University of Arizonaperl modules: • CGI.pm: interact with the user; • DBI.pm: interact with MySQL. • The program includes bits in HTMLto create web pages.](https://reader035.fdocuments.net/reader035/viewer/2022062508/5feb462a44879a651568f8d1/html5/thumbnails/6.jpg)
Why programming?
![Page 7: Perl for Linguists - University of Arizonaperl modules: • CGI.pm: interact with the user; • DBI.pm: interact with MySQL. • The program includes bits in HTMLto create web pages.](https://reader035.fdocuments.net/reader035/viewer/2022062508/5feb462a44879a651568f8d1/html5/thumbnails/7.jpg)
Why programming?
• Collect data
![Page 8: Perl for Linguists - University of Arizonaperl modules: • CGI.pm: interact with the user; • DBI.pm: interact with MySQL. • The program includes bits in HTMLto create web pages.](https://reader035.fdocuments.net/reader035/viewer/2022062508/5feb462a44879a651568f8d1/html5/thumbnails/8.jpg)
Why programming?
• Collect data• Analyze data
![Page 9: Perl for Linguists - University of Arizonaperl modules: • CGI.pm: interact with the user; • DBI.pm: interact with MySQL. • The program includes bits in HTMLto create web pages.](https://reader035.fdocuments.net/reader035/viewer/2022062508/5feb462a44879a651568f8d1/html5/thumbnails/9.jpg)
Why programming?
• Collect data• Analyze data• Remote computing
![Page 10: Perl for Linguists - University of Arizonaperl modules: • CGI.pm: interact with the user; • DBI.pm: interact with MySQL. • The program includes bits in HTMLto create web pages.](https://reader035.fdocuments.net/reader035/viewer/2022062508/5feb462a44879a651568f8d1/html5/thumbnails/10.jpg)
Why programming?
• Collect data• Analyze data• Remote computing• Model theory
![Page 11: Perl for Linguists - University of Arizonaperl modules: • CGI.pm: interact with the user; • DBI.pm: interact with MySQL. • The program includes bits in HTMLto create web pages.](https://reader035.fdocuments.net/reader035/viewer/2022062508/5feb462a44879a651568f8d1/html5/thumbnails/11.jpg)
Why programming?
• Collect data• Analyze data• Remote computing• Model theory• General professional skills
![Page 12: Perl for Linguists - University of Arizonaperl modules: • CGI.pm: interact with the user; • DBI.pm: interact with MySQL. • The program includes bits in HTMLto create web pages.](https://reader035.fdocuments.net/reader035/viewer/2022062508/5feb462a44879a651568f8d1/html5/thumbnails/12.jpg)
Code
All the code for this presentation is available overthe web (zipped) at the following URL:
http://linguistics.arizona.edu/~hammond/taiwan.html
![Page 13: Perl for Linguists - University of Arizonaperl modules: • CGI.pm: interact with the user; • DBI.pm: interact with MySQL. • The program includes bits in HTMLto create web pages.](https://reader035.fdocuments.net/reader035/viewer/2022062508/5feb462a44879a651568f8d1/html5/thumbnails/13.jpg)
Collecting data
![Page 14: Perl for Linguists - University of Arizonaperl modules: • CGI.pm: interact with the user; • DBI.pm: interact with MySQL. • The program includes bits in HTMLto create web pages.](https://reader035.fdocuments.net/reader035/viewer/2022062508/5feb462a44879a651568f8d1/html5/thumbnails/14.jpg)
Collecting data
• Running experiments locally (expprog.pl)
![Page 15: Perl for Linguists - University of Arizonaperl modules: • CGI.pm: interact with the user; • DBI.pm: interact with MySQL. • The program includes bits in HTMLto create web pages.](https://reader035.fdocuments.net/reader035/viewer/2022062508/5feb462a44879a651568f8d1/html5/thumbnails/15.jpg)
Collecting data
• Running experiments locally (expprog.pl)• Running experiments locally with a GUI
(tkexp.pl)
![Page 16: Perl for Linguists - University of Arizonaperl modules: • CGI.pm: interact with the user; • DBI.pm: interact with MySQL. • The program includes bits in HTMLto create web pages.](https://reader035.fdocuments.net/reader035/viewer/2022062508/5feb462a44879a651568f8d1/html5/thumbnails/16.jpg)
Collecting data
• Running experiments locally (expprog.pl)• Running experiments locally with a GUI
(tkexp.pl)• Assembling corpora from local static
resources (makecorpus.pl)
![Page 17: Perl for Linguists - University of Arizonaperl modules: • CGI.pm: interact with the user; • DBI.pm: interact with MySQL. • The program includes bits in HTMLto create web pages.](https://reader035.fdocuments.net/reader035/viewer/2022062508/5feb462a44879a651568f8d1/html5/thumbnails/17.jpg)
Analyzing data
![Page 18: Perl for Linguists - University of Arizonaperl modules: • CGI.pm: interact with the user; • DBI.pm: interact with MySQL. • The program includes bits in HTMLto create web pages.](https://reader035.fdocuments.net/reader035/viewer/2022062508/5feb462a44879a651568f8d1/html5/thumbnails/18.jpg)
Analyzing data
• Looking for patterns (visgrep.pl)
![Page 19: Perl for Linguists - University of Arizonaperl modules: • CGI.pm: interact with the user; • DBI.pm: interact with MySQL. • The program includes bits in HTMLto create web pages.](https://reader035.fdocuments.net/reader035/viewer/2022062508/5feb462a44879a651568f8d1/html5/thumbnails/19.jpg)
Analyzing data
• Looking for patterns (visgrep.pl)• Counting things (neightk.pl)
![Page 20: Perl for Linguists - University of Arizonaperl modules: • CGI.pm: interact with the user; • DBI.pm: interact with MySQL. • The program includes bits in HTMLto create web pages.](https://reader035.fdocuments.net/reader035/viewer/2022062508/5feb462a44879a651568f8d1/html5/thumbnails/20.jpg)
Analyzing data
• Looking for patterns (visgrep.pl)• Counting things (neightk.pl)• Finding verbs (verbs.pl)
![Page 22: Perl for Linguists - University of Arizonaperl modules: • CGI.pm: interact with the user; • DBI.pm: interact with MySQL. • The program includes bits in HTMLto create web pages.](https://reader035.fdocuments.net/reader035/viewer/2022062508/5feb462a44879a651568f8d1/html5/thumbnails/22.jpg)
Remote computing
• Running experiments remotely(Bailey & Hahn replication, bhrep.cgi)
![Page 23: Perl for Linguists - University of Arizonaperl modules: • CGI.pm: interact with the user; • DBI.pm: interact with MySQL. • The program includes bits in HTMLto create web pages.](https://reader035.fdocuments.net/reader035/viewer/2022062508/5feb462a44879a651568f8d1/html5/thumbnails/23.jpg)
Remote computing
• Running experiments remotely(Bailey & Hahn replication, bhrep.cgi)
• Interacting with local or remote databases(generating sql: dbiex.pl)
![Page 24: Perl for Linguists - University of Arizonaperl modules: • CGI.pm: interact with the user; • DBI.pm: interact with MySQL. • The program includes bits in HTMLto create web pages.](https://reader035.fdocuments.net/reader035/viewer/2022062508/5feb462a44879a651568f8d1/html5/thumbnails/24.jpg)
Remote computing
• Running experiments remotely(Bailey & Hahn replication, bhrep.cgi)
• Interacting with local or remote databases(generating sql: dbiex.pl)
• Assembling corpora from the web(websearch.pl)
![Page 25: Perl for Linguists - University of Arizonaperl modules: • CGI.pm: interact with the user; • DBI.pm: interact with MySQL. • The program includes bits in HTMLto create web pages.](https://reader035.fdocuments.net/reader035/viewer/2022062508/5feb462a44879a651568f8d1/html5/thumbnails/25.jpg)
Modeling theory
![Page 26: Perl for Linguists - University of Arizonaperl modules: • CGI.pm: interact with the user; • DBI.pm: interact with MySQL. • The program includes bits in HTMLto create web pages.](https://reader035.fdocuments.net/reader035/viewer/2022062508/5feb462a44879a651568f8d1/html5/thumbnails/26.jpg)
Modeling theory
• Optimality Theory (web interface,sylpars.pl)
![Page 27: Perl for Linguists - University of Arizonaperl modules: • CGI.pm: interact with the user; • DBI.pm: interact with MySQL. • The program includes bits in HTMLto create web pages.](https://reader035.fdocuments.net/reader035/viewer/2022062508/5feb462a44879a651568f8d1/html5/thumbnails/27.jpg)
Modeling theory
• Optimality Theory (web interface,sylpars.pl)
• N-gram models (a bunch of examples from acourse on Statistical NLP that I did recently)
![Page 28: Perl for Linguists - University of Arizonaperl modules: • CGI.pm: interact with the user; • DBI.pm: interact with MySQL. • The program includes bits in HTMLto create web pages.](https://reader035.fdocuments.net/reader035/viewer/2022062508/5feb462a44879a651568f8d1/html5/thumbnails/28.jpg)
General professional skills
![Page 29: Perl for Linguists - University of Arizonaperl modules: • CGI.pm: interact with the user; • DBI.pm: interact with MySQL. • The program includes bits in HTMLto create web pages.](https://reader035.fdocuments.net/reader035/viewer/2022062508/5feb462a44879a651568f8d1/html5/thumbnails/29.jpg)
General professional skills
• General programming skills
![Page 30: Perl for Linguists - University of Arizonaperl modules: • CGI.pm: interact with the user; • DBI.pm: interact with MySQL. • The program includes bits in HTMLto create web pages.](https://reader035.fdocuments.net/reader035/viewer/2022062508/5feb462a44879a651568f8d1/html5/thumbnails/30.jpg)
General professional skills
• General programming skills• Web programming
![Page 31: Perl for Linguists - University of Arizonaperl modules: • CGI.pm: interact with the user; • DBI.pm: interact with MySQL. • The program includes bits in HTMLto create web pages.](https://reader035.fdocuments.net/reader035/viewer/2022062508/5feb462a44879a651568f8d1/html5/thumbnails/31.jpg)
Why Perl?
![Page 32: Perl for Linguists - University of Arizonaperl modules: • CGI.pm: interact with the user; • DBI.pm: interact with MySQL. • The program includes bits in HTMLto create web pages.](https://reader035.fdocuments.net/reader035/viewer/2022062508/5feb462a44879a651568f8d1/html5/thumbnails/32.jpg)
Why Perl?
• Free
![Page 33: Perl for Linguists - University of Arizonaperl modules: • CGI.pm: interact with the user; • DBI.pm: interact with MySQL. • The program includes bits in HTMLto create web pages.](https://reader035.fdocuments.net/reader035/viewer/2022062508/5feb462a44879a651568f8d1/html5/thumbnails/33.jpg)
Why Perl?
• Free• Multi-platform
![Page 34: Perl for Linguists - University of Arizonaperl modules: • CGI.pm: interact with the user; • DBI.pm: interact with MySQL. • The program includes bits in HTMLto create web pages.](https://reader035.fdocuments.net/reader035/viewer/2022062508/5feb462a44879a651568f8d1/html5/thumbnails/34.jpg)
Why Perl?
• Free• Multi-platform• Easy
![Page 35: Perl for Linguists - University of Arizonaperl modules: • CGI.pm: interact with the user; • DBI.pm: interact with MySQL. • The program includes bits in HTMLto create web pages.](https://reader035.fdocuments.net/reader035/viewer/2022062508/5feb462a44879a651568f8d1/html5/thumbnails/35.jpg)
Why Perl?
• Free• Multi-platform• Easy• Multiple dialects
![Page 36: Perl for Linguists - University of Arizonaperl modules: • CGI.pm: interact with the user; • DBI.pm: interact with MySQL. • The program includes bits in HTMLto create web pages.](https://reader035.fdocuments.net/reader035/viewer/2022062508/5feb462a44879a651568f8d1/html5/thumbnails/36.jpg)
Why Perl?
• Free• Multi-platform• Easy• Multiple dialects• Powerful regular expression tools
![Page 37: Perl for Linguists - University of Arizonaperl modules: • CGI.pm: interact with the user; • DBI.pm: interact with MySQL. • The program includes bits in HTMLto create web pages.](https://reader035.fdocuments.net/reader035/viewer/2022062508/5feb462a44879a651568f8d1/html5/thumbnails/37.jpg)
Why Perl?
• Free• Multi-platform• Easy• Multiple dialects• Powerful regular expression tools• Written by a “linguist”
![Page 38: Perl for Linguists - University of Arizonaperl modules: • CGI.pm: interact with the user; • DBI.pm: interact with MySQL. • The program includes bits in HTMLto create web pages.](https://reader035.fdocuments.net/reader035/viewer/2022062508/5feb462a44879a651568f8d1/html5/thumbnails/38.jpg)
Why Perl?
• Free• Multi-platform• Easy• Multiple dialects• Powerful regular expression tools• Written by a “linguist”• Perl poetry
![Page 39: Perl for Linguists - University of Arizonaperl modules: • CGI.pm: interact with the user; • DBI.pm: interact with MySQL. • The program includes bits in HTMLto create web pages.](https://reader035.fdocuments.net/reader035/viewer/2022062508/5feb462a44879a651568f8d1/html5/thumbnails/39.jpg)
Why Perl?
• Free• Multi-platform• Easy• Multiple dialects• Powerful regular expression tools• Written by a “linguist”• Perl poetry• Obfuscated perl, “japhs”, etc.
![Page 41: Perl for Linguists - University of Arizonaperl modules: • CGI.pm: interact with the user; • DBI.pm: interact with MySQL. • The program includes bits in HTMLto create web pages.](https://reader035.fdocuments.net/reader035/viewer/2022062508/5feb462a44879a651568f8d1/html5/thumbnails/41.jpg)
Where to find out more
• In any perl implementation the perldoccommand can be used to find out lots andlots of stuff.
![Page 42: Perl for Linguists - University of Arizonaperl modules: • CGI.pm: interact with the user; • DBI.pm: interact with MySQL. • The program includes bits in HTMLto create web pages.](https://reader035.fdocuments.net/reader035/viewer/2022062508/5feb462a44879a651568f8d1/html5/thumbnails/42.jpg)
Where to find out more
• In any perl implementation the perldoccommand can be used to find out lots andlots of stuff.
• The official and best perl website iswww.cpan.org, but see also www.perl.org.
![Page 43: Perl for Linguists - University of Arizonaperl modules: • CGI.pm: interact with the user; • DBI.pm: interact with MySQL. • The program includes bits in HTMLto create web pages.](https://reader035.fdocuments.net/reader035/viewer/2022062508/5feb462a44879a651568f8d1/html5/thumbnails/43.jpg)
Where to find out more
• In any perl implementation the perldoccommand can be used to find out lots andlots of stuff.
• The official and best perl website iswww.cpan.org, but see also www.perl.org.
• ActiveState Perl (a free Windowsimplementation that I use) comes withextensive web-based documentation.
![Page 44: Perl for Linguists - University of Arizonaperl modules: • CGI.pm: interact with the user; • DBI.pm: interact with MySQL. • The program includes bits in HTMLto create web pages.](https://reader035.fdocuments.net/reader035/viewer/2022062508/5feb462a44879a651568f8d1/html5/thumbnails/44.jpg)
A current project
![Page 45: Perl for Linguists - University of Arizonaperl modules: • CGI.pm: interact with the user; • DBI.pm: interact with MySQL. • The program includes bits in HTMLto create web pages.](https://reader035.fdocuments.net/reader035/viewer/2022062508/5feb462a44879a651568f8d1/html5/thumbnails/45.jpg)
A current project
• “Experimental Syntax Server” (with WayneCowart, James Myers, and Keith Alcott)
![Page 46: Perl for Linguists - University of Arizonaperl modules: • CGI.pm: interact with the user; • DBI.pm: interact with MySQL. • The program includes bits in HTMLto create web pages.](https://reader035.fdocuments.net/reader035/viewer/2022062508/5feb462a44879a651568f8d1/html5/thumbnails/46.jpg)
A current project
• “Experimental Syntax Server” (with WayneCowart, James Myers, and Keith Alcott)
• Goal: to allow researchers to design,construct, run, and analyze simpleexperiments over the web.
![Page 47: Perl for Linguists - University of Arizonaperl modules: • CGI.pm: interact with the user; • DBI.pm: interact with MySQL. • The program includes bits in HTMLto create web pages.](https://reader035.fdocuments.net/reader035/viewer/2022062508/5feb462a44879a651568f8d1/html5/thumbnails/47.jpg)
A current project
• “Experimental Syntax Server” (with WayneCowart, James Myers, and Keith Alcott)
• Goal: to allow researchers to design,construct, run, and analyze simpleexperiments over the web.
• Today: a very simple outline of how such asystem might work.
![Page 48: Perl for Linguists - University of Arizonaperl modules: • CGI.pm: interact with the user; • DBI.pm: interact with MySQL. • The program includes bits in HTMLto create web pages.](https://reader035.fdocuments.net/reader035/viewer/2022062508/5feb462a44879a651568f8d1/html5/thumbnails/48.jpg)
General logic of project
![Page 49: Perl for Linguists - University of Arizonaperl modules: • CGI.pm: interact with the user; • DBI.pm: interact with MySQL. • The program includes bits in HTMLto create web pages.](https://reader035.fdocuments.net/reader035/viewer/2022062508/5feb462a44879a651568f8d1/html5/thumbnails/49.jpg)
General logic of project
• Perl program running on a internet-accessibleserver.
![Page 50: Perl for Linguists - University of Arizonaperl modules: • CGI.pm: interact with the user; • DBI.pm: interact with MySQL. • The program includes bits in HTMLto create web pages.](https://reader035.fdocuments.net/reader035/viewer/2022062508/5feb462a44879a651568f8d1/html5/thumbnails/50.jpg)
General logic of project
• Perl program running on a internet-accessibleserver.
• Users interact via web-based forms.
![Page 51: Perl for Linguists - University of Arizonaperl modules: • CGI.pm: interact with the user; • DBI.pm: interact with MySQL. • The program includes bits in HTMLto create web pages.](https://reader035.fdocuments.net/reader035/viewer/2022062508/5feb462a44879a651568f8d1/html5/thumbnails/51.jpg)
General logic of project
• Perl program running on a internet-accessibleserver.
• Users interact via web-based forms.• Program allows for experiments to be
constructed, run, and have the resultsanalyzed.
![Page 52: Perl for Linguists - University of Arizonaperl modules: • CGI.pm: interact with the user; • DBI.pm: interact with MySQL. • The program includes bits in HTMLto create web pages.](https://reader035.fdocuments.net/reader035/viewer/2022062508/5feb462a44879a651568f8d1/html5/thumbnails/52.jpg)
General logic of project
• Perl program running on a internet-accessibleserver.
• Users interact via web-based forms.• Program allows for experiments to be
constructed, run, and have the resultsanalyzed.
• The construction and analysis functions makeuse of a graphical user interface and aresimple enough for the naive user.
![Page 53: Perl for Linguists - University of Arizonaperl modules: • CGI.pm: interact with the user; • DBI.pm: interact with MySQL. • The program includes bits in HTMLto create web pages.](https://reader035.fdocuments.net/reader035/viewer/2022062508/5feb462a44879a651568f8d1/html5/thumbnails/53.jpg)
Some preliminary snapshots
![Page 54: Perl for Linguists - University of Arizonaperl modules: • CGI.pm: interact with the user; • DBI.pm: interact with MySQL. • The program includes bits in HTMLto create web pages.](https://reader035.fdocuments.net/reader035/viewer/2022062508/5feb462a44879a651568f8d1/html5/thumbnails/54.jpg)
Some preliminary snapshots
• Login screen
![Page 55: Perl for Linguists - University of Arizonaperl modules: • CGI.pm: interact with the user; • DBI.pm: interact with MySQL. • The program includes bits in HTMLto create web pages.](https://reader035.fdocuments.net/reader035/viewer/2022062508/5feb462a44879a651568f8d1/html5/thumbnails/55.jpg)
Some preliminary snapshots
• Login screen• Not a registered user
![Page 56: Perl for Linguists - University of Arizonaperl modules: • CGI.pm: interact with the user; • DBI.pm: interact with MySQL. • The program includes bits in HTMLto create web pages.](https://reader035.fdocuments.net/reader035/viewer/2022062508/5feb462a44879a651568f8d1/html5/thumbnails/56.jpg)
Some preliminary snapshots
• Login screen• Not a registered user• A registered user
![Page 57: Perl for Linguists - University of Arizonaperl modules: • CGI.pm: interact with the user; • DBI.pm: interact with MySQL. • The program includes bits in HTMLto create web pages.](https://reader035.fdocuments.net/reader035/viewer/2022062508/5feb462a44879a651568f8d1/html5/thumbnails/57.jpg)
Some preliminary snapshots
• Login screen• Not a registered user• A registered user• Choose a task
![Page 58: Perl for Linguists - University of Arizonaperl modules: • CGI.pm: interact with the user; • DBI.pm: interact with MySQL. • The program includes bits in HTMLto create web pages.](https://reader035.fdocuments.net/reader035/viewer/2022062508/5feb462a44879a651568f8d1/html5/thumbnails/58.jpg)
Some preliminary snapshots
• Login screen• Not a registered user• A registered user• Choose a task• Not yet implemented
![Page 59: Perl for Linguists - University of Arizonaperl modules: • CGI.pm: interact with the user; • DBI.pm: interact with MySQL. • The program includes bits in HTMLto create web pages.](https://reader035.fdocuments.net/reader035/viewer/2022062508/5feb462a44879a651568f8d1/html5/thumbnails/59.jpg)
Some preliminary snapshots
• Login screen• Not a registered user• A registered user• Choose a task• Not yet implemented• Current experiments
![Page 60: Perl for Linguists - University of Arizonaperl modules: • CGI.pm: interact with the user; • DBI.pm: interact with MySQL. • The program includes bits in HTMLto create web pages.](https://reader035.fdocuments.net/reader035/viewer/2022062508/5feb462a44879a651568f8d1/html5/thumbnails/60.jpg)
Some preliminary snapshots
• Login screen• Not a registered user• A registered user• Choose a task• Not yet implemented• Current experiments• A sample experiment
![Page 61: Perl for Linguists - University of Arizonaperl modules: • CGI.pm: interact with the user; • DBI.pm: interact with MySQL. • The program includes bits in HTMLto create web pages.](https://reader035.fdocuments.net/reader035/viewer/2022062508/5feb462a44879a651568f8d1/html5/thumbnails/61.jpg)
The big picture
userwebbrowser
-
�
serverwebserver
CGI program -
�other server
MySQL
![Page 62: Perl for Linguists - University of Arizonaperl modules: • CGI.pm: interact with the user; • DBI.pm: interact with MySQL. • The program includes bits in HTMLto create web pages.](https://reader035.fdocuments.net/reader035/viewer/2022062508/5feb462a44879a651568f8d1/html5/thumbnails/62.jpg)
MySQL database
![Page 63: Perl for Linguists - University of Arizonaperl modules: • CGI.pm: interact with the user; • DBI.pm: interact with MySQL. • The program includes bits in HTMLto create web pages.](https://reader035.fdocuments.net/reader035/viewer/2022062508/5feb462a44879a651568f8d1/html5/thumbnails/63.jpg)
MySQL database
• MySQL is a particular open-source databaseserver.
![Page 64: Perl for Linguists - University of Arizonaperl modules: • CGI.pm: interact with the user; • DBI.pm: interact with MySQL. • The program includes bits in HTMLto create web pages.](https://reader035.fdocuments.net/reader035/viewer/2022062508/5feb462a44879a651568f8d1/html5/thumbnails/64.jpg)
MySQL database
• MySQL is a particular open-source databaseserver.
• For the ESS project, it holds the followingdata:
![Page 65: Perl for Linguists - University of Arizonaperl modules: • CGI.pm: interact with the user; • DBI.pm: interact with MySQL. • The program includes bits in HTMLto create web pages.](https://reader035.fdocuments.net/reader035/viewer/2022062508/5feb462a44879a651568f8d1/html5/thumbnails/65.jpg)
MySQL database
• MySQL is a particular open-source databaseserver.
• For the ESS project, it holds the followingdata:
• Users and passwords• Experiments• Experimental items• Results from individual experimental runs
![Page 66: Perl for Linguists - University of Arizonaperl modules: • CGI.pm: interact with the user; • DBI.pm: interact with MySQL. • The program includes bits in HTMLto create web pages.](https://reader035.fdocuments.net/reader035/viewer/2022062508/5feb462a44879a651568f8d1/html5/thumbnails/66.jpg)
Programming challenges for ESSproject
![Page 67: Perl for Linguists - University of Arizonaperl modules: • CGI.pm: interact with the user; • DBI.pm: interact with MySQL. • The program includes bits in HTMLto create web pages.](https://reader035.fdocuments.net/reader035/viewer/2022062508/5feb462a44879a651568f8d1/html5/thumbnails/67.jpg)
Programming challenges for ESSproject
• The program runs on a separate machine.
![Page 68: Perl for Linguists - University of Arizonaperl modules: • CGI.pm: interact with the user; • DBI.pm: interact with MySQL. • The program includes bits in HTMLto create web pages.](https://reader035.fdocuments.net/reader035/viewer/2022062508/5feb462a44879a651568f8d1/html5/thumbnails/68.jpg)
Programming challenges for ESSproject
• The program runs on a separate machine.• The program makes use of several special
perl modules:• CGI.pm: interact with the user;• DBI.pm: interact with MySQL.
![Page 69: Perl for Linguists - University of Arizonaperl modules: • CGI.pm: interact with the user; • DBI.pm: interact with MySQL. • The program includes bits in HTMLto create web pages.](https://reader035.fdocuments.net/reader035/viewer/2022062508/5feb462a44879a651568f8d1/html5/thumbnails/69.jpg)
Programming challenges for ESSproject
• The program runs on a separate machine.• The program makes use of several special
perl modules:• CGI.pm: interact with the user;• DBI.pm: interact with MySQL.
• The program includes bits in HTML to createweb pages.
![Page 70: Perl for Linguists - University of Arizonaperl modules: • CGI.pm: interact with the user; • DBI.pm: interact with MySQL. • The program includes bits in HTMLto create web pages.](https://reader035.fdocuments.net/reader035/viewer/2022062508/5feb462a44879a651568f8d1/html5/thumbnails/70.jpg)
Programming challenges for ESSproject
• The program runs on a separate machine.• The program makes use of several special
perl modules:• CGI.pm: interact with the user;• DBI.pm: interact with MySQL.
• The program includes bits in HTML to createweb pages.
• The program includes bits in SQL to talk to thedatabase server.
![Page 71: Perl for Linguists - University of Arizonaperl modules: • CGI.pm: interact with the user; • DBI.pm: interact with MySQL. • The program includes bits in HTMLto create web pages.](https://reader035.fdocuments.net/reader035/viewer/2022062508/5feb462a44879a651568f8d1/html5/thumbnails/71.jpg)
Conclusions
![Page 72: Perl for Linguists - University of Arizonaperl modules: • CGI.pm: interact with the user; • DBI.pm: interact with MySQL. • The program includes bits in HTMLto create web pages.](https://reader035.fdocuments.net/reader035/viewer/2022062508/5feb462a44879a651568f8d1/html5/thumbnails/72.jpg)
Conclusions
1. Why programming
![Page 73: Perl for Linguists - University of Arizonaperl modules: • CGI.pm: interact with the user; • DBI.pm: interact with MySQL. • The program includes bits in HTMLto create web pages.](https://reader035.fdocuments.net/reader035/viewer/2022062508/5feb462a44879a651568f8d1/html5/thumbnails/73.jpg)
Conclusions
1. Why programming
2. Why perl
![Page 74: Perl for Linguists - University of Arizonaperl modules: • CGI.pm: interact with the user; • DBI.pm: interact with MySQL. • The program includes bits in HTMLto create web pages.](https://reader035.fdocuments.net/reader035/viewer/2022062508/5feb462a44879a651568f8d1/html5/thumbnails/74.jpg)
Conclusions
1. Why programming
2. Why perl
3. Where to find out more
![Page 75: Perl for Linguists - University of Arizonaperl modules: • CGI.pm: interact with the user; • DBI.pm: interact with MySQL. • The program includes bits in HTMLto create web pages.](https://reader035.fdocuments.net/reader035/viewer/2022062508/5feb462a44879a651568f8d1/html5/thumbnails/75.jpg)
Conclusions
1. Why programming
2. Why perl
3. Where to find out more
4. “Experimental Syntax Server” prototype