post_content ); $content = preg_replace( '/\[[^\]]+\]/', '', $content ); $content = preg_replace( '/^\h*\v+/m', '', $content ); $content = preg_replace( '/\v+/', "\\n", $content ); $params['context'] = "Article:\\n\\n{***}\\n{$content}\\n{***}.\\n\\nDebate:\\n\\n"; $params['start_sentence'] = "Is there anything you would like to discuss about this article?"; } return $params; } }