だっち

薬学部/教員/博士(薬学)/研究室ハック/Python/生成AI

だっち

薬学部/教員/博士(薬学)/研究室ハック/Python/生成AI

記事一覧

動画をダウンロードする

実現したこと講義等の教育活動において、Youtubeなどの動画を使って説明したいことがあります。動画をローカルにダウンロードする様々なオンラインツールがありますが、広…

だっち
5時間前

Automating Excel Updates from Gmail Quotations (Gmail Version)

IntroductionPreviously, I wrote an article about an Outlook version of this process. However, due to increasingly stringent authentication security measures, es…

だっち
3日前

Automated Meeting Minutes Generation using Faster-Whisper, Pyannote, and ChatGPT

IntroductionCreating meeting minutes is a common requirement following most conferences and meetings. This task is often perceived as time-consuming and tedious…

だっち
6日前
1

代理店から返信があった納入価をエクセルファイルに書き込む(Gmail version)

以前、Outlookバージョンを記事にしました。が、Outlookは色々と認証回りのセキュリティが厳しくIMAP接続出来なくなってきました。そこで、Gmailにしたので記事にしたいと…

だっち
8日前
1

Translating Japanese Word Documents into English Using Claude's API While Preserving Formatting

AccomplishmentDuring a recent meeting, the topic of translating Japanese instruction manuals into English arose. As the atmosphere seemed to lean towards a manu…

だっち
12日前
5

Automated Word Document Translation with OpenAI API: Preserving Styles and Formatting

IntroductionDuring a recent meeting, the topic of translating Japanese instruction manuals into English arose. As the discussion leaned towards manual translati…

だっち
13日前

ClaudeのAPIを使って日本語のワード文章をスタイルを保持しながら英訳する

実現したこととある会議にて。日本語で書いてある説明書を英訳しなきゃねぇみたいな話になった。人力で頑張りましょう見たいな雰囲気が漂って来たので、無敵のPythonでやる…

だっち
2週間前
10

Automating Price Quote Processing: Writing Supplier Prices to Excel

Japanese version: IntroductionPreviously, I introduced a Python script that sends orders and quote requests via email using an order form stored on our laborat…

だっち
2週間前

Streamlining Laboratory Reagent and Consumable Orders

Japanese version: AchievementsIn the course of laboratory activities, we frequently need to order various reagents and consumables. This process can be quite t…

だっち
2週間前
2

Creating Meeting Minutes with Whisper-Pyannote-ChatGPT

Japanease version is below. AccomplishmentsIt is common practice to generate minutes after conducting a meeting. This task can be quite burdensome and tedious …

だっち
3週間前
3

Adding Subtitles to Japanese Videos Using Whisper

Japanese version is here. 日本語を喋っている動画にWhisperを使って字幕を付ける|だっち (note.com) Achieved GoalI wanted to find a way to effectively provide tr…

だっち
3週間前

日本語を喋っている動画にWhisperを使って字幕を付ける

English version is below. 実現したこと日本語が分からない人に色々と講習をうまく出来ないかということで、日本語でやっている講習の動画ファイルに英語字幕をつけたく…

だっち
3週間前

代理店から返信があった納入価をエクセルファイルに書き込む

English version: 実現したこと以前、研究室のネットワークドライブに用意している発注表からメールで注文や見積を飛ばすPythonスクリプトを紹介しました。 今回は、見積…

だっち
3週間前

研究室の試薬や消耗品の発注を楽にする

English version: 実現したこと研究室の活動の中で試薬や消耗品など色々と日々、発注しなければなりません。これがまためんどくさいですね。Pythonで楽にするコードを書き…

だっち
1か月前
1

OpenAIのAPIを使って日本語のワード文章をスタイルを保持しながら英訳する

実現したこととある会議にて。日本語で書いてある説明書を英訳しなきゃねぇみたいな話になった。人力で頑張りましょう見たいな雰囲気が漂って来たので、無敵のPythonでやる…

だっち
1か月前

Faster-Whisper-Pyannote-ChatGPTで議事録を作成する

実現したこと会議をすると議事録作成が求められることが一般的だと思います。手動でやるにはナカナカ重いタスクかつめんどくさい(誰も読まないのに)ということかとおもい…

だっち
1か月前
4

動画をダウンロードする

実現したこと講義等の教育活動において、Youtubeなどの動画を使って説明したいことがあります。動画をローカルにダウンロードする様々なオンラインツールがありますが、広告が鬱陶しいのと複数の動画をダウンロードするのがまためんどくさいですね。Pythonで楽にするコードを書きましたので紹介します。

ただし、CCライセンスのものを選択するなど著作権回りは注意が必要です!!!また、授業目的での著作物の利

もっとみる

Automating Excel Updates from Gmail Quotations (Gmail Version)

IntroductionPreviously, I wrote an article about an Outlook version of this process. However, due to increasingly stringent authentication security measures, establishing IMAP connections with Outlook

もっとみる

Automated Meeting Minutes Generation using Faster-Whisper, Pyannote, and ChatGPT

IntroductionCreating meeting minutes is a common requirement following most conferences and meetings. This task is often perceived as time-consuming and tedious, especially considering that the result

