()
| 236 | } |
| 237 | |
| 238 | public void computeFeatureVectors() { |
| 239 | List<Token> realTokens = getRealTokens(tokens); |
| 240 | |
| 241 | for (int i = ANALYSIS_START_TOKEN_INDEX; i<realTokens.size(); i++) { // can't process first token |
| 242 | int tokenIndexInStream = realTokens.get(i).getTokenIndex(); |
| 243 | computeFeatureVectorForToken(tokenIndexInStream); |
| 244 | } |
| 245 | } |
| 246 | |
| 247 | public void computeFeatureVectorForToken(int i) { |
| 248 | Token curToken = tokens.get(i); |
no test coverage detected