Word Rule

Top  Previous  Next

 

Sometimes, soil scientists can only provide qualitative description, that is, they may use words  (such as  "convex". "linear", "concave" for curvature variables) to express their knowledge. Word rule is designed for this kind of knowledge.

 

Word rule contains a word and its corresponding word library. The word is descriptive, such as "convex". "linear", "concave" etc., while the word library is a pool of references, where every word has a curve associated with it. So when choosing a word, you can get a relationship curve from the word library.

 

To define a word rule, you need to firstly construct word library. A word library is recorded as a XML file. A typical word library file has a hierarchical structure. The first level is CurveLib, the second level is the environmental variable, and the third level is the description of the curve, including the word, key points number and coordinates of key points on the curve.

 

Here is a sample word library file:

<?xml version="1.0" encoding="UTF-8"?>

<CurveLib>

       <EnvAttri Name="Planform Curvature">

               <Curve>

                 <Name>gibbous</Name>

                 <NodeNum>4</NodeNum>

                 <Coordinates>-0.33 0.2,-0.2 0.4,-0.05 0.8,0.13 0.3</Coordinates>

               </Curve>

               <Curve>

                 <Name>linear</Name>

                 <NodeNum>5</NodeNum>

                 <Coordinates>-0.25 0.2,-0.1 0.4,0 0.5,0.05 0.8,0.15 0.9</Coordinates>

               </Curve>                

       </EnvAttri>

       <EnvAttri Name="Profile Curvature">

               <Curve>

                 <Name>linear</Name>

                 <NodeNum>6</NodeNum>

                 <Coordinates>-0.006 0.3,-0.003 0.5,0.001 0.7,0 0.8,0.002 0.9,0.003 0.3</Coordinates>

           </Curve>

           <Curve>

                 <Name>concave</Name>

                 <NodeNum>4</NodeNum>

                 <Coordinates>-0.004 0.2,-0.0005 0.4,0.001 0.8,0.005 0.3</Coordinates>

               </Curve>

       </EnvAttri>

</CurveLib>

 

When a word library is prepared in the format that SoLIM Solutions can support, you need to choose a word from the library to define the word rule, and then choose one linguistic term.