Giter Site home page Giter Site logo

nlp's Introduction

概要

NLP技術を文章を分析する。

実行環境:Docker

環境構築(以下のコマンドは一度だけ実行してください)

git clone [email protected]:dice-tfukuda/nlp.git
cd nlp

※buildは環境は環境によって以下のどちらかを実行してください。
[Windows]
docker build -t dice_nlp:latest
[mac]
docker build -t dice_nlp:latest --platform linux/amd64 .

docker-compose up -d
docker ps
※このコマンドを実行後dice_ocr:latestのコンテナが立ち上がっていることを確認してください。

接続方法 ブラウザでlocalhost:8888にアクセスするとJupyter Labに接続できます。

作業終了時のコマンド

docker-compose down

作業再開

docker-compose up -d

nlp's People

Contributors

dice-oiwakiri avatar

nlp's Issues

複数文章に対応できるようにする。

やりたいこと

複数の文章に対して表情解析を行いExcelシートにまとめる。

タスクの細分化

  • 表情解析をする文章をExcel保存する。(適当なものを選択してください。)
  • 分析を行うExcelシートを読み込み(pandas)
  • まずは一つ取り出してみて表情解析を行う。
  • 全ての文章を順番に読み込みこむ。
    • for loopで文章を一つずつ読み込み。
    • 結果をdictionaryに一つ一つ格納する。(key:文書のid??, value:文書と結果??)
    • 結果を出力する。
  • 結果のdictionaryをDataframeに格納する。
  • DataframeをExcelに出力する。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.