Skip to content

cesine/ToolsForFieldLinguistics

Repository files navigation

Build Status

ToolsForFieldLinguistics

A collection of scripts and recipes for fieldlinguistics and RAs in data heavy labs

Getting Started

On the server

Install the module with: npm install git://github.com/cesine/ToolsForFieldLinguistics.git

var ToolsForFieldLinguistics = require('tools-for-field-linguistics');
console.log(ToolsForFieldLinguistics);

In the browser

Download the development version.

In your web page:

<script src="dist/tools-for-field-linguistics.js"></script>
<script>
init(); // "init"
</script>

In your code, you can attach ToolsForFieldLinguistics's methods to any object.

<script>
var exports = Stuff.utils;
</script>
<script src="dist/tools-for-field-linguistics.js"></script>
<script>
Stuff.utils.init(); // "init"
</script>

Documentation

https://github.com/cesine/ToolsForFieldLinguistics/tree/master/docs

Examples

For screencasts to see how you can use the code: https://github.com/cesine/ToolsForFieldLinguistics/tree/master/watchmes

For sample code to see how you can use and re-use the code, see the specs and tests: https://github.com/cesine/ToolsForFieldLinguistics/tree/master/test

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. If you know how, add unit tests for any new or changed functionality. The project comes with automated linting and testing for your javascript code using NPM Scripts.

###Contributing Examples

Want to contribute? (easy)

  1. Click on Edit on any of the pages on GitHub
  2. Edit the code, and commit your changes saying what you changed (git commit -m "added some more regex to the text cleaner"). GitHub will create an Issue for you which asks us to bring in your changes

Want to contribute? (advanced)

  1. Fork the repo
  2. Create a branch which describes your change (git checkout -b more_regex)
  3. Make your modifications
  4. Run the dev tools (linter and tests if you modified the javascript) $ npm install $ npm run lint $ npm test
  5. Commit your changes (git commit -m "added some more regex to the text cleaner")
  6. Push to the branch (git push origin more_regex)
  7. Create a Pull Request (adding more details if necessary)

JavaScript Syntax highlighting using Sublime

  • Download the source code
  • Open the entire folder

Groovy Syntax highlighting using Eclipse

  • Download the source code
  • Create a Groovy project and import the source files

License

Copyright (c) 2010-2019 cesine, hisakonog, vronvali Licensed under the Apache 2.0 license.

About

A collection of scripts and recipes for fieldlinguistics and RAs in data heavy labs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published