public static void main(String[] args) {
		
		String context = " ";
		if (args.length > 0) { 
			for (String s : args) {
				context += s + " ";
			}
		} else { 
			context = SimpleNGramGenerator.DefaultContext;
		}
		
		NgramServiceFactory factory = NgramServiceFactory.newInstance(SimpleNGramGenerator.Key);
		GenerationService service = factory.newGenerationService();
		List<String> models = service.getModels();
		System.out.println(models);
		//I have used the 2013-12/5 model. Only returns 2 results - see http://weblm.research.microsoft.com/weblm/rest.svc/
		TokenSet tokenSet = service.generate(SimpleNGramGenerator.Key, "bing-body/2013-12/5", context, 5, null);
		System.out.println(tokenSet.getWords());
		List<Double> logProbs = tokenSet.getProbabilities();
		List<Double> probs = new ArrayList<Double>();
				
		System.out.println(logProbs);
		
		for (Double x : logProbs) {
			probs.add(Math.pow(10.0,x));
		}
		System.out.println(probs);
	}