Свойство | Type | Description | |
---|---|---|---|
$_citationOutputFilter | Nlm30CitationSchemaCitationOutputFormatFilter | ||
$_originalDescription | the original unfiltered description required for scoring | ||
$_originalRawCitation | the original plain text citation required for scoring |
Méthode | Description | |
---|---|---|
__construct ( ) | Constructor | |
_filterConfidenceScore ( &$metadataDescription ) : integer | Derive a confidence score calculated as the similarity of the original raw citation and the citation text generated from the citation description. | |
_guessValues ( &$scoredCitations, $scoreThreshold ) : Citation | Take an array of citation parse/lookup results and derive a citation with one "best" set of values. | |
getCitationOutputFilter ( ) : Nlm30CitationSchemaCitationOutputFormatFilter | Get the citation output filter | |
getOriginalDescription ( ) : MetadataDescription | Get the original citation description | |
getOriginalRawCitation ( ) : string | Get the original raw citation | |
process ( &$input ) : Citation | ||
setCitationOutputFilter ( &$citationOutputFilter ) | Set the citation output filter | |
setOriginalDescription ( &$originalDescription ) | Set the original citation description | |
setOriginalRawCitation ( $originalRawCitation ) | Set the original raw citation |
public _filterConfidenceScore ( &$metadataDescription ) : integer | ||
$metadataDescription | MetadataDescription | |
Résultat | integer | filter confidence score |
public _guessValues ( &$scoredCitations, $scoreThreshold ) : Citation | ||
$scoredCitations | ||
$scoreThreshold | integer a number between 0 (=no threshold) and 100 | |
Résultat | Citation | one citation with the "best" values set |
public getCitationOutputFilter ( ) : Nlm30CitationSchemaCitationOutputFormatFilter | ||
Résultat | Nlm30CitationSchemaCitationOutputFormatFilter |
public getOriginalDescription ( ) : MetadataDescription | ||
Résultat | MetadataDescription |
public getOriginalRawCitation ( ) : string | ||
Résultat | string |
public process ( &$input ) : Citation | ||
$input | array incoming MetadataDescriptions | |
Résultat | Citation |
public setCitationOutputFilter ( &$citationOutputFilter ) | ||
$citationOutputFilter | Nlm30CitationSchemaCitationOutputFormatFilter |
public setOriginalDescription ( &$originalDescription ) | ||
$originalDescription | MetadataDescription |
public setOriginalRawCitation ( $originalRawCitation ) | ||
$originalRawCitation | string |
public Nlm30CitationSchemaCitationOutputFormatFilter $_citationOutputFilter | ||
Résultat | Nlm30CitationSchemaCitationOutputFormatFilter |
public $_originalDescription |