<commit_before><?php
/**
 * @package api
 * @subpackage objects
 */
class KalturaSearchResult extends KalturaSearch
{
	
	/**
	 * @var string
	 */
	public $id;
	
	/**
	 * @var string
	 */
	public $title;
	
	/**
	 * @var string
	 */
	public $thumbUrl;
	
	/**
	 * @var string
	 */
	public $description;
	
	/**
	 * @var string
	 */
	public $tags;
	
	/**
	 * @var string
	 */
	public $url;
	
	/**
	 * @var string
	 */
	public $sourceLink;
	
	/**
	 * @var string
	 */
	public $credit;
	
	/**
	 * @var KalturaLicenseType
	 */
	public $licenseType;
	
	/**
	 * @var string
	 */
	public $flashPlaybackType;
	
	private static $map_between_objects = array
	(
		"id" , 
		"title" , 
		"thumbUrl" => "thumb" , 
		"description" , "tags" , 
		"url" , 
		"sourceLink" => "source_link" , 
		"credit" , 
		"licenseType" => "license" ,
	    "flashPlaybackType" => "flash_playback_type"
	);
	
	public function getMapBetweenObjects ( )
	{
		return array_merge ( parent::getMapBetweenObjects() , self::$map_between_objects );
	}
	
	public function fromSearchResult( $search_result , KalturaSearch $search )
	{
		parent::fromArray( $search_result );
		$this->mediaType = $search->mediaType;
		$this->searchSource = $search->searchSource;
		$this->keyWords = $search->keyWords;
	}
	
	public function toSearchResult( )
	{
		
	}
}<commit_msg>fwr: added file_ext to search result received by the KCW<commit_after><?php
/**
 * @package api
 * @subpackage objects
 */
class KalturaSearchResult extends KalturaSearch
{
	
	/**
	 * @var string
	 */
	public $id;
	
	/**
	 * @var string
	 */
	public $title;
	
	/**
	 * @var string
	 */
	public $thumbUrl;
	
	/**
	 * @var string
	 */
	public $description;
	
	/**
	 * @var string
	 */
	public $tags;
	
	/**
	 * @var string
	 */
	public $url;
	
	/**
	 * @var string
	 */
	public $sourceLink;
	
	/**
	 * @var string
	 */
	public $credit;
	
	/**
	 * @var KalturaLicenseType
	 */
	public $licenseType;
	
	/**
	 * @var string
	 */
	public $flashPlaybackType;
	
	/**
	 * @var string
	 */
	public $fileExt;
	
	private static $map_between_objects = array
	(
		"id" , 
		"title" , 
		"thumbUrl" => "thumb" , 
		"description" , "tags" , 
		"url" , 
		"sourceLink" => "source_link" , 
		"credit" , 
		"licenseType" => "license" ,
	    "flashPlaybackType" => "flash_playback_type",
	    "fileExt" => "file_ext"
	);
	
	public function getMapBetweenObjects ( )
	{
		return array_merge ( parent::getMapBetweenObjects() , self::$map_between_objects );
	}
	
	public function fromSearchResult( $search_result , KalturaSearch $search )
	{
		parent::fromArray( $search_result );
		$this->mediaType = $search->mediaType;
		$this->searchSource = $search->searchSource;
		$this->keyWords = $search->keyWords;
	}
	
	public function toSearchResult( )
	{
		
	}
}
{'fraction_non_alphanumeric': 0.16042197162604582, 'fraction_numerical': 0.0, 'mean_word_length': 2.9341917024320456, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 24, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4998292', 'n_tokens_mistral': 1102, 'n_tokens_neox': 944, 'n_words': 197}