Skip to content

Instantly share code, notes, and snippets.

@Yuktha-Majella
Last active October 21, 2021 21:45
Show Gist options
  • Save Yuktha-Majella/29137dcb91a220d07b5a66af66f71802 to your computer and use it in GitHub Desktop.
Save Yuktha-Majella/29137dcb91a220d07b5a66af66f71802 to your computer and use it in GitHub Desktop.
Predicting the topic for an unseen document using LDA
test_article = "wipro beats forecasts once again wipro india s thirdbiggest software firm has reported a 60 percent rise in profit topping market expectations net income in the last quarter was 43bn rupees dollar 98m 52m against 27bn a year earlier profit had been forecast to be 41bn rupees wipro offers services such as call centres to foreign clients and has worked for more than half of the companies on the fortune 500 list wipro said demand was strong allowing it to increase the prices it charged on the face of it the results don t look very exciting said apurva shah an analyst at askraymond james but the guidance is positive and pricing going up is good news thirdquarter sales rose 34 percent to 209bn rupees one problem identified by wipro was the high turnover of its staff it said that 90 percent of employees at its business process outsourcing operations had had to be replaced we have to get that under control said vicechairman vivek paul wipro is majority owned by india s richest man azim premji"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment