You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently we can use the limit function to return a specific quantity of languages:
$ld->detect('Mag het een onsje meer zijn?')->blacklist('af', 'dk', 'sv')->limit(0, 4)->close();
Array
(
"nl" => 0.66193548387097"br" => 0.49634408602151"nb" => 0.48849462365591"nn" => 0.48741935483871
)
Would be nice to have a standalone function in the library to limit the results by its values.
$ld->detect('Mag het een onsje meer zijn?')->blacklist('af', 'dk', 'sv')->min(0.5)->close(); // or atLeast() instead of min()Array
(
"nl" => 0.66193548387097
)
// In case of a greater than number:$ld->detect('Mag het een onsje meer zijn?')->blacklist('af', 'dk', 'sv')->min(1)->close(); // or atLeast() instead of min()Array
(
)
The text was updated successfully, but these errors were encountered:
FabianoLothor
changed the title
Feature Request - Min value of
Feature Request - Min language's values
Aug 1, 2021
Currently we can use the
limit
function to return a specific quantity of languages:Would be nice to have a standalone function in the library to limit the results by its values.
The text was updated successfully, but these errors were encountered: