How would you programmatically create taxonomy term? I wish to bulk create some in a custom module.
You'll want to use taxonomy_save_term. The array you pass in to taxonomy_save_term should look like this.
$term = array( 'name' => 'Taxonomy Term 1', 'vid' => 1, // The VID of the vocabulary this term should be saved under 'description' => 'A description of this term', // Not required 'weight' => 5, // Not required ); taxonomy_save_term($term);