GithubHelp home page GithubHelp logo

Large portions of text body missing. about cermine HOT 3 OPEN

ceon avatar ceon commented on June 13, 2024
Large portions of text body missing.

from cermine.

Comments (3)

dtkaczyk avatar dtkaczyk commented on June 13, 2024

@pafnucy CERMINE indeed focuses on extracting metadata and references, and currently the default behaviour is to analyze a few first and a few last pages of the file. It would be possible to extract the entire text, but as the system currently stores the structure of the entire file in the memory while processing, there might be performance problems in the case of large files. And of course rewriting it so that the entire file is not kept in the memory is not trivial and would take time.

How are you using CERMINE: from your code, from command line using JAR file?

from cermine.

pafnucy avatar pafnucy commented on June 13, 2024

Using JAR

from cermine.

eichmann avatar eichmann commented on June 13, 2024

@pafnucy I too just ran into this issue, and after some digging, came up with this, which overrides the default "first 20 and last 20 page" configuration:

ComponentConfiguration config = new ComponentConfiguration();
ITextCharacterExtractor charExtractor = new ITextCharacterExtractor();
charExtractor.setPagesLimits(1000, 1000);
config.setCharacterExtractor(charExtractor);
    ContentExtractor extractor = new ContentExtractor();
    extractor.setConf(config);

from cermine.

Related Issues (20)

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.