HEX
Server: LiteSpeed
System: Linux eko108.isimtescil.net 4.18.0-477.21.1.lve.1.el8.x86_64 #1 SMP Tue Sep 5 23:08:35 UTC 2023 x86_64
User: uyarreklamcomtr (11202)
PHP: 7.4.33
Disabled: opcache_get_status
Upload Files
File: /var/www/vhosts/uyarreklam.com.tr/httpdocs/demo.php.tar
plugins/google-analytics-for-wordpress/includes/gutenberg/headline-tool/phpinsight/examples/demo.php000064400000001575151553717670042463 0ustar00var/www/vhosts/uyarreklam.com.tr/httpdocs/wp-content<?php
if ( PHP_SAPI != 'cli' ) {
	echo "<pre>";
}

$strings = array(
	1 => 'Weather today is rubbish',
	2 => 'This cake looks amazing',
	3 => 'His skills are mediocre',
	4 => 'He is very talented',
	5 => 'She is seemingly very agressive',
	6 => 'Marie was enthusiastic about the upcoming trip. Her brother was also passionate about her leaving - he would finally have the house for himself.',
	7 => 'To be or not to be?',
);


require_once __DIR__ . '/../autoload.php';
$sentiment = new \PHPInsight\Sentiment();
foreach ( $strings as $string ) {

	// calculations:
	$scores = $sentiment->score( $string );
	$class  = $sentiment->categorise( $string );

	// output:
	echo "String: $string\n"; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
	echo "Dominant: $class, scores: "; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
	print_r( $scores );
	echo "\n";
}
httpdocs/wp-content/plugins/all-in-one-seo-pack/vendor/jwhennessey/phpinsight/examples/demo.php000064400000001362151555653540035355 0ustar00var/www/vhosts/uyarreklam.com.tr<?php
if (PHP_SAPI != 'cli') {
	echo "<pre>";
}

$strings = array(
	1 => 'Weather today is rubbish',
	2 => 'This cake looks amazing',
	3 => 'His skills are mediocre',
	4 => 'He is very talented',
	5 => 'She is seemingly very agressive',
	6 => 'Marie was enthusiastic about the upcoming trip. Her brother was also passionate about her leaving - he would finally have the house for himself.',
	7 => 'To be or not to be?',
);




require_once __DIR__ . '/../autoload.php';
$sentiment = new \PHPInsight\Sentiment();
foreach ($strings as $string) {

	// calculations:
	$scores = $sentiment->score($string);
	$class = $sentiment->categorise($string);

	// output:
	echo "String: $string\n";
	echo "Dominant: $class, scores: ";
	print_r($scores);
	echo "\n";
}