Page 1 of 1

CLS Conversion

Posted: Thu Apr 24, 2008 12:23 pm
by mdemerick@dow.com
I created a rule set for standardizing weights into the ISO standard. However, my output shows that it sometimes doesn't convert it.

An entry in my CLS files is as follows:

IN INH T

The way I understand it, if it sees IN, it converts it to INH and gives it type T, which can be referred to in the PAT file. It is also my understanding that the CLS file is automatically run before entering the PAT file.

I also have a conversion table that is similar to the CLS table. The entries are similar to that above, but without the type, since that is entered in the PAT file when using CONVERT_R.

Is my understanding correct? Am I making some elementary mistake?

Posted: Wed Apr 30, 2008 9:03 pm
by jhmckeever
However, my output shows that it sometimes doesn't convert it.
Is there any pattern to the 'sometimes' when the conversion doesn't happen?

What have you determined from trying example data through your rules using the Rules Analyzer?

Do you have any other entries in your CLS file involving the classification of the token 'IN'?

J.

Posted: Thu May 01, 2008 7:06 am
by mdemerick@dow.com
I fixed the problem by running an explicit conversion every time. If I didn't, then the CLS file aparently didn't do anything.

Posted: Fri May 23, 2008 8:27 am
by vairus
could you send me the data which doesnot get converted or its general pattern.

send me the output field name in dictionary too