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
Christian Eder <christian.eder@apa.at>
<christian.eder@apa.at>
Copyright (c) 2019, APA-IT. All rights reserved.
See XML::NewsML_G2 for the license.
To install XML::NewsML_G2, copy and paste the appropriate command in to your terminal.
cpanm
cpanm XML::NewsML_G2
CPAN shell
perl -MCPAN -e shell install XML::NewsML_G2
For more information on module installation, please visit the detailed CPAN module installation guide.