Semantic MediaWiki and related extensions
Public Member Functions | List of all members
SMW\SQLStore\Lookup\PropertyLabelSimilarityLookup Class Reference

Public Member Functions

 __construct (Store $store, PropertySpecificationLookup $propertySpecificationLookup=null)
 
 setThreshold ($threshold)
 
 setExemptionProperty ($exemptionProperty)
 
 getExemptionProperty ()
 
 getLookupCount ()
 
 getPropertyMaxCount ()
 
 compareAndFindLabels (RequestOptions $requestOptions=null)
 

Detailed Description

GNU GPL v2+

Since
2.5
Author
mwjames

Constructor & Destructor Documentation

SMW\SQLStore\Lookup\PropertyLabelSimilarityLookup::__construct ( Store  $store,
PropertySpecificationLookup  $propertySpecificationLookup = null 
)
Since
2.5
Parameters
Store$store
PropertySpecificationLookup | null$propertySpecificationLookup

Member Function Documentation

SMW\SQLStore\Lookup\PropertyLabelSimilarityLookup::compareAndFindLabels ( RequestOptions  $requestOptions = null)
Since
2.5
Parameters
RequestOptions | null$requestOptions
Returns
array
SMW\SQLStore\Lookup\PropertyLabelSimilarityLookup::getExemptionProperty ( )
Since
2.5
Returns
DIProperty|null
SMW\SQLStore\Lookup\PropertyLabelSimilarityLookup::getLookupCount ( )
Since
2.5
Returns
integer
SMW\SQLStore\Lookup\PropertyLabelSimilarityLookup::getPropertyMaxCount ( )
Since
3.0
Returns
integer
SMW\SQLStore\Lookup\PropertyLabelSimilarityLookup::setExemptionProperty (   $exemptionProperty)
Note
A property that when annotated as part of a property specification will be used as exemption marker during the similarity comparison.
Since
2.5
Parameters
string$exemptionProperty
SMW\SQLStore\Lookup\PropertyLabelSimilarityLookup::setThreshold (   $threshold)
Since
2.5
Parameters
integer$threshold
Returns
boolean

The documentation for this class was generated from the following file: