
Progress portal
Awk scripts for different kinds of data munging
XML Excel Sheet
- Awk script to generate an XML excel sheet from rows and columns of text data
⤷ AWK_Generate-XML-XLSheet.html
Two-way IO command pipeline
- Awk script to generate phoneme frequency counts -- Diphthongs are treated as such. Uses the two-way IO pipeline feature of Gawk.
⤷ AWK_Count-Phoneme-Frequency--Per-Word.html
- Awk script to generate phoneme frequency counts -- Diphthongs are split and the parts treated as separate phonemes. Uses the two-way IO pipeline feature of Gawk.
⤷ AWK_Count-Phoneme-Frequency-Split-Phonemes--Per-Word.html
- Awk script to recode and summarise NEO questionnaire responses. Uses the two-way IO pipeline feature of Gawk.
⤷ AWK_Recode-NEO-and-Summarise-Responses.html
- Awk script to recode NEO questionnaire responses. Uses the two-way IO pipeline feature of Gawk.
⤷ AWK_Recode-Q-NEO-Responses.html
Two-way IO command pipeline to run R Scripts
- Awk script to calculate descriptive statistics for specified time-windows in the input EMG data. Uses the two-way IO pipeline feature of Gawk, and calls an executable R Script to calculate basic descriptive statistics. The principle is that awk does what it does best and sends the output data frame to R, which does what it does best, and sends its output back to awk, and awk parses this output to produce the ultimate output table. See also the R section for the R scripts that go hand in hand with this script.
⤷ AWK_Calculate-Windowed-Stats-EMG.html
- Awk script to calculate standard deviation of the max-min range over all trials. Another example similar to the above; only, this one runs two different R scripts for two purposes. See also the R section for the R scripts that go hand in hand with this script.
⤷ AWK_Calculate-SD-Range-Over-Trials.html
- Awk script to calculate standard deviation of the max-min range over all trials. One more example or running R scripts; this one runs a moving window scan of the data using a supportive R script. See also the R section for the R scripts that go hand in hand with this script.
⤷ AWK_Scan-Data-for-Outlier-Ranges-using-Moving-Window.html
Parsing and processing Presentation logfiles of various types
- Awk script to extract the a list of ratings participants provided for auditory stimuli
⤷ AWK_Extract-Know-Rating-Data.html
Filter the ERP Anova output texfile and generate a gist of all significant effects
- Awk script step 1 to filter out significant effects from the Tex file generated by ERP Anova (using the main.R method)
⤷ AWK_Extract-Sig-Effects-Step1-from-Texfile.html
This script calls the step 2 script below, since step 2 depends fully upon the output of step 1 and should work in tandem with it.
- Awk script step 2 to filter out significant effects from the Tex file generated by ERP Anova (using the main.R method)
⤷ AWK_Extract-Sig-Effects-Step2.html
Miscellaneous
- Awk script for data munging using a start-stop pattern.
⤷ AWK_Replace-using-start-stop-pattern.html
- Awk script to process praat-generated output to generate an output file that could be fed into R for plotting approximate auditory contours
⤷ AWK_T_Pitchplot.html
- Awk script to parse an html source, such that all html tags are removed using regular expressions so as to filter our the contents
⤷ AWK_Parse-Html-Output--Freiburg-Anthology.html
- Awk script to prepare a source text for hyphenation (using Latex in a further step) by removing special characters and punctuation
⤷ AWK_Prepare-Source-Text-For-Hyphenation.html
- Awk script to process hyphenated text generated using Latex
⤷ AWK_Read-hyphenated-Text.html
- Awk script to generate a wide-format auditory cues file for acoustic analysis
⤷ AWK_Cues-File-For-Acoustic-Analysis.html
- Awk script to extract stanzawise word positions
⤷ AWK_Extract-Stanzawise-Word-Positions.html
Processing EEProbe Trigger files
- Awk script to insert auditory cues into EEProbe trigger files
⤷ AWK_Insert-Cues-To-Trg-File.html
- Awk script to insert missing triggers 8 and 9 (in case the Presentation script did not have the hard-coded solution in it)
⤷ AWK_Insert-Missing-89-Item-Triggers.html
Disclaimer
Any and all scripts available on these pages or snippets thereof can be freely copied, reused, redistributed and modified, provided it is exclusively for non-commercial scientific research purposes. Unless otherwise explicitly mentioned in the header block, none of the scripts or snippets provided on these pages involve copyrighted material from or intellectual property of other unacknowledged sources.
Presentation is a registered trademark, owned by Neurobehavioral Systems, Inc., CA, USA.
Whilst the scripts and code snippets provided here are intended to be useful in the broader pursuit of science, they are provided 'as is', with no warranty of any sort, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose and noninfringement. In no event shall the author(s) or the Institute be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in connection with the scripts provided on these pages or the use or other dealings in the scripts. Comments, criticisms and suggestions for improvements are always welcome. Please get in touch with Dr. R. Muralikrishnan in this regard. Copyleft (ↄ) R. Muralikrishnan (only for the scripts and code snippets on these pages).