Im sorry if this is a very newbie thing to ask, but how would one go about creating grammar file sentries so that numbers, both integer and floating point could be recognized with openCCG?

I can understand that you could have lexicon entries for all the digits and a decimal place and then have grammar rules to allow for any combination of numbers separated by a single decimal point, which the lexer could evaluate to a number. However, with openCCG it seems as if it is impossible to do this because it will only recognize 1523 as a single "word" made up of digits 1523. I can have lexicon entries as I stated above, however, I would have to have an entry for each and every number possible, which would mean an infinite number of lexicon entries. :)

So, is it possible to represent numbers in openCCG for recognition? If so, could you give me a point in the right direction for how it would be done?

Thank you so much!