MojoJolo / textteaser

TextTeaser is an automatic summarization algorithm.
MIT License
1.97k stars 251 forks source link

After running com.textteaser.summarizer.Main, where is the default URL? #25

Closed xiaoxu193 closed 10 years ago

xiaoxu193 commented 10 years ago

I'm running the scala app on EC2 server. What's the default URL for accessing the API? Suppose my domain is mydomain.com, do I just direct all POST to the mydomain.com?

Doesn't seem to be getting any response. My server tells me textteaser is running.

xiaoxu193 commented 10 years ago

Running com.textteaser.summarizer.Main 04:43:39.103 [run-main] INFO - Starting... 04:43:39.574 [run-main] INFO - App is now runnning. {"sentences":["Now that conventional thinking has been turned on its head in a paper by Prof Christof Wetterich at the University of Heidelberg in Germany.","The way these absorb and emit light would shift towards the blue part of the spectrum if atoms were to grow in mass, and to the red if they lost it.","Because the frequency or Ãpitchà of light increases with mass, Prof Wetterich argues that masses could have been lower long ago.","ÃI see no fault in [Prof WetterichÃs] mathematical treatment,à he says.","If we are lucky, they might even be as revolutionary as Edwin HubbleÃs, almost a century ago."]} 04:43:39.930 [run-main] INFO - Summarization completed. [success] Total time: 6 s, completed Nov 14, 2013 4:43:39 AM

vibhav commented 10 years ago

Make sure to send the request to the correct port. The default port, as found in Config.scala, is 27017.