pipeline/repdocs.py
def run(self):
        """The repdoc for a single paper consists of its title and abstract,
        concatenated with space between. The paper records are read from a csv
        file and written out as (paper_id, repdoc) pairs.
        """
        docs = self.read_paper_repdocs()
        rows = ((docid, doc.encode('utf-8')) for docid, doc in docs)
        util.write_csv_to_fwrapper(self.output(), ('paper_id', 'doc'), rows)
The repdoc for a single paper consists of its title and abstract,
        concatenated with space between. The paper records are read from a csv
        file and written out as (paper_id, repdoc) pairs.
        
The repdoc for a single paper consists of its title and abstract,
concatenated with space between. The paper records are read from a csv
file and written out as (paper_id, repdoc) pairs.
The repdoc for a single paper consists of its title and abstract concatenated with space between . The paper records are read from a csv file and written out as ( paper_id repdoc ) pairs .
def run(self):
        docs = self.read_paper_repdocs()
        rows = ((docid, doc.encode('utf-8')) for docid, doc in docs)
        util.write_csv_to_fwrapper(self.output(), ('paper_id', 'doc'), rows)
def run ( self ) : docs = self . read_paper_repdocs ( ) rows = ( ( docid , doc . encode ( 'utf-8' ) ) for docid , doc in docs ) util . write_csv_to_fwrapper ( self . output ( ) , ( 'paper_id' , 'doc' ) , rows )
The repdoc for a single paper consists of its title and abstract,
concatenated with space between.
The repdoc for a single paper consists of its title and abstract concatenated with space between .
"""The repdoc for a single paper consists of its title and abstract,
        concatenated with space between. The paper records are read from a csv
        file and written out as (paper_id, repdoc) pairs.
        """
self