Coder Social home page Coder Social logo

mia-scala-examples's Introduction

mia-scala-examples

com/mycompany/mia/{cf, classify, cluster, preprocess}: Mahout Examples in Scala.

com/mycompany/mia/fpg: Mahout FP-Growth pre and post processor.

com/mycompany/weka/medorleg2: A genre detection classification problem solved using Weka's LibLINEAR algorithm.

com/mycompany/weka/autotagger: Autotagger (doesn't strictly belong in this package, at least not yet).

com/mycompany/mia/recsys: Scala versions of recommenders built during Coursera's Intro to Recommendation Systems course (except SVD).

mia-scala-examples's People

Stargazers

 avatar  avatar  avatar  avatar  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  avatar  avatar  avatar  avatar  avatar

mia-scala-examples's Issues

org.apache.poi.poifs.filesystem.OfficeXmlFileException

Hi,
Thank you for an amazing program. It works perfectly for extracting text from PDF file but its throwing an error on ".doc" and on " .docx" files
complete error :
Parsing file: 0509a3e512fc.DOCX
Exception in thread "main" org.apache.poi.poifs.filesystem.OfficeXmlFileException: The supplied data appears to be in the Office 2007+ XML. You are calling the part of POI that deals with OLE2 Office Documents. You need to call a different part of POI to process this data (eg XSSF instead of HSSF)
at org.apache.poi.poifs.storage.HeaderBlock.(HeaderBlock.java:152)
at org.apache.poi.poifs.storage.HeaderBlock.(HeaderBlock.java:140)
at org.apache.poi.poifs.filesystem.NPOIFSFileSystem.(NPOIFSFileSystem.java:302)
at org.apache.tika.parser.microsoft.OfficeParser.parse(OfficeParser.java:111)
at TextExtractor.extract(TextExtractor.scala:71)
at TextExtractor$$anonfun$extract$1.apply(TextExtractor.scala:120)
at TextExtractor$$anonfun$extract$1.apply(TextExtractor.scala:118)
at scala.collection.Iterator$class.foreach(Iterator.scala:893)
at scala.collection.AbstractIterator.foreach(Iterator.scala:1336)
at TextExtractor.extract(TextExtractor.scala:118)
at TextExtractor.extractDirToFiles(TextExtractor.scala:138)
at TextExtractor$.delayedEndpoint$TextExtractor$1(TextExtractor.scala:28)
at TextExtractor$delayedInit$body.apply(TextExtractor.scala:24)
at scala.Function0$class.apply$mcV$sp(Function0.scala:34)
at scala.runtime.AbstractFunction0.apply$mcV$sp(AbstractFunction0.scala:12)
at scala.App$$anonfun$main$1.apply(App.scala:76)
at scala.App$$anonfun$main$1.apply(App.scala:76)
at scala.collection.immutable.List.foreach(List.scala:381)
at scala.collection.generic.TraversableForwarder$class.foreach(TraversableForwarder.scala:35)
at scala.App$class.main(App.scala:76)
at TextExtractor$.main(TextExtractor.scala:24)
at TextExtractor.main(TextExtractor.scala)

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.