Revision 58

Date:
2010/11/17 08:06:09
Author:
gdshaw@RISCID.ORG
Revision Log:
Added support for recognising numeric ordinals.
Files:

Legend:

 
Added
 
Removed
 
Modified
  • trunk/parser/fragtable.cc

     
    37 37 {
    38 38 tags(i,1)|=tag("card");
    39 39 }
    40 else if (j!=0)
    41 {
    42 std::string suffix=token.substr(j);
    43 if (dict.find(suffix).find(tag("ordsuf")))
    44 {
    45 tags(i,1)|=tag("ord");
    46 }
    47 }
    40 48 }
    41 49 }
    42 50 _tokens=tokens;