• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Tim Cooke
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Frank Carver
  • Henry Wong
  • Ron McLeod
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Himai Minh

why the ready tools are so fast?

 
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,
can somebody tell me why the ready tools are so fast? how they make their code so fast?
ok, let me explain more: I am trying to do some natural language processing on webpage texts. I am using OPEN NLP tool as base, and I add some small functions to it in order to improve. There is also some tools that do that, like Reverb, which is also built on the top of OPEN NLP. now, the interesting thing is that when I run my program; or only the basic part which is pure OPEN NLP, it takes longer than Reverb!!! Although Reverb is built on the top of OPEN NLP. So I am guessing they are doing something in Reverb to make every thing faster. I want to know what are those tricks? how can I make my code as fast as them?

Thanks!
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What are the "ready tools"?
 
Ranch Hand
Posts: 199
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Are you sure that Reverb uses parsing routines from OpenNLP and not from Guava?
 
sahar eb
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
well they say Reverb is built on the top of OPEN NLP; this snippet is copied from Reverb website:
"ReVerb uses the following code and data, which are included in the release:
OpenNLP, including trained models
Weka
Guava
Apache Commons
A subset of pages from Wikipedia"
So there, it even uses the models from OPENNLP(which take alot of time to load), but it is still faster than OPENNLP. back to my question, I know one way to increase the execution time is to convert the data into binary, and then run the process on binary data. But any other Idea other than this?

beside that I need it, I am really curious to know more about this.

Thanks!
 
These are the worst of times and these are the best of times. And this is the best tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic