From b34658717a3b09dd5dcbae842e3227086a3970ba Mon Sep 17 00:00:00 2001 From: Olav Date: Thu, 20 Aug 2020 11:58:50 +0200 Subject: [PATCH] Updated examples --- examples/polyglot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/polyglot.php b/examples/polyglot.php index 1e4b2b4..f961a90 100644 --- a/examples/polyglot.php +++ b/examples/polyglot.php @@ -35,7 +35,7 @@ Situasjonen blir heller ikke bedre av at Norgesgruppen også eier det største distribusjonsselskapet, Asko."; $detected_lang = $nlp->language( $text ); -$polyglot = $nlp->polyglot( $text, $detected_lang ); +$polyglot = $nlp->polyglot_entities( $text, $detected_lang ); print_r($polyglot);