seabroadlab / reviewlab

private documents for 리뷰
0 stars 0 forks source link

Quick lab #1 #1

Open seabroadlab opened 5 years ago

seabroadlab commented 5 years ago

퀵랩 세션 1 기록

  1. quick lab 계정 등록
  2. quick lab 활성화

    • 가나다

    • ㄱㄱㄱ

seabroadlab commented 5 years ago

Cloud Natural Language API: Qwik Start

  1. text documents, news articles, or blog posts 에서 멘션된 정보들을 추출
  2. Syntax Analysis 등등이 가능함, 이 과제에서는 analyze-entities 를 이용 ask the Cloud Natural Language API to extract "entities" (e.g. people, places, and events) from a snippet of text.
  3. 콘솔 켜기
  4. gcloud is the command-line tool for Google Cloud Platform. It comes pre-installed on Cloud Shell and supports tab-completion.
  5. create API key
  6. use the function with syntaxes
seabroadlab commented 5 years ago

Speech to Text Transcription with the Cloud Speech API

  1. The goal of this lecture:

    • Creating a Speech API request and calling the API with curl
    • Calling the Speech API with audio files in different languages
  2. What does the curl do? Speech API에게 request를 보내게 하는것

  3. To use curl: generate an API key to pass in my request URL

seabroadlab commented 5 years ago

Entity and Sentiment Analysis with the Natural Language API

  1. analyzeEntities. With this method, the API can extract entities (like people, places, and events) from text.
  2. 즉, 자연어에서 entity랑 sentiment읽는 법을 배우겠음
  3. 먼저 request.json에 우리가 분석할 내용이랑, 형식 저장
  1. sentiment analysis 결과물로 나오는것은(분석 전체 자연어 blocks단위도 가능, 문장별로도 가능)
    1. score - is a number from -1.0 to 1.0 indicating how positive or negative the statement is.
    2. magnitude - is a number ranging from 0 to infinity that represents the weight of sentiment expressed in the statement, regardless of being positive or negative.

1.결과로 나오는 것들 partOfSpeech tells us that "Joanne" is a noun. dependencyEdge includes data that you can use to create a dependency parse tree of the text. Essentially, this is a diagram showing how words in a sentence relate to each other. A dependency parse tree for the sentence above would look like this: