3 ms·
Well, you probably sort-of can do that with open source projects that integrate version control and bug tracking. In these repositories you will find lots of co
by alextp 18y ago
Well, you probably sort-of can do that with open source projects that integrate version control and bug tracking. In these repositories you will find lots of commits names "Fixes #42".
The problem, I think, is that making a statistical n-gram model of a programming language doesn't look like it can produce encouraging results (think locally balanced-like, but globally unbalanced parenthesis, which should pop up often in ngrams for parentheses more than n tokens apart). The upper side is that you can get a tokenizer "for free" using the language's own grammar.
- jibiki 18y agoMaybe what you want is not a Markov model, but a stochastic context-free grammar: http://en.wikipedia.org/wiki/Stochastic_context-free_grammar http://en.wikipedia.org/wiki/Stochastic_context-free_grammar