Coder Social home page Coder Social logo

paper-naive-generator's Introduction

bullshit-paper

Run

You have to have maven and git. Simply clone:

git clone https://github.com/neojski/bullshit-paper

Then you can use just maven stuff to install dependencies:

mvn package

It also runs tests. In case you're changing something tests can be fired with mvn test. (use -Dtest=bullshit_paper.NameOfTest to run single test)

To make JavaFX work you need to have the latest version of Java and add jfxrt.jar to the local maven repository:

mvn install:install-file -Dfile="C:\Program Files\Java\jre7\lib\jfxrt.jar" -DgroupId=com.oracle -DartifactId=javafx -Dversion=2.2.45 -Dpackaging=jar

Dict

To use the Dict class you have to download the dictionary from sjp and then convert it to utf8:

iconv -f WINDOWS-1250 -t utf-8 odm.txt > odm

It is necessary to have this file in unix endlines format. You can get help on this here

Once you're done just throw it into the resources directory for dictionary (/bullshit-paper/src/main/resources/dict)

paper-naive-generator's People

Contributors

lina2002 avatar marcinadam avatar neojski avatar

Watchers

 avatar  avatar

Forkers

lina2002 zlenyk

paper-naive-generator's Issues

Refactor PudelekArticleSource

I started the refactor of ArticleSource into ArticleProvider (implementing getDocuments) and ArticleParser (implementing parseDocument). Do the same with Pudelek stuff.

After implementing this we should change the IArticleSource and split them into IArticleProvider and IArticleParser. (and add that OnetArticle{Provider,Parser} implement it)

Now it's easy to test ArticleParser (see OnetArticleParserTest). Currently we have 9 tests (I removed @test annotation from PDFRendererTest which wasn't really a unit test)

Tagi

Mozliwosc wyszukiwania wiadomosci po tagach: np wpisanie "smolensk" daje nam wiadomosci o smolensku.

Poprawienie miksera

Żeby był bardziej gramatyczny, np.:

Dawno temu... Oraz zdanie ze skrótem, np. żeby tutaj nie splitował.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.