Custom post type with new taxonomy [duplicate]

  $labels = array(
'name' => _x( 'Categories', 'taxonomy general name' ),
'singular_name' => _x( 'Category', 'taxonomy singular name' ),
'search_items' =>  __( 'Search Types','SkyDance' ),
'all_items' => __( 'All Category','SkyDance' ),
'parent_item' => __( 'Parent Category','SkyDance' ),
'parent_item_colon' => __( 'Parent Category:','SkyDance' ),
'edit_item' => __( 'Edit Categories','SkyDance' ),
'update_item' => __( 'Update Category','SkyDance' ),
'add_new_item' => __( 'Add New Category,'SkyDance' ),
'new_item_name' => __( 'New Category Name','SkyDance' ),

);


    register_taxonomy('category-cpt',array('cpt'), array(
'hierarchical' => true,
'labels' => $labels,
'show_ui' => true,
'query_var' => true,
'rewrite' => array( 'slug' => 'category-cpt' ),
 ));   

tech