[NGRAMS] refactoring some routes and adding POST for new ngrams

parent a7ed762a
Pipeline #393 failed with stage