Skip to content

Q42/dutch-to-haags-translator

Repository files navigation

dutch-to-haags-translator

Translate Dutch to the Hague dialect

Installation

With npm installed, run

$ npm install @q42/dutch-to-haags-translator --save

Usage

import { translate } from '@q42/dutch-to-haags-translator';
console.log(translate('Oh oh Den Haag, mooie stad achter de duinen!'));
  
// Result: "Oh oh De Haag, mauie stad achtâh de dùinûh!"

Debugging

import { showHits } from '@q42/dutch-to-haags-translator';
showHits('Oh oh Den Haag, mooie stad achter de duinen!');

Thanks!

This project is a port of the HaagsTranslator project.
Special thanks to: Mark, Maurice, Roelfjan, Sjaak Bral, Marnix Rueb and Robert-Jan Rueb

Develop

$ npm run compile:watch
$ npm run test

Deploy

# bump version
$ npm version [<newversion> | major | minor | patch | premajor | preminor | prepatch | prerelease | from-git]
   
# not sure yet, do a dryrun
$ npm run dryrun
   
# pubplish
$ npm publish

License

MIT

About

Translate Dutch to the Hague dialect

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •