Difference between revisions of "Misc tools"
From LING073
(Jwashin1 moved page MorphTests2yaml to Spring 2017/MorphTests2yaml: updated instructions) |
|||
| Line 1: | Line 1: | ||
| − | + | You can install '''morphTests2yaml''' as follows: | |
| + | <pre> | ||
| + | cd ~/ling073 | ||
| + | git clone git@github.swarthmore.edu:Ling073-sp18/tools.git | ||
| + | cd tools | ||
| + | make install | ||
| + | </pre> | ||
| + | |||
| + | You can scrape <code><NOWIKI>{{morphTest}}</NOWIKI></code>s from any page on this wiki like this: | ||
| + | morphTests2yaml "Language/Grammar" -l xyz | ||
| + | |||
| + | Put the file in a <code>tests/</code> directory in your transducer repo and commit the file. | ||
| + | |||
| + | [[Spring 2017/MorphTests2yaml|2017 version of this page]] | ||
| + | |||
| + | [[Category:Tools]] | ||
Revision as of 04:32, 20 February 2018
You can install morphTests2yaml as follows:
cd ~/ling073 git clone git@github.swarthmore.edu:Ling073-sp18/tools.git cd tools make install
You can scrape {{morphTest}}s from any page on this wiki like this:
morphTests2yaml "Language/Grammar" -l xyz
Put the file in a tests/ directory in your transducer repo and commit the file.