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
{{ message }}
This repository has been archived by the owner on Nov 4, 2020. It is now read-only.
Contoh nomor surat dengan tanda titik: "SK Menkumham nomor M.HH-06.AH.11.012016"
$line = "Ia mengacu penolakan PN Jakarta Pusat atas gugatan Djan kepada Jokowi, serta SK Menkumham nomor M.HH-06.AH.11.012016 yang mengesahkan kepengurusan Muktamar Pondok Gede.";
$sentenceDetectorFactory = new \Sastrawi\SentenceDetector\SentenceDetectorFactory();
$sentenceDetector = $sentenceDetectorFactory->createSentenceDetector();
$sentences = $sentenceDetector->detect($line);
var_dump($sentences);
/*array(5) { [0]=> string(98) "Ia mengacu penolakan PN Jakarta Pusat atas gugatan Djan kepada Jokowi, serta SK Menkumham nomor M." [1]=> string(6) "HH-06." [2]=> string(3) "AH." [3]=> string(3) "11." [4]=> string(58) "012016 yang mengesahkan kepengurusan Muktamar Pondok Gede."}*/
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Contoh nomor surat dengan tanda titik: "SK Menkumham nomor M.HH-06.AH.11.012016"
The text was updated successfully, but these errors were encountered: