         guard
         
             let wordId:String = jsonMap?[kKeyWordId] as? String,
-            let word:String = jsonMap?[kKeyWord] as? String
+            let word:String = jsonMap?[kKeyWord] as? String,
+            let matchType:String = jsonMap?[kKeyMathType] as? String
         
         else
         {

        self.region = jsonMap?[kKeyRegion] as? String
        self.wordId = wordId
        self.word = word
        
        attributedString = NSAttributedString(
            string:word,


class RModelHomeSearchResult
{
    private(set) var wordId:String
    let attributedString:NSAttributedString
    let cellWidth:CGFloat
    let word:String
    let matchType:String
    let region:String?
    private let kKeyWord:String = "word"
    private let kKeyWordId:String = "id"
    private let kKeyRegion:String = "region"
    private let kKeyMathType:String = "matchType"
    private let kNormalised:String = "normalised"
    private let kReplaceA:String = "á"
    private let kReplaceE:String = "é"
    private let kReplaceI:String = "í"
    private let kReplaceO:String = "ó"
    private let kReplaceU:String = "ú"
    private let kNormalA:String = "a"
    private let kNormalE:String = "e"
    private let kNormalI:String = "i"
    private let kNormalO:String = "o"
    private let kNormalU:String = "u"
    private let kEmpty:String = ""
    private let kCellMargin:CGFloat = 35
    
