search(['count' => 30, 'q' => urlencode($search), " result_type" => "recent", 'tweet_mode' => 'extended', 'locale' => 'id']); foreach($results as $tweet){ $string = $tweet->full_text; //cleasing $text_clean = new Clean($string); $text_clean = $text_clean->toString(); //stem $string = $stemmer->stem($string); // calculations: $scores = $sentiment->score($string); $class = $sentiment->categorise($string); // TODO: : cek sudah ada id di database, insert ke database } } $page = (isset($_POST['page'])) ? $_POST['page'] : 1; ?>

Ambil Data

Daftar Barang

Total record : tweets->count() ?>

tweets->paginate(15, $page) as $tweet): ?>
Id Tweet Tweet Text Clean Text Stem Label Kunci