Location: PHPKode > scripts > BowML > character.inc.php
<?php

function is_punctuation($pCharacter)
{
	return in_array($pCharacter, array(",", ".", ";", ":", "!", "'", "´", "`"));
}

function is_operator($pCharacter)
{
	return in_array($pCharacter, array("=", "!", "?", "-", "+", "*", "/", "%", "&"));
}

function is_currency($pCharacter)
{
	return in_array($pCharacter, array("£", "$", "€", "¥"));
}

function is_otherCharacter($pCharacter)
{
	return in_array($pCharacter, array("\"", "#", "¤", "", "(", ")", "^", "~", "¨",));
}

function is_figurative($pCharacter)
{
	print("is_figurative($pCharacter)");
	return in_array(strtolower($pCharacter), array
		("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k",
		"l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", 
		"w", "x", "y", "z", "å", "ä", "ö"));
}


?>
Return current item: BowML