News for hackers. Stuff that matters.
Re:Political Speech Generator by supportme on Wednesday January 27, 2016 @12:52PM (#10981579)
i suck. after installing nltk and sklearn, I get this:

$ python demo.py RY 0.25 [constructing dataset...] Traceback (most recent call last): File "demo.py", line 37, in <module> (dataset,vocab) = construct_dataset([TRAIN_DIR,TEST_DIR,DEV_DIR]) File "/Users/asdf/workspace/github/conspeech/con_util.py", line 48, in construct_dataset for f in sorted(os.listdir(p)): OSError: [Errno 2] No such file or directory: 'convote_v1.1\\data_stage_three/training_set'

Re:Political Speech Generator by vippy on Wednesday January 27, 2016 @01:29PM (#10981877)
If you're on Linux, you have to change the slash on demo.py:32 from '\\' to '/', and also download and place the convote data from cornell in the convote_v1.1 directory.
Re:Political Speech Generator by supportme on Thursday January 28, 2016 @09:41AM (#10988376)
thanks man!

$ wget http://www.cs.cornell.edu/home/llee/data/convote/convote_v1....

$ python demo.py RY 0.25 [constructing dataset...] [dataset constructed.] # Class: RY, Lambda: 0.25 # __START__ mr. speaker , i yield back the balance of my time , and i want to commend the gentleman from california ( mr. pombo ) and myself were the republicans , and , unfortunately , it took us literally 6 months to finally agree what time to meet and where . the difficulty with the endangered species act . i also would like to thank the chairman for supporting the green brook flood control project is saving homes and businesses and lives . it is equally vital that our senators from new jersey take up the fight for this important project and finish the work that we have asked them to do . i have heard friends across the aisle say that americans have journeyed freely in the past and that this goes against the very freedoms which this nation was founded on . but the truth is , try getting on an airplane . what the motion to recommit does is force the states to do something , or not do something ; and that goes directly against the notion of federalism that is contained in this bill and which was drafted by the committee on government reform . __END__

Re:Political Speech Generator by johnhenry on Wednesday January 27, 2016 @02:21PM (#10982330)
Same for Mac OS X.
Re:Political Speech Generator by ByronicHero on Wednesday January 27, 2016 @01:06PM (#10981689)
Did you download the dataset and create a data_stage_three sub-dir?