Re: [Simple] Presence dictionary -06 sumitted

Miguel Garcia <Miguel.Garcia@nsn.com> Thu, 02 August 2007 19:36 UTC

Return-path: <simple-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1IGgTD-0005ZG-FQ; Thu, 02 Aug 2007 15:36:27 -0400
Received: from simple by megatron.ietf.org with local (Exim 4.43) id 1IGgTC-0005ZA-Py for simple-confirm+ok@megatron.ietf.org; Thu, 02 Aug 2007 15:36:26 -0400
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1IGgTC-0005Z2-1q for simple@ietf.org; Thu, 02 Aug 2007 15:36:26 -0400
Received: from smtp.nokia.com ([131.228.20.172] helo=mgw-ext13.nokia.com) by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1IGgTB-0001K4-Bi for simple@ietf.org; Thu, 02 Aug 2007 15:36:25 -0400
Received: from esebh108.NOE.Nokia.com (esebh108.ntc.nokia.com [172.21.143.145]) by mgw-ext13.nokia.com (Switch-3.2.5/Switch-3.2.5) with ESMTP id l72JaH1Z011933; Thu, 2 Aug 2007 22:36:22 +0300
Received: from esebh103.NOE.Nokia.com ([172.21.143.33]) by esebh108.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 2 Aug 2007 22:36:17 +0300
Received: from esebh101.NOE.Nokia.com ([172.21.138.177]) by esebh103.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 2 Aug 2007 22:36:16 +0300
Received: from [10.162.86.141] ([10.162.86.141]) by esebh101.NOE.Nokia.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.1830); Thu, 2 Aug 2007 22:36:16 +0300
Message-ID: <46B23230.3080609@nsn.com>
Date: Thu, 02 Aug 2007 22:36:16 +0300
From: Miguel Garcia <Miguel.Garcia@nsn.com>
User-Agent: Thunderbird 1.5.0.12 (Windows/20070509)
MIME-Version: 1.0
To: "Jin, Haipeng" <haipengj@qualcomm.com>
Subject: Re: [Simple] Presence dictionary -06 sumitted
References: <46B19967.7010807@nsn.com> <C2E0B39A89E6BE4FAFA874758D621CF4013C7F32@NAEX15.na.qualcomm.com>
In-Reply-To: <C2E0B39A89E6BE4FAFA874758D621CF4013C7F32@NAEX15.na.qualcomm.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 02 Aug 2007 19:36:16.0753 (UTC) FILETIME=[64B29E10:01C7D53C]
X-Nokia-AV: Clean
X-Spam-Score: 0.0 (/)
X-Scan-Signature: fb6060cb60c0cea16e3f7219e40a0a81
Cc: SIMPLE mailing list <simple@ietf.org>
X-BeenThere: simple@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: SIP for Instant Messaging and Presence Leveraging Extensions <simple.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/simple>, <mailto:simple-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/simple>
List-Post: <mailto:simple@ietf.org>
List-Help: <mailto:simple-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/simple>, <mailto:simple-request@ietf.org?subject=subscribe>
Errors-To: simple-bounces@ietf.org

Haipeng,

Yes, these strings have an allocated priority of 5 and ideally should be 
  located towards the top of the dictionary. But they are embedded with 
the priority 1 strings.

This might be cause due to either :
a) The algorithm is optimizing the strings and perhaps they are merged 
with other strings, which happen to have priority 1;

For example, "hospital" is merged with "lang" to form "hospitalang". 
Notice that "lang" is allocated priority 1, so the result is promoted to 
priority 1.

But I don't have an excuse for "sick"

b) An error in the script that generates the dictionary.

I need to investigate this a bit more...

/Miguel

Jin, Haipeng wrote:
> Hi, Miguel,
> 
> I am looking at the binary representation of the dictionary. Near
> address location 0950 (toward the end of the string subset), terms such
> as "sick", "hospital" are included. But my understanding is that these
> are low priority strings and should appear toward the beginning of the
> string subset. Is this an oversight, or is it intentional?
> 
> Thanks,
> Haipeng
> 
> -----Original Message-----
> From: Miguel Garcia [mailto:Miguel.Garcia@nsn.com] 
> Sent: Thursday, August 02, 2007 1:44 AM
> To: SIMPLE mailing list
> Subject: [Simple] Presence dictionary -06 sumitted
> 
> As I indicated verbally during the SIMPLE meeting in Chicago, I found an
> 
> error in the presence dictionary. I have now fixed it and I have just 
> submitted version -06.
> 
> While this becomes generally available, you can fetch a copy from:
> 
> http://people.nokia.net/~miguel/drafts/draft-garcia-simple-presence-dict
> ionary-06.txt
> http://people.nokia.net/~miguel/drafts/draft-garcia-simple-presence-dict
> ionary-06.html
> 
> Changes in this version are:
> - There was something weird with the string "country", which apparently 
> was part of the actual dictionary but didn't get an address in the 
> Appendix A.
> - In the Appendix A there were 4 or 5 duplicated strings. Although this 
> is not an error into the actual dictionary, I fixed the duplicated
> entries.
> 
> Due to this, the dictionary itself changed: state_identifier, length, 
> addresses of strings, etc. If you want to check track changes list, the 
> draft is available at:
> 
> http://people.nokia.net/~miguel/drafts/draft-garcia-simple-presence-dict
> ionary-06-from-5.html
> 
> /Miguel

-- 
Miguel A. Garcia           tel:+358-50-4804586
Nokia Siemens Networks     Espoo, Finland



_______________________________________________
Simple mailing list
Simple@ietf.org
https://www1.ietf.org/mailman/listinfo/simple