EBI::FGPT::FuzzyRecogniser
The module EBI::FGPT::FuzzyRecogniser takes in the constructor an ontology file (OWL/OBO/OMIM/MeSH) and parses it into an internal table of ontology terms (type of EBI::FGPT::FuzzyRecogniser::OntologyTerm). The module contains the find_match method which finds the best match for the supplied term in the given ontology. This can be then queried for ->match_similarity(), ->matched_value(), ->matched_label(), and ->matched_accession(). The best match is based on the n-grams similarity metric.
use EBI::FGPT::FuzzyRecogniser; # instantiate and pass ontology file my $fuzzy = EBI::FGPT::FuzzyRecogniser->new( obofile => 'obo.txt' ); # call find_match on a supplied term # finds the best match for the supplied term in the ontology. my $x = $fuzzy->find_match('submitter');
Emma Hastings , <ehastings@cpan.org>
Tomasz Adamusiak <tomasz@cpan.org>
Copyright (c) 2010 European Bioinformatics Institute. All Rights Reserved.
This module is free software; you can redistribute it and/or modify it under GPLv3.
This software is provided "as is" without warranty of any kind.
Finds the best match for the supplied term in the ontology.
Creates an OntologyTerm object given its accession and annotations
Custom MeSH parser for the MeSH ASCII format.
Custom OMIM parser.
Custom OBO parser.
Custom OWL parser.
1 POD Error
The following errors were encountered while parsing the POD:
=over without closing =back
To install EBI::FGPT::FuzzyRecogniser, copy and paste the appropriate command in to your terminal.
cpanm
cpanm EBI::FGPT::FuzzyRecogniser
CPAN shell
perl -MCPAN -e shell install EBI::FGPT::FuzzyRecogniser
For more information on module installation, please visit the detailed CPAN module installation guide.