| 更新: | 2025-10-15 |
|---|---|
| 作者: | @voluntas |
| バージョン: | 2025.3 |
| URL: | https://voluntas.github.io/ |
typo などは https://x.com/voluntas までご連絡ください。
| 更新: | 2025-10-15 |
|---|---|
| 作者: | @voluntas |
| バージョン: | 2025.3 |
| URL: | https://voluntas.github.io/ |
typo などは https://x.com/voluntas までご連絡ください。
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| import csv | |
| import codecs | |
| import numpy as np | |
| import MeCab | |
| from sklearn.feature_extraction.text import TfidfVectorizer | |
| from sklearn.cluster import KMeans, MiniBatchKMeans |
| (function() { | |
| addAround(grobal, 'download', function(proceed, args, self) { | |
| try { | |
| return proceed(args); | |
| } | |
| catch (e) { | |
| return _download.apply(self, args); | |
| } | |
| }); |
| # -*- coding: utf-8 -*- | |
| from pyPdf import PdfFileWriter, PdfFileReader | |
| def main(output_file, input_files): | |
| print "concat all files:" | |
| output = PdfFileWriter() | |
| total_pages = 0 |