├── .github ├── dependabot.yaml └── workflows │ └── build.yml ├── CHANGELOG.md ├── LICENSE ├── README.md ├── composer.json ├── examples └── spellcheck.php ├── src ├── Aspell │ └── Aspell.php ├── Dictionary.php ├── Exception │ ├── EnvironmentException.php │ ├── ExternalProgramFailedException.php │ ├── PhpSpellerException.php │ ├── RuntimeException.php │ └── SourceException.php ├── ExternalSpeller.php ├── Helper │ └── LanguageMapper.php ├── Hunspell │ └── Hunspell.php ├── Ispell │ └── Ispell.php ├── Issue.php ├── Source │ ├── EncodingAwareSource.php │ ├── FileSource.php │ ├── Filter │ │ ├── Filter.php │ │ ├── HtmlFilter.php │ │ └── StripAllFilter.php │ ├── HtmlSource.php │ ├── IconvSource.php │ ├── MetaSource.php │ ├── StringSource.php │ └── XliffSource.php └── Speller.php └── tests ├── Functional ├── Aspell │ ├── AspellTest.php │ └── fixtures │ │ └── custom.en.pws └── AspellTestCase.php └── Unit ├── Aspell ├── AspellTest.php └── fixtures │ ├── check.txt │ ├── check_sv.txt │ ├── dicts.txt │ └── input.txt ├── ExternalSpellerTest.php ├── Helper └── LanguageMapperTest.php ├── Hunspell ├── HunspellTest.php └── fixtures │ ├── bin │ └── hunspell.php │ ├── check.txt │ ├── dicts.txt │ └── input.txt ├── Ispell ├── IspellTest.php └── fixtures │ ├── bin │ └── ispell.sh │ ├── check.txt │ ├── input.txt │ └── lib │ └── ispell │ ├── english.aff │ └── russian.aff ├── IssueTest.php └── Source ├── FileSourceTest.php ├── Filter ├── HtmlFilterTest.php └── StripAllFilterTest.php ├── HtmlSourceTest.php ├── IconvSourceTest.php ├── StringSourceTest.php ├── XliffSourceTest.php └── fixtures ├── test.txt └── test.xliff /.github/dependabot.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mekras/php-speller/HEAD/.github/dependabot.yaml -------------------------------------------------------------------------------- /.github/workflows/build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mekras/php-speller/HEAD/.github/workflows/build.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mekras/php-speller/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mekras/php-speller/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mekras/php-speller/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mekras/php-speller/HEAD/composer.json -------------------------------------------------------------------------------- /examples/spellcheck.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mekras/php-speller/HEAD/examples/spellcheck.php -------------------------------------------------------------------------------- /src/Aspell/Aspell.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mekras/php-speller/HEAD/src/Aspell/Aspell.php -------------------------------------------------------------------------------- /src/Dictionary.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mekras/php-speller/HEAD/src/Dictionary.php -------------------------------------------------------------------------------- /src/Exception/EnvironmentException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mekras/php-speller/HEAD/src/Exception/EnvironmentException.php -------------------------------------------------------------------------------- /src/Exception/ExternalProgramFailedException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mekras/php-speller/HEAD/src/Exception/ExternalProgramFailedException.php -------------------------------------------------------------------------------- /src/Exception/PhpSpellerException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mekras/php-speller/HEAD/src/Exception/PhpSpellerException.php -------------------------------------------------------------------------------- /src/Exception/RuntimeException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mekras/php-speller/HEAD/src/Exception/RuntimeException.php -------------------------------------------------------------------------------- /src/Exception/SourceException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mekras/php-speller/HEAD/src/Exception/SourceException.php -------------------------------------------------------------------------------- /src/ExternalSpeller.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mekras/php-speller/HEAD/src/ExternalSpeller.php -------------------------------------------------------------------------------- /src/Helper/LanguageMapper.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mekras/php-speller/HEAD/src/Helper/LanguageMapper.php -------------------------------------------------------------------------------- /src/Hunspell/Hunspell.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mekras/php-speller/HEAD/src/Hunspell/Hunspell.php -------------------------------------------------------------------------------- /src/Ispell/Ispell.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mekras/php-speller/HEAD/src/Ispell/Ispell.php -------------------------------------------------------------------------------- /src/Issue.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mekras/php-speller/HEAD/src/Issue.php -------------------------------------------------------------------------------- /src/Source/EncodingAwareSource.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mekras/php-speller/HEAD/src/Source/EncodingAwareSource.php -------------------------------------------------------------------------------- /src/Source/FileSource.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mekras/php-speller/HEAD/src/Source/FileSource.php -------------------------------------------------------------------------------- /src/Source/Filter/Filter.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mekras/php-speller/HEAD/src/Source/Filter/Filter.php -------------------------------------------------------------------------------- /src/Source/Filter/HtmlFilter.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mekras/php-speller/HEAD/src/Source/Filter/HtmlFilter.php -------------------------------------------------------------------------------- /src/Source/Filter/StripAllFilter.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mekras/php-speller/HEAD/src/Source/Filter/StripAllFilter.php -------------------------------------------------------------------------------- /src/Source/HtmlSource.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mekras/php-speller/HEAD/src/Source/HtmlSource.php -------------------------------------------------------------------------------- /src/Source/IconvSource.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mekras/php-speller/HEAD/src/Source/IconvSource.php -------------------------------------------------------------------------------- /src/Source/MetaSource.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mekras/php-speller/HEAD/src/Source/MetaSource.php -------------------------------------------------------------------------------- /src/Source/StringSource.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mekras/php-speller/HEAD/src/Source/StringSource.php -------------------------------------------------------------------------------- /src/Source/XliffSource.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mekras/php-speller/HEAD/src/Source/XliffSource.php -------------------------------------------------------------------------------- /src/Speller.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mekras/php-speller/HEAD/src/Speller.php -------------------------------------------------------------------------------- /tests/Functional/Aspell/AspellTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mekras/php-speller/HEAD/tests/Functional/Aspell/AspellTest.php -------------------------------------------------------------------------------- /tests/Functional/Aspell/fixtures/custom.en.pws: -------------------------------------------------------------------------------- 1 | personal_ws-1.1 en 1 2 | Versicherungspolice -------------------------------------------------------------------------------- /tests/Functional/AspellTestCase.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mekras/php-speller/HEAD/tests/Functional/AspellTestCase.php -------------------------------------------------------------------------------- /tests/Unit/Aspell/AspellTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mekras/php-speller/HEAD/tests/Unit/Aspell/AspellTest.php -------------------------------------------------------------------------------- /tests/Unit/Aspell/fixtures/check.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mekras/php-speller/HEAD/tests/Unit/Aspell/fixtures/check.txt -------------------------------------------------------------------------------- /tests/Unit/Aspell/fixtures/check_sv.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mekras/php-speller/HEAD/tests/Unit/Aspell/fixtures/check_sv.txt -------------------------------------------------------------------------------- /tests/Unit/Aspell/fixtures/dicts.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mekras/php-speller/HEAD/tests/Unit/Aspell/fixtures/dicts.txt -------------------------------------------------------------------------------- /tests/Unit/Aspell/fixtures/input.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mekras/php-speller/HEAD/tests/Unit/Aspell/fixtures/input.txt -------------------------------------------------------------------------------- /tests/Unit/ExternalSpellerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mekras/php-speller/HEAD/tests/Unit/ExternalSpellerTest.php -------------------------------------------------------------------------------- /tests/Unit/Helper/LanguageMapperTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mekras/php-speller/HEAD/tests/Unit/Helper/LanguageMapperTest.php -------------------------------------------------------------------------------- /tests/Unit/Hunspell/HunspellTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mekras/php-speller/HEAD/tests/Unit/Hunspell/HunspellTest.php -------------------------------------------------------------------------------- /tests/Unit/Hunspell/fixtures/bin/hunspell.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mekras/php-speller/HEAD/tests/Unit/Hunspell/fixtures/bin/hunspell.php -------------------------------------------------------------------------------- /tests/Unit/Hunspell/fixtures/check.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mekras/php-speller/HEAD/tests/Unit/Hunspell/fixtures/check.txt -------------------------------------------------------------------------------- /tests/Unit/Hunspell/fixtures/dicts.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mekras/php-speller/HEAD/tests/Unit/Hunspell/fixtures/dicts.txt -------------------------------------------------------------------------------- /tests/Unit/Hunspell/fixtures/input.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mekras/php-speller/HEAD/tests/Unit/Hunspell/fixtures/input.txt -------------------------------------------------------------------------------- /tests/Unit/Ispell/IspellTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mekras/php-speller/HEAD/tests/Unit/Ispell/IspellTest.php -------------------------------------------------------------------------------- /tests/Unit/Ispell/fixtures/bin/ispell.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mekras/php-speller/HEAD/tests/Unit/Ispell/fixtures/bin/ispell.sh -------------------------------------------------------------------------------- /tests/Unit/Ispell/fixtures/check.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mekras/php-speller/HEAD/tests/Unit/Ispell/fixtures/check.txt -------------------------------------------------------------------------------- /tests/Unit/Ispell/fixtures/input.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mekras/php-speller/HEAD/tests/Unit/Ispell/fixtures/input.txt -------------------------------------------------------------------------------- /tests/Unit/Ispell/fixtures/lib/ispell/english.aff: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/Unit/Ispell/fixtures/lib/ispell/russian.aff: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/Unit/IssueTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mekras/php-speller/HEAD/tests/Unit/IssueTest.php -------------------------------------------------------------------------------- /tests/Unit/Source/FileSourceTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mekras/php-speller/HEAD/tests/Unit/Source/FileSourceTest.php -------------------------------------------------------------------------------- /tests/Unit/Source/Filter/HtmlFilterTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mekras/php-speller/HEAD/tests/Unit/Source/Filter/HtmlFilterTest.php -------------------------------------------------------------------------------- /tests/Unit/Source/Filter/StripAllFilterTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mekras/php-speller/HEAD/tests/Unit/Source/Filter/StripAllFilterTest.php -------------------------------------------------------------------------------- /tests/Unit/Source/HtmlSourceTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mekras/php-speller/HEAD/tests/Unit/Source/HtmlSourceTest.php -------------------------------------------------------------------------------- /tests/Unit/Source/IconvSourceTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mekras/php-speller/HEAD/tests/Unit/Source/IconvSourceTest.php -------------------------------------------------------------------------------- /tests/Unit/Source/StringSourceTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mekras/php-speller/HEAD/tests/Unit/Source/StringSourceTest.php -------------------------------------------------------------------------------- /tests/Unit/Source/XliffSourceTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mekras/php-speller/HEAD/tests/Unit/Source/XliffSourceTest.php -------------------------------------------------------------------------------- /tests/Unit/Source/fixtures/test.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mekras/php-speller/HEAD/tests/Unit/Source/fixtures/test.txt -------------------------------------------------------------------------------- /tests/Unit/Source/fixtures/test.xliff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mekras/php-speller/HEAD/tests/Unit/Source/fixtures/test.xliff --------------------------------------------------------------------------------