もっとみる

代理店から返信があった納入価をエクセルファイルに書き込む(Gmail version)

以前、Outlookバージョンを記事にしました。が、Outlookは色々と認証回りのセキュリティが厳しくIMAP接続出来なくなってきました。そこで、Gmailにしたので記事にしたいと思います。

実現したこと以前、研究室のネットワークドライブに用意している発注表からメールで注文や見積を飛ばすPythonスクリプトを紹介しました。

今回は、見積を依頼するメールに対して代理店から納入価の返信が来たら

もっとみる

Translating Japanese Word Documents into English Using Claude's API While Preserving Formatting

AccomplishmentDuring a recent meeting, the topic of translating Japanese instruction manuals into English arose. As the atmosphere seemed to lean towards a manual translation effort, I decided to intr

もっとみる

Automated Word Document Translation with OpenAI API: Preserving Styles and Formatting

IntroductionDuring a recent meeting, the topic of translating Japanese instruction manuals into English arose. As the discussion leaned towards manual translation efforts, I proposed an alternative so

もっとみる

ClaudeのAPIを使って日本語のワード文章をスタイルを保持しながら英訳する

実現したこととある会議にて。日本語で書いてある説明書を英訳しなきゃねぇみたいな話になった。人力で頑張りましょう見たいな雰囲気が漂って来たので、無敵のPythonでやる仕組みを構築したので紹介します。

このスクリプトは元のワードファイルの形式を取得し、日本語をClaudeのAPIを使って英語にし、形式を保持しながらワードファイルを生成する感じです。

以前、OpenAIのAPIを使う方法を紹介しま

もっとみる

Automating Price Quote Processing: Writing Supplier Prices to Excel

Japanese version:

IntroductionPreviously, I introduced a Python script that sends orders and quote requests via email using an order form stored on our laboratory's network drive. You can find more i

もっとみる

Streamlining Laboratory Reagent and Consumable Orders

Japanese version:

AchievementsIn the course of laboratory activities, we frequently need to order various reagents and consumables. This process can be quite tedious. To address this issue, I've writ

もっとみる

Creating Meeting Minutes with Whisper-Pyannote-ChatGPT

Japanease version is below.

AccomplishmentsIt is common practice to generate minutes after conducting a meeting. This task can be quite burdensome and tedious when done manually, especially consideri

もっとみる

Adding Subtitles to Japanese Videos Using Whisper

Japanese version is here.

日本語を喋っている動画にWhisperを使って字幕を付ける|だっち (note.com)

Achieved GoalI wanted to find a way to effectively provide training to people who don't understand Japanese. So, I decided to a

もっとみる

日本語を喋っている動画にWhisperを使って字幕を付ける

English version is below.

実現したこと日本語が分からない人に色々と講習をうまく出来ないかということで、日本語でやっている講習の動画ファイルに英語字幕をつけたくなりました。

そこで、動画ファイルから日本語の字幕あるいは英語の字幕をつけるPythonコードを紹介します。

このコードはWhisperによる音声認識を用いています。

スクリプトの概要このPythonスクリプ

もっとみる

代理店から返信があった納入価をエクセルファイルに書き込む

English version:

実現したこと以前、研究室のネットワークドライブに用意している発注表からメールで注文や見積を飛ばすPythonスクリプトを紹介しました。

今回は、見積を依頼するメールに対して代理店から納入価の返信が来たら、価格情報などをエクセルファイルに飛ばすPythonスクリプトを紹介します。

スクリプトの概要メールの取得と解析:

IMAPを使用して指定されたメールボック

もっとみる

研究室の試薬や消耗品の発注を楽にする

English version:

実現したこと研究室の活動の中で試薬や消耗品など色々と日々、発注しなければなりません。これがまためんどくさいですね。Pythonで楽にするコードを書きましたので紹介します。

まず、研究室ではNASに下記のようなエクセルファイルに必要なものを書いて貰って居ます。これはXLOOKUPを使って製品コードを入れると自動で反映されるようになっています。しかも、安い代理店が

もっとみる

OpenAIのAPIを使って日本語のワード文章をスタイルを保持しながら英訳する

実現したこととある会議にて。日本語で書いてある説明書を英訳しなきゃねぇみたいな話になった。人力で頑張りましょう見たいな雰囲気が漂って来たので、無敵のPythonでやる仕組みを構築したので紹介します。

このスクリプトは元のワードファイルの形式を取得し、日本語をOpenAIのAPIを使って英語にし、形式を保持しながらワードファイルを生成する感じです。

スクリプトの概要Word文書の翻訳: 入力され

もっとみる

Faster-Whisper-Pyannote-ChatGPTで議事録を作成する

実現したこと会議をすると議事録作成が求められることが一般的だと思います。手動でやるにはナカナカ重いタスクかつめんどくさい(誰も読まないのに)ということかとおもいます。そこで、音声ファイルあるいや動画ファイルから議事録を作成するPythonスクリプトを紹介します。

このスクリプトは、Whisper(音声認識)、Pyannote(話者識別)、ChatGPT(テキスト生成)という3つの強力なAIモデル

もっとみる