From 7017dc07b9706d79ff84079982e668dbe925f54c Mon Sep 17 00:00:00 2001 From: Patrick Schur Date: Sun, 5 Feb 2017 00:39:00 +0100 Subject: [PATCH] Some updates --- .gitattributes | 4 +- CHANGELOG.md | 99 ++++++++++++++++++++++++++++++++++++ CONTRIBUTING.md | 9 ++++ LICENSE | 2 +- tests/LanguageResultTest.php | 2 + tests/LanguageTest.php | 2 + tests/TrainerTest.php | 2 + 7 files changed, 118 insertions(+), 2 deletions(-) create mode 100644 CHANGELOG.md create mode 100644 CONTRIBUTING.md diff --git a/.gitattributes b/.gitattributes index 54a2988..97e7c1b 100644 --- a/.gitattributes +++ b/.gitattributes @@ -6,4 +6,6 @@ /.gitignore export-ignore /.travis.yml export-ignore /phpunit.xml export-ignore -/README.md export-ignore \ No newline at end of file +/README.md export-ignore +/CONTRIBUTING.md export-ignore +/CHANGELOG.md export-ignore \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..df33189 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,99 @@ +# Change Log +All notable changes to this project will be documented in this file. + +## [3.0.0] - 2017-02-05 +### Added +- `CHANGELOG.md` +- `CONTRIBUTING.md` +- Tokenizer interface + +### Changed +- Folder structure (renamed `etc` to `resources`) +- Renamed all language files (added **.txt** extension) +- Improved performance +- Updated to PHPUnit 6 +- `README.md` + +### Removed +- Autoloader script +- Language model `_langs.json` + +## [2.1.1] - 2017-02-01 +### Added +- Autloader script + +### Changed +- Fixed typos for Lithuanian language sample +- Fixed wrong ISO 639-1 codes +- Updated `_langs.json` + +### Removed +- `php-nightly` in `.travis.yml` + +## [2.1.0] - 2017-01-27 +### Added +- New best results method +- Some PHPUnit tests + +### Changed +- Fixed a bug that could produce slightly worse results. +- `README.md` +- `LICENSE.md` + +## [2.0.0] - 2017-01-09 +### Added +- `ta` language file +- IteratorAggregate interface + +### Changed +- Updated `_langs.json` +- `README.md` + +## [1.2.0] - 2017-01-04 +### Added +- `ay` language file +- `bi` language file +- `bo` language file +- `br` language file +- `bs-Cyrl` language file +- `bs-Latn` language file +- `ca` language file +- `ch` language file +- `dz` language file +- `fy` language file +- `gu` language file +- `id` language file +- `jv` language file +- `km` language file +- `kr` language file +- `ms-Latn` language file +- `ng` language file +- `pt-BR` language file +- `sq` language file +- `ss` language file + +### Changed +- Changed folder structure +- `ms-Arab` renamed from `ms` +- `pt-PT` renamed from `pt` +- `README.md` +- Updated `_langs.json` + +## [1.1.0] - 2016-12-31 +### Added +- `tl` language file +- `tt` language file +- `ve` language file +- `wa` language file +- `wo` language file +- `xh` language file +- `yo` language file +- `ug-Latn` language file + +### Changed +- `_langs.json` +- `ug-Arab` renamed from `ug` +- `README.md` + +## [1.0.0] - 2016-12-25 +- First Release \ No newline at end of file diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..fbad329 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,9 @@ +# Contributing + +When contributing to this repository, please first discuss the change you wish to make via issue or email with the owner of this repository before making a change. + +## License + +By contributing to this, you agree that your contributions will be licensed under its [MIT license](LICENSE). + +Thanks for contributing! \ No newline at end of file diff --git a/LICENSE b/LICENSE index a932643..bfff1e0 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2017 Patrick Schur +Copyright (c) 2016-2017 Patrick Schur Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/tests/LanguageResultTest.php b/tests/LanguageResultTest.php index df3b360..5482b6b 100644 --- a/tests/LanguageResultTest.php +++ b/tests/LanguageResultTest.php @@ -10,6 +10,8 @@ /** * Class LanguageTest * + * @copyright 2016-2017 Patrick Schur + * @license https://opensource.org/licenses/mit-license.html MIT * @author Patrick Schur * @package LanguageDetection\Tests */ diff --git a/tests/LanguageTest.php b/tests/LanguageTest.php index eb44d53..3f9dfaa 100644 --- a/tests/LanguageTest.php +++ b/tests/LanguageTest.php @@ -10,6 +10,8 @@ /** * Class LanguageTest * + * @copyright 2016-2017 Patrick Schur + * @license https://opensource.org/licenses/mit-license.html MIT * @author Patrick Schur * @package LanguageDetection\Tests */ diff --git a/tests/TrainerTest.php b/tests/TrainerTest.php index 8fb4e0f..2bab571 100644 --- a/tests/TrainerTest.php +++ b/tests/TrainerTest.php @@ -10,6 +10,8 @@ /** * Class TrainerTest * + * @copyright 2016-2017 Patrick Schur + * @license https://opensource.org/licenses/mit-license.html MIT * @author Patrick Schur * @package LanguageDetection\Tests */