Code Monkey home page Code Monkey logo

dbpedia's People

Contributors

pex avatar rushilagr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

dbpedia's Issues

Escape chars

Hello! I'm having a small problem using dbpedia gem. A snippet like that:

@bio = Dbpedia.search(@author.full_name).collect(&:description)

Should download biography of an author. It does, but it looks like this:

["\n Adam Bernard Mickiewicz) was a Polish poet, publicist and political writer. A prime representative of the Polish Romantic period, he is one of that country's Three Bards and the greatest poet in all Polish literature. He is also considered one of the greatest Slavic and European poets. He has been described as a "Slavic bard". He was a leading Romantic dramatist and has been compared in Poland and in western Europe to Byron and Goethe.\n ", "", "", "\n The Adam Mickiewicz Institute (Polish: Instytut Adama Mickiewicza) is a government-sponsored organization funded by the Ministry of Culture and National Heritage of Poland. Its goal is to promote Polish language and Polish culture abroad. It is based in Warsaw. The Institute operates a bilingual Polish-English portal called "culture. pl" created in 2001.\n ", "\n The Mickiewicz Battalion was a volunteer battalion of the International Brigades during the Spanish Civil War. It formed part of the XIII International Brigade from 27 October 1937 until 23 September 1938, when the International Brigades were disbanded. It was named after Adam Mickiewicz (1798โ€“1855), a Polish poet and patriot.\n "]

Many escape chars got in the way, and i don't know how to get rid of them. Also, is there any way to get localized data with this gem? Since pl.dbpedia is down, and international one has biopgraphies in Polish, I just dont know how to get to them. Any help would be appreciated.

Also kudos on this great little gem!

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.