<commit_before><?php
/**
 * @package plugins.reach
 * @subpackage api.objects
 */
class KalturaVendorAlignmentCatalogItem extends KalturaVendorCatalogItem
{
	/**
	 * @var KalturaCatalogItemLanguage
	 * @filter eq,in
	 */
	public $sourceLanguage;
	
	/**
	 * @var KalturaVendorCatalogItemOutputFormat
	 * @filter eq,in
	 */
	public $outputFormat;

	private static $map_between_objects = array
	(
		'sourceLanguage',
		'outputFormat',
	);
	
	protected function getServiceFeature()
	{
		return KalturaVendorServiceFeature::ALIGNMENT;
	}
	
	/* (non-PHPdoc)
	 * @see KalturaCuePoint::getMapBetweenObjects()
	 */
	public function getMapBetweenObjects()
	{
		return array_merge(parent::getMapBetweenObjects(), self::$map_between_objects);
	}
	
	/* (non-PHPdoc)
 * @see KalturaObject::toInsertableObject()
 */
	public function toInsertableObject($object_to_fill = null, $props_to_skip = array())
	{
		if (is_null($object_to_fill))
			$object_to_fill = new VendorAlignmentCatalogItem();
		
		return parent::toInsertableObject($object_to_fill, $props_to_skip);<commit_msg>Code re-org Since every catalog item type uses sourceLanguage, property has been moved to the top class KalturaVendorCatalogItem<commit_after><?php
/**
 * @package plugins.reach
 * @subpackage api.objects
 */
class KalturaVendorAlignmentCatalogItem extends KalturaVendorCatalogItem
{
	/**
	 * @var KalturaVendorCatalogItemOutputFormat
	 * @filter eq,in
	 */
	public $outputFormat;

	private static $map_between_objects = array
	(
		'outputFormat',
	);
	
	protected function getServiceFeature()
	{
		return KalturaVendorServiceFeature::ALIGNMENT;
	}
	
	/* (non-PHPdoc)
	 * @see KalturaCuePoint::getMapBetweenObjects()
	 */
	public function getMapBetweenObjects()
	{
		return array_merge(parent::getMapBetweenObjects(), self::$map_between_objects);
	}
	
	/* (non-PHPdoc)
 * @see KalturaObject::toInsertableObject()
 */
	public function toInsertableObject($object_to_fill = null, $props_to_skip = array())
	{
		if (is_null($object_to_fill))
			$object_to_fill = new VendorAlignmentCatalogItem();
		
		return parent::toInsertableObject($object_to_fill, $props_to_skip);
{'fraction_non_alphanumeric': 0.11429915333960489, 'fraction_numerical': 0.0, 'mean_word_length': 5.524539877300613, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '4743990', 'n_tokens_mistral': 725, 'n_tokens_neox': 684, 'n_words': 125}