How to generate a sentiment report? - pdf

I have a web application (Java application) that does twitter sentiment analysis. Now my question would be, how can i generate a report that can print sentiment of a particular time? (It can be a pdf or a word)
I wasn't really sure of how to proceed. Please kindly advice.
What i have tried:
I was looking at: https://code.google.com/p/xdocreport/
and JasperReports (Although this seems promising, I still haven't found a way to make this work)
Please advice.
Thanks!

You haven't indicated what are the main problems you have run into with your Jasper and xdocreport. You might also like to say what your sentiment print will include so that readers can advise on technologies. Docmosis provides a Java or cloud solution which works from document templates and may be a simpler approach for your application. Please note I work for the company that created Docmosis.

Related

Serenity: How to differentiate the reports based on the platform used?

We are using serenity reports for both platforms to run automation scripts but not sure how to differentiate the features or scenarios in the reports to say which platform is belonged to. I have used tags still no use as those tags are shown for both platforms. Could someone suggest or help me to solve this issue would be a great favour please?
Serenity Version used: 2.0.30
Attached screenshot of a report
Thanks in Advance
Vamc
I think you're looking for a context property or/and tag injection feature. It's nicely described on authors blog here https://johnfergusonsmart.com/running-tests-different-environments-browsers-serenity-bdd/.

what is swagger exactly ? And why doesn't the online editor run requests?

I've spent the last few days trying to understand if I should use api blueprint, RAML or swagger.
It looks like swagger has the biggest community but the closer I look the more I feel that it greatly lacks in documentation (I was forced to look at the code many times to try and integrate it with my current project), many github issues and stackoverflow questions are unanswered.
Is it possible that I am missing something here?
All I want is a tool to help me write the API documentation and test the endpoints.
Why must swagger become part of the server logic?? If I create swagger files in the editor and then serve them to the UI directly it breaks..
As far as I can tell it even makes the server slightly slower and forces the existence of many clumsily maintained integrations :p What am I missing here?
We're trying to work a lot on improving the documentation of Swagger. It's a bit more difficult when many of the projects are community-driven and not managed by a single organization.
We actually try to reply to issues on github quickly (we don't always succeed) and we have our own google group for general questions so we follow stackoverflow somewhat less.
The editor you mention is a new tool as part of the work on Swagger 2.0 and it's not final yet. As such, it still have a few bugs and missing features. The UI is also in the process of being adapted to Swagger 2.0 and the same limitations apply to it.
You most certainly don't have to integrate it with your server and you can expose the documentation statically. The advantage of integrating it with the server is that it's easier to maintain if the API changes.
You can try RAML + ramlev + Abao
The steps should be
Write API Spec in RAML with your fav editor, ie. Atom, vim
Validate your RAML with ramlev
Implement the server logic according API Spec
Validate server logic with Abao

How does Safari's reader feature work?

I want to add a similar feature to a tool I'm making. I'm interested in how it works code-wise. I want to be able get an html page and exclude all but the article.
The Readability project does something similar for chrome and iOS. I'm not sure how it detects the content automatically but I know that Readability has an API for people who want to integrate it's features. You might want to check that out.
http://www.readability.com/learn-more
If you're working with Ruby, you could use Pismo. It extracts an article from a given document.

Document creation libraries and formats?

I am going to start my final project for spring semester at school and looking at feasibility before I put my leg in it. One of my potential projects requires me to make an archiveable document of web sessions. These archives should be searchable (and if possible with pretty design). PDF and Open Document formats are in mind for now. Is there any thing else I can look into besides these ? I want to make sure that I pick the right plan before my school starts so that I can be confident about it. I have to use C#.NET for this.
Any suggestions are welcome.
Regards,
Lalith
If you want to convert logs into PDF, You can use Third Party Libraries. There are plenty of c# .NET VCL are present. Like,
iTextSharp(Not free for Commercial use)
Report.NET(free,No Support)
PdfSharp(free,No Support Yet)
Gnostice PDFOne .NET(Non Free,With full help,support)
But if you want to create PDF using c# yourself, it is a pretty hard work since PDF uses PostScript which may be very new and complex to you. First Study the format you are going to use and make sure you can implement it. I would suggest to stick with PDF since its platform,editor independent.
http://www.gnupdf.org/Category:PDF

A technology for reading pdfs online with annotations?

is there an open source solution that displays PDFs for online reading? It has to be searchable much like google books and if possible has the ability to display annotations?
By "online reading" I'll assume you mean without a PDF reader plugin on the client. In that case you'll need to convert to HTML
http://pdftohtml.sourceforge.net/
If you don't mind losing the ability to copy text then converting to PNG may give you a more accurate rendering
http://www.imagemagick.org/
Regardless of the output format you can manage your searching using the original PDF data. One technology for this is mnogosearch
http://www.mnogosearch.org/
Monogosearch uses pdftotext internally, you may find this useful if you want to write your own search routines. pdftotext is part of the Xpdf suite of utilities
http://www.foolabs.com/xpdf/about.html
All of the tools listed above are available on Windows or Linux
You may also be interested in the Vuzit DocuPub Platform: http://vuzit.com/products/docupub_platform
The display technology itself is not open source, but they provide an API to access their service, so perhaps it is worth investigating.
Don't know if you are looking a software to install or some service to pay for...
I've read a lot about www.getbackboard.com (this is not advertising, only reporting something I've read about, that maybe fits your needs.. ;)
Not sure if they do annotations, but both of these will show PDFs quite well:
http://pdfmenot.com
http://docs.google.com
ICEPdf recently released their code as open source. It is Java based.
PyPdf is really nice. It supports reading the text as well as encryption which I know that itextsharp does not.
Of course you'd have to program in python as IronPython's class libraries aren't quite to the point where you can ref them from another language and use them. (But I imagine they will be someday soon)
PyPdf
This is not open source, but check it out anyways. You can download a free trial of their SDK to try it out. Reading PDF's and their annotations is not simple and I wouldn't trust a production app to open source decoders.
Here is an online demo.
http://www.atalasoft.com/ajaxannotations/default.aspx
Another good pdf reader is FoxitReader.