XML::NewsML_G2::Concept - a concept covered in the news item, taken from a standardized controlled vocabulary
my $mt = XML::NewsML_G2::Media_Topic->new (name => 'alpine skiing', qcode => 20001057); my $facet = XML::NewsML_G2::Facet->new (name => 'alpine skiing slalom', qcode => 'aspfacetvalue:slalom-alpineskiing' ); my $concept = XML::NewsML_G2::Concept->new(main => $mt); $concept->add_facet($facet);
Hash mapping qcodes to XML::NewsML_G2::Facet instances
Add a new XML::NewsML_G2::Facet instance
Returns a generated unique id for this concept based on the qcodes of its main concept and its facets
Copyright (c) 2019, APA-IT. All rights reserved.
See XML::NewsML_G2 for the license.