Is there an explanation or documentation for OptaPlanner .ctt file codes? - optaplanner

In particular, I am trying to customize a .ctt file from the Curriculum Course Scheduling example file to fit my own school's timetable scenario. I could not find any documentation on customizing a .ctt file for import. If you advise another approach, I welcome alternatives. I appreciate any guidance as I am approaching the tool with minimal Java experience. Many thanks!

The ctt format description is in the PDF you can download from the ITC2007 website.

Related

How to make web apps to read and analyze pdf file?

I have a project from my lecture to create a web apps to read and analyze a pdf file based on keywords. What kind of programming language that I can use?
Example : I need to find or check some keywords or data on the pdf file. If the keyword or data is exist and available, the result is true.
I usually work in javascript so could answer you in that, I had a great help from the below conversation, it might be a good help for you too.
extract text from pdf in Javascript

How to generate a sentiment report?

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.

Webkit-sharp example applications

Could anybody suggest a good open source (as in I can see the source, license irrelevant) webkit-sharp-based application? I've been wanting to jump into development with webkit-sharp and gtk-sharp, but I haven't found much of any documentation on webkit-sharp. I thought a good application example is as good as any documentation.
For anybody else that has this issue, a good application I just found is the sample app included with the source. For anybody answering, I didn't think about checking the source for samples when I posted this. The name of the sample is called FunnyBrowser.cs.
Here's mine:
https://github.com/dmulder/owa_browse
There don't seem to be many examples around of anyone using this. I've been looking through the docs at http://webkitgtk.org/reference/webkitgtk/stable to figure it out.

Haskell: parsing PDF

What I need is to read pdf, make some transformations (generate TOC bookmarks) and write it back.
I found this http://hackage.haskell.org/package/HPDF , but it only mentions generating pdf, not the parsing (although I could have missed it)
Haskell is chosen purely for (self)educational purposes.
There are a few tools for PDF manipulation, though they seem to bias towards generation, rather than parsing:
http://johnmacfarlane.net/pandoc/
Pandoc is a great cross-markup library, but doesn't support PDF parsing (it does support PDF generation from a variety of formats).
There's also:
http://hackage.haskell.org/package/HsHaruPDF
http://hackage.haskell.org/package/pdf2line -- tool for extracting text from pdf
http://hackage.haskell.org/package/HPDF -- another pdf generation library
I'm not sure we have a good parsing tool yet.
Also as a learning exercise, I started a PDF parsing library in Haskell, but it's incomplete and has been languishing a bit from lack of attention. I'd be happy to share it with you, and would love feedback, improvements, etc. It's not currently hosted on hackage, but if you're interested in working with an incomplete implementation, let me know and I'll ask some colleagues for advice on getting it up there.
Here's a haskell binding to parts of xpdf:
http://hackage.haskell.org/package/pdf2line
Checkout pdf-toolbox library. It's support for PDF file generating is low level, but powerful enough for your task.
Here is an example how to change title of an existing PDF file using incremental update feature.
Another package to consider is rakhana which is also on hackage.

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.