QWERTY

Hello World!

Emacs快捷鍵是可以修改的,所以不一定要全部記住,只需要熟悉基本功能和知道有其他方便的擴充功能即可

閱讀全文 »

Chap08 Syntax and Grammars

Grammar

  • represent certain knowledges of what we know about a language
  • General criteria
    • linguistic naturalness
    • mathematical power
    • computational effectiveness

Context-free grammars(CFG)

  • Alias
    • Phrase structure grammars
    • Backus-Naur form
  • More powerful than finite state machine
  • Rules
    • Terminals
      • words
    • Non-terminals
      • Noun phrase, Verb phrase ...
    • Generate strings in the language
    • Reject strings not in the language
    • LHS → RHS
      • LHS: Non-terminals
      • RHS: Non-terminals or Terminals
    • Context Free
      • probability of a subtree does not depend on words not dominated by the subtree(subtree出現的機率和上下文無關)
閱讀全文 »

Chap01 Introduction

Applications of NLP

  • Machine translation
    • google translate
  • Speech recognition
    • Siri
  • Smart input method
    • ㄐㄅㄈㄏ → 加倍奉還
  • Sentiment(情感) analysis
  • Information retrieval
  • Question Anwering
    • Turing Test
  • Optical character recognition (OCR)
閱讀全文 »

Introduction

What is AI? → What is definition of Intelligence?

  • Artificial Intelligence(A.I.) or WALL.E
  • human-like or robot with intelligence
  • there are various defintion of AI
  • goal of AI : To create intelligent machines
閱讀全文 »

假設已經知道編譯流程
[介紹]
gcc and g++分別是gnu的c & c++編譯器 gcc/g++在執行編譯工作的時候,總共需要4步
1.預處理,生成.i的文件[預處理器cpp]
2.將預處理後的文件不轉換成彙編語言,生成文件.s[編譯器egcs]
3.有彙編變為目標代碼(機器代碼)生成.o的文件[彙編器as]
4.連接目標代碼,生成可執行程序[鏈接器ld]

閱讀全文 »

Chap04 Network Layer

transport layer: between two processes
network layer: between two hosts and router (may also involve intervening routers in case of VCs)

閱讀全文 »

Chap07 Pipelining (II)

detect and forward
Data Dependence Detection
Hazard conditions:

  • EX hazard
    • EX/MEM.RegisterRd = ID/EX.Register Rs or Rt
  • MEM hazard
    • MEM/WB.RegisterRd = ID/EX.RegisterRs or Rt
    • Ex/MEM.RegisterRd != ID/Ex.RegisterRs(優先選EX)
  • RegWrite == true
  • RegisterRd != $0
閱讀全文 »