1. A method for recognising music symbols based on handwritten music notations on computing devices, each computing device comprising a processor and at least one non-transitory computer readable medium for recognizing handwriting input under control of the processor, the method comprising: segmenting the handwritten music notations into a plurality of ink segments; determining at least one music symbol candidate for graphical objects representing groupings of the ink segments based on spatial relationships therebetween, the at least one music symbol candidate having an associated symbol cost; forming one or more graphs including the at least one music symbol candidate and one or more grammar rules applied to the at least one music symbol candidate, each grammar rule applied to at least two music symbol candidates having an associated spatial cost based on the spatial relationships between the graphical objects of the at least two music symbol candidates; and selecting at least one graph of the one or more graphs as representing the handwritten music notations based on the symbol costs and the spatial costs associated with the one or more graphs.