[自然語言] Google Cloud Platform (3) Translate API 介紹與應用

來到 Google Cloud Platform 系列文的第三篇,今天要講解 Translate API。小弟我認為這個 API 是一般大眾最為熟悉的,今天就讓我們來看一下它,到底還有什麼新把戲? 快速測試 首先我們先點進 Translate API 的介紹 網址。大家可以快速的使用 Google 提供的小 board 來 做測試,這部分我就不加贅述。 語言翻譯 接著我們進行 API 測試,但在開始之前,我們必須先 setup 一個 project,請參考 [機器學習] Google Cloud…

Continue Reading [自然語言] Google Cloud Platform (3) Translate API 介紹與應用

[機器學習] Google Cloud Platform (1) Cloud Speech API 介紹與應用

最近用信用卡開通了 Google Cloud Platform 的帳戶,一共得到了 300 美元的免費使用額度,和 12 個月的免費試用期。裡面的 API 相當的多 (連結)。裡頭關於機器學習的 API羅列如下: Cloud Vision API Cloud Speech APi Natural Language API Translation API 而這次要介紹的是第二項, Cloud Speech API(連結)。準備好了嗎,開始囉! 快速測試 由於沒一村待的實驗室,時常需要…

Continue Reading [機器學習] Google Cloud Platform (1) Cloud Speech API 介紹與應用

[資工雜筆] awk 好用用法整理

抓放實驗的空檔,花時間從以下網址整理一些好用的 awk 用法,之後如果需要查的話也方便許多。這篇選出的每一個用法都不會放解釋 (沒時間QQ),解釋請參照 原網址來源 。廢話不多說,開始囉。 首先,如果有一個 file 長這個樣子: Name Domain Deepak Banking Neha Telecom Vijay Finance Guru Migration 只把名字印出來 $ awk '{print $1}' file Name Deepak Neha Vijay Guru 把 header…

Continue Reading [資工雜筆] awk 好用用法整理

[資工雜筆] awk 簡單用法

其實以前有稍微使用過 unix 系統裡的 awk 來處理指令吐出來的結果,但都不是太難的組合,所以其實也不算真正了解,並能活用這個指令。今天剛好遇到一個蠻不錯的機會,可以把這東西完全學會,順便把這個過程記下來。 首先是文本的內容,大致上長這個樣子,亂碼指的是不要的東西 %$#!@%@%^$^%&#%^&#$^%&#^$&#%^&#^% 1th object: person 2th object: sky 3th object: building 4th object: truck ... 97th object: face 98th object: street 99th object: ramp 100th…

Continue Reading [資工雜筆] awk 簡單用法

[資工雜筆] wget 用法

因為要幫實驗室做網站,要把大家的圖片都抓下來,最節省時間的方式就是下一個 wget 全部抓完 以下來自 stack overflow Try this: wget -nd -r -P /save/location -A jpeg,jpg,bmp,gif,png http://www.domain.com More information: -nd prevents the creation of a directory hierarchy (i.e. no directories). -r…

Continue Reading [資工雜筆] wget 用法