Based on the API documentation, it seems that this FileLineIterable belongs to package org.apache.mahout.common.iterator
But how can I ensure to import this specific package, and where to download it at first? I already included mahout-core in the build path. Shouldn't that includes this specific package? Thanks. On Sun, Jul 10, 2011 at 9:55 PM, Dhruv Kumar <[email protected]> wrote: > import org.apache.mahout.common.iterator.FileLineIterable; > > In general, you should consult the API documentation of Mahout for the > correct packages to import. > > https://builds.apache.org//job/Mahout-Quality/javadoc/ > > > > > > On Sun, Jul 10, 2011 at 9:52 PM, edwin <[email protected]> wrote: > > > For debugging, you can probably hunt it down pretty quick in the source. > > perhaps package name needs "iterator" in the example code? > > > > cheers. > > > > On Jul 10, 2011, at 6:42 PM, surf reta wrote: > > > > > Dear All, > > > > > > I am trying to compile the examples in "Mahout in Action". For chapter > > 05, > > > there is a program named as "GenderRescorer.java". It includes the > > following > > > class as following: > > > > > > import org.apache.mahout.common.FileLineIterable; > > > > > > However, the Eclipse gives the following error message: > > > > > > The import org.apache.mahout.common.FileLineIterable cannot be resolved > > > > > > I have included mahout-core library in the path. What is the reason > cause > > > the above issue and how to fix it? > > > > >
