Skip to content

Releases: nitotm/efficient-language-detector

v3.2.0 New defaults: Large - String

19 Apr 09:57

Choose a tag to compare

ELD database new default size is large, and mode string.

Compared with previous array mode, string reduces peak memory up to 35x and memory usage by 30x, enabling larger databases as default with higher accuracy.

large-string has a 50% memory reduction over small-array.
string is only about 2x slower than array, which is still quite fast.

v3.1.1 New execution Modes

12 Jan 10:53

Choose a tag to compare

ELD has now database execution modes: array, string, bytes and disk. More Info at README.

Current default, that matches previous execution is array-small. (Small for database size)

In a future version, the new default will be string-large, so I encourage trying it.

v3.1.1 : Composer install fix

v3.0.0

10 Oct 17:56

Choose a tag to compare

Changes from ELD v2 to v3:

detect()->language now returns string 'und' for undetermined instead of NULL
Databases are not compatible, and bigger, medium v2 ≈ small v3
dynamicLangSubset() function is removed
Function cleanText() is now named enableTextCleanup()

v2.1.2 fix isReliable() bug

10 Sep 12:57
7c69b13

Choose a tag to compare

Update LanguageResult.php

v2.1.1 Create .gitattributes

21 Jun 09:43
f6db74b

Choose a tag to compare

Remove files in tests/ misc/ and benchmark/ from the installation when installing the library via composer install --prefer-dist

v2.1.0 Added info function

03 Oct 21:16

Choose a tag to compare

Added info() function

v2.0.0 Return type changed

17 Jul 18:55

Choose a tag to compare

Return type changed from array to object. Upgraded from PHP 7.3 to 7.4

v1.0.3 Code improvements.

19 Jun 22:40

Choose a tag to compare

Code improvements. Fixed LanguageDetector file name.