MatchUp Object:Matchcode:Properties: Difference between revisions

From Melissa Data Wiki
Jump to navigation Jump to search
Created page with "{{MatchUpObjectMatchcodeInterfaceNav |FunctionsCollapse= }} {{CustomTOC}} These functions help with defining various Matchcode properties. ==GetDescription== This function ..."
 
No edit summary
 
Line 13: Line 13:
|Syntax=StringValue =mdMC->GetDescription()
|Syntax=StringValue =mdMC->GetDescription()
|C=StringValue = mdMUMatchcodeGetDescription(mdMUMatchcode)
|C=StringValue = mdMUMatchcodeGetDescription(mdMUMatchcode)
|.Net=StringValue = mdMC.Description
|.Net=StringValue = mdMC.GetDescription
}}
}}


Line 25: Line 25:
|Syntax=mdMC->SetDescription(StringValue)
|Syntax=mdMC->SetDescription(StringValue)
|C=mdMUMatchcodeSetDescription(mdMUMatchcode, StringValue)
|C=mdMUMatchcodeSetDescription(mdMUMatchcode, StringValue)
|.Net=mdMC.Description = StringValue
|.Net=mdMC.SetDescription = StringValue
}}
}}


Line 37: Line 37:
|Syntax=integer = mdMC->GetNGram()
|Syntax=integer = mdMC->GetNGram()
|C=integer = mdMUMatchcodeGetNGram(mdMUMatchcode)
|C=integer = mdMUMatchcodeGetNGram(mdMUMatchcode)
|.Net=integer = mdMC.NGram
|.Net=integer = mdMC.GetNGram
}}
}}


Line 49: Line 49:
|Syntax=mdMC->SetNGram(integer)
|Syntax=mdMC->SetNGram(integer)
|C=mdMUMatchcodeSetNGram(mdMUMatchcode, integer)
|C=mdMUMatchcodeSetNGram(mdMUMatchcode, integer)
|.Net=mdMC.NGram = integer
|.Net=mdMC.SetNGram = integer
}}
}}




[[Category:MatchUp Object]]
[[Category:MatchUp Object]]

Latest revision as of 18:51, 7 August 2015

← MatchUp Object Reference

MatchUp Object Matchcode Interface Navigation
Overview
Order of Operations
Mapping Information
Functions
Initialization
Creation
Retrieval
Properties
Component Information
Mapping
Change Settings
Read Settings
Modification
Saving



These functions help with defining various Matchcode properties.

GetDescription

This function retrieves a matchcode’s user-specified description associated with this matchcode.

Syntax StringValue =mdMC->GetDescription()
C StringValue = mdMUMatchcodeGetDescription(mdMUMatchcode)
.Net StringValue = mdMC.GetDescription


SetDescription

This function allows you to assign a description to the matchcode.

For example, it may describe what the matchcode evaluates or the type of process the matchcode is used in. When viewing the matchcode in the matchcode editor, the description will be present along with the actual properties of the matchcode.

Syntax mdMC->SetDescription(StringValue)
C mdMUMatchcodeSetDescription(mdMUMatchcode, StringValue)
.Net mdMC.SetDescription = StringValue


GetNGram

This function retrieves a matchcode’s N-gram setting.

Since a matchcode may contain multiple components each using a different fuzzy algorithm, many of which require an N-gram setting, the N-gram setting is applied to all relevant components. In other words, the N-gram is set at the matchcode level, not the component level.

Syntax integer = mdMC->GetNGram()
C integer = mdMUMatchcodeGetNGram(mdMUMatchcode)
.Net integer = mdMC.GetNGram


SetNGram

Sets a matchcode’s N-gram setting.

Since a matchcode may contain multiple components each using a different fuzzy algorithm, many of which require an N-gram setting, the N-gram setting is applied to all relevant components. In other words, the N-gram is set at the matchcode level, not the component level.

Syntax mdMC->SetNGram(integer)
C mdMUMatchcodeSetNGram(mdMUMatchcode, integer)
.Net mdMC.SetNGram = integer