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

◆ __construct()

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

Member Function Documentation

◆ compareAndFindLabels()

SMW\SQLStore\Lookup\PropertyLabelSimilarityLookup::compareAndFindLabels ( RequestOptions  $requestOptions = null)
Since
2.5
Parameters
RequestOptions | null$requestOptions
Returns
array

◆ getExemptionProperty()

SMW\SQLStore\Lookup\PropertyLabelSimilarityLookup::getExemptionProperty ( )
Since
2.5
Returns
DIProperty|null

◆ getLookupCount()

SMW\SQLStore\Lookup\PropertyLabelSimilarityLookup::getLookupCount ( )
Since
2.5
Returns
integer

◆ getPropertyMaxCount()

SMW\SQLStore\Lookup\PropertyLabelSimilarityLookup::getPropertyMaxCount ( )
Since
3.0
Returns
integer

◆ setExemptionProperty()

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

◆ setThreshold()

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:

About | General disclaimer | Privacy policy