Index: trunk/tools/editor_trends/etl/enricher.py |
— | — | @@ -735,9 +735,15 @@ |
736 | 736 | function = create_variables |
737 | 737 | storage = 'csv' |
738 | 738 | dataset = 'training' |
739 | | - processors = 6 |
| 739 | + processors = 7 |
740 | 740 | extension = 'bz2' |
741 | | - setup(storage) |
| 741 | + rts = object() |
| 742 | + rts.language = object() |
| 743 | + rts.project = object() |
| 744 | + rts.input_location = path |
| 745 | + rts.language.code = 'en' |
| 746 | + rts.project.name = 'wiki' |
| 747 | + setup(storage, rts) |
742 | 748 | multiprocessor_launcher(function, path, dataset, storage, processors, extension) |
743 | 749 | |
744 | 750 | |
— | — | @@ -751,6 +757,12 @@ |
752 | 758 | dataset = 'prediction' |
753 | 759 | processors = 7 |
754 | 760 | extension = 'bz2' |
| 761 | + rts = object() |
| 762 | + rts.language = object() |
| 763 | + rts.project = object() |
| 764 | + rts.input_location = path |
| 765 | + rts.language.code = 'en' |
| 766 | + rts.project.name = 'wiki' |
755 | 767 | setup(storage) |
756 | 768 | multiprocessor_launcher(function, path, dataset, storage, processors, extension) |
757 | 769 | |