Giter Site home page Giter Site logo

autopatt's Introduction

AutoPATT

Phon script to automate the Phonological Assessment and Treatment Target (PATT) selection process.

INSTALLATION INSTRUCTIONS:

For the latest script (requires Phon 2.2 or above):

  1. Click Code on upper-right of project toolbar.

  2. Click Download .ZIP file

  3. Extract zip file

  4. Move AutoPATT.groovy to your Phon scripts folder. By default this will be in ..\Documents\Phon\PhonShell or ... ~User\AppData\Roaming\Phon\PhonShell, depending on your version. If this is your first script, you will need to create the "PhonShell" folder.

  5. AutoPATT should now appear in Phon when you click Plugins->PhonShell scripts

For older versions of Phon:

  1. Please navigate to Releases and download the .ZIP file of AutoPATT that is compatible with your version of Phon. This will be described in the release notes for AutoPATT.

  2. Extract zip file

  3. Move AutoPATT.groovy to your Phon scripts folder. By default this will be in ..\Documents\Phon\PhonShell.

  4. AutoPATT should now appear in Phon when you click Plugins->PhonShell scripts

autopatt's People

Contributors

rayamberg avatar philcombiths avatar

Stargazers

João Bolsson avatar Aislyn Rose avatar Gregory Hedlund avatar

Watchers

 avatar

Forkers

philcombiths

autopatt's Issues

Handle mismatches between orthography and IPA Actual

User should be given an option when there does not appear to be a good match between the orthography, which helps to map meaning to minimal pairs, and the actual IPA transcription. Perhaps a warning or option to skip.

Check to ensure that minimal pair rule 5 is followed

Do not repeat minimal pairs. If you use [maUs] and [maUT] for /s/, don’t use the same minimal pair
for /T/, unless there are no other minimal pairs found in the data for /T/.

May or may not decide to implement this depending on how "strict" we want to be with minimal pairs

Visitor Pattern for CSV writing

Consider implementing a visitor pattern that visits each key component and writes that way. This visitor will need information about which language is being processed and its rules. For example, when visiting an English phonetic inventory, it should know the basePhones for English, and when visiting Spanish (or Russian, etc.) it will have to print things out differently.

change encoding of output CSV

change encoding of output CSV so IPA symbols appear correctly in Excel. Current encoding is UTF-8. UTF-8 BOM would work. Or perhaps create an option to choose.

Corrections to CSV output

Modify arrangement of inventory tables in CSV output:

  • [h] as glide in English,
  • Change row order (fricatives before nasals),
  • Change row labels: liquids instead of laterals, remove other fricatives

Re-design constructors for inventory classes

The buildInventory() and gather() functions may not be necessary if the proper functions are being executed in the constructors for each speaker. Consider doing all the parsing in the constructor.

Instability on Mac

There are a number of issues with AutoPATT on the Mac version of Phon v2.2. This problem was replicated on a Macbook running MacOS Sierra 10.12.5. Issues include the following:

  • Phon often crashes (not all the time) when executing the script initially
  • Script is unable to execute a second time after successful completion the first time. Phon crashes.

Force quitting and restarting Phon is usually enough to remedy the first problem, but the second problem persists.

Possibility to split PATT.groovy into multiple files

Right now all of the files are within one PATT.groovy script. It would be nice to be able to import the classes from separate files, but I can't seem to figure out how to do that within PhonShell/Groovy. Would this be possible?

Create menu of functions

Allow for menu of functions, so that user doesn't just have to do PATT, but could just get a minimal pair count, for example.

PATT English Step 2, Part D should try to guess pattern

Current recommendation: It can spit out two lists, one of 2-element non-s clusters and another with 2-element s-clusters. The s-cluster list can come with a caveat, e.g. These may be appropriate targets if they are NOT error-patterning like /st-/, /sp-/, /sk-/ (violate SSP, are adjunct clusters). Also, this may be difficult, but if it could spit out a summary table of errors for the s/STOP/ clusters and the other s-clusters in questions. If they show the same reduction pattern, then do it. If one reduces to C1 and the other doesn't then they aren't patterning the same. (P1/P2)

Update script install location

Update instructions for script location for Phon 3.1.0?
Default location in Windows 10 is: ~User\AppData\Roaming\Phon\PhonShell

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.