日韩av黄I国产麻豆传媒I国产91av视频在线观看I日韩一区二区三区在线看I美女国产在线I麻豆视频国产在线观看I成人黄色短片

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

Exploring Word Vextors

發布時間:2023/12/14 编程问答 48 豆豆
生活随笔 收集整理的這篇文章主要介紹了 Exploring Word Vextors 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

CS2224N Assignment 1:Exploring Word Vextors

# All Import Statements Defined Here # Note:Do not add to this list. #-------------# 查詢python版本號 import sys assert sys.version_info[0]==3 assert sys.version_info[1]>=5from gensim.models import KeyedVectors from gensim.test.utils import datapath import pprint import matplotlib.pyplot as plt plt.rcParams['figure.figsize']=[10,5] import nltk nltk.download('reuters') from nltk.corpus import reuters #從corpus語料庫中導出路透社語語言庫 import numpy as np import random import scipy as sp # 高級數學計算庫 from sklearn.decomposition import TruncatedSVD from sklearn.decomposition import PCASTART_TOKEN='<START>' END_TOKEN='<END>'np.random.seed(0) random.seed(0) #-------- [nltk_data] Downloading package reuters to [nltk_data] C:\Users\羅松\AppData\Roaming\nltk_data... [nltk_data] Package reuters is already up-to-date!

Word Vectors

Word Vectors are often used as a fundamental component for downstream NLP tasks, e.g. question answering, text generation, translation, etc., so it is important to build some intuitions as to their strengths and weaknesses. Here, you will explore two types of word vectors: those derived from co-occurrence matrices, and those derived via GloVe.

Note on Terminology[術語]: The terms “word vectors” and “word embeddings” are often used interchangeably. The term “embedding” refers to the fact that we are encoding aspects of a word’s meaning in a lower dimensional space. As Wikipedia states, “conceptually it involves a mathematical embedding from a space with one dimension per word to a continuous vector space with a much lower dimension[從概念上講,它涉及到一種數學上的嵌入,從每個單詞一個維度的空間映射到一個維度低得多的連續向量空間。]”.

Part 1: Count-Based Word Vectors

Most word vector models start from the following idea:

  • You shall know a word by the company it keeps (Firth, J. R. 1957:11)

Many word vector implementations are driven by the idea that similar words, i.e., (near) synonyms, will be used in similar contexts. As a result, similar words will often be spoken or written along with a shared subset of words, i.e., contexts. By examining these contexts, we can try to develop embeddings for our words. With this intuition in mind, many “old school” approaches to constructing word vectors relied on word counts. Here we elaborate upon one of those strategies, co-occurrence matrices (for more information, see here or here).

Co-Occurrence

A co-occurrence matrix counts how often things co-occur in some environment. Given some word wi occurring in the document, we consider the context window surrounding wi . Supposing our fixed window size is n , then this is the n preceding and n subsequent words in that document, i.e. words wi?n…wi?1 and wi+1…wi+n . We build a co-occurrence matrix M , which is a symmetric word-by-word matrix in which Mij is the number of times wj appears inside wi 's window among all documents.

Example: Co-Occurrence with Fixed Window of n=1:

Document 1: “all that glitters is not gold”

Document 2: “all is well that ends well”

一個非常重要的思想是,我們認為某個詞的意思跟它臨近的單詞是緊密相關的。這是我們可以設定一個窗口(大小一般是5~10),如下窗口大小是2,那么在這個窗口內,與rests 共同出現的單詞就有life、he、in、peace。然后我們就利用這種共現關系來生成詞向量。

例如,現在我們的語料庫包括下面三份文檔資料:

I like deep learning.

I like NLP.

I enjoy flying.

作為示例,我們設定的窗口大小為1,也就是只看某個單詞周圍緊鄰著的那個單詞。此時,將得到一個對稱矩陣——共現矩陣。因為在我們的語料庫中,I 和 like做為鄰居同時出現在窗口中的次數是2,所以下表中I 和like相交的位置其值就是2。這樣我們也實現了將word變成向量的設想,在共現矩陣每一行(或每一列)都是對應單詞的一個向量表示。

雖然Cocurrence matrix一定程度上解決了單詞間相對位置也應予以重視這個問題。但是它仍然面對維度災難。也即是說一個word的向量表示長度太長了。這時,很自然地會想到SVD或者PCA等一些常用的降維方法。當然,這也會帶來其他的一些問題。

Plotting Co-Occurrence Word Embeddings

Here, we will be using the Reuters (business and financial news) corpus. If you haven’t run the import cell at the top of this page, please run it now (click it and press SHIFT-RETURN). The corpus consists of 10,788 news documents totaling 1.3 million words. These documents span 90 categories and are split into train and test. For more details, please see https://www.nltk.org/book/ch02.html. We provide a read_corpus function below that pulls out only articles from the “crude” (i.e. news articles about oil, gas, etc.) category. The function also adds START and END tokens to each of the documents, and lowercases words. You do not have to perform any other kind of pre-processing.

def read_corpus(category='crude'):""" Read files from the specified Reuter's category.Params:category(string):category nameReturn:list of lists,with words from each of the processed files"""files=reuters.fileids(category)return [[START_TOKEN]+[w.lower() for w in list(reuters.words(f))]+[END_TOKEN] for f in files]

Let’s have a look what these documents are like….

reuters_corpus=read_corpus() pprint.pprint(reuters_corpus[:3],compact=True,width=100) [['<START>', 'japan', 'to', 'revise', 'long', '-', 'term', 'energy', 'demand', 'downwards', 'the','ministry', 'of', 'international', 'trade', 'and', 'industry', '(', 'miti', ')', 'will', 'revise','its', 'long', '-', 'term', 'energy', 'supply', '/', 'demand', 'outlook', 'by', 'august', 'to','meet', 'a', 'forecast', 'downtrend', 'in', 'japanese', 'energy', 'demand', ',', 'ministry','officials', 'said', '.', 'miti', 'is', 'expected', 'to', 'lower', 'the', 'projection', 'for','primary', 'energy', 'supplies', 'in', 'the', 'year', '2000', 'to', '550', 'mln', 'kilolitres','(', 'kl', ')', 'from', '600', 'mln', ',', 'they', 'said', '.', 'the', 'decision', 'follows','the', 'emergence', 'of', 'structural', 'changes', 'in', 'japanese', 'industry', 'following','the', 'rise', 'in', 'the', 'value', 'of', 'the', 'yen', 'and', 'a', 'decline', 'in', 'domestic','electric', 'power', 'demand', '.', 'miti', 'is', 'planning', 'to', 'work', 'out', 'a', 'revised','energy', 'supply', '/', 'demand', 'outlook', 'through', 'deliberations', 'of', 'committee','meetings', 'of', 'the', 'agency', 'of', 'natural', 'resources', 'and', 'energy', ',', 'the','officials', 'said', '.', 'they', 'said', 'miti', 'will', 'also', 'review', 'the', 'breakdown','of', 'energy', 'supply', 'sources', ',', 'including', 'oil', ',', 'nuclear', ',', 'coal', 'and','natural', 'gas', '.', 'nuclear', 'energy', 'provided', 'the', 'bulk', 'of', 'japan', "'", 's','electric', 'power', 'in', 'the', 'fiscal', 'year', 'ended', 'march', '31', ',', 'supplying','an', 'estimated', '27', 'pct', 'on', 'a', 'kilowatt', '/', 'hour', 'basis', ',', 'followed','by', 'oil', '(', '23', 'pct', ')', 'and', 'liquefied', 'natural', 'gas', '(', '21', 'pct', '),','they', 'noted', '.', '<END>'],['<START>', 'energy', '/', 'u', '.', 's', '.', 'petrochemical', 'industry', 'cheap', 'oil','feedstocks', ',', 'the', 'weakened', 'u', '.', 's', '.', 'dollar', 'and', 'a', 'plant','utilization', 'rate', 'approaching', '90', 'pct', 'will', 'propel', 'the', 'streamlined', 'u','.', 's', '.', 'petrochemical', 'industry', 'to', 'record', 'profits', 'this', 'year', ',','with', 'growth', 'expected', 'through', 'at', 'least', '1990', ',', 'major', 'company','executives', 'predicted', '.', 'this', 'bullish', 'outlook', 'for', 'chemical', 'manufacturing','and', 'an', 'industrywide', 'move', 'to', 'shed', 'unrelated', 'businesses', 'has', 'prompted','gaf', 'corp', '&', 'lt', ';', 'gaf', '>,', 'privately', '-', 'held', 'cain', 'chemical', 'inc',',', 'and', 'other', 'firms', 'to', 'aggressively', 'seek', 'acquisitions', 'of', 'petrochemical','plants', '.', 'oil', 'companies', 'such', 'as', 'ashland', 'oil', 'inc', '&', 'lt', ';', 'ash','>,', 'the', 'kentucky', '-', 'based', 'oil', 'refiner', 'and', 'marketer', ',', 'are', 'also','shopping', 'for', 'money', '-', 'making', 'petrochemical', 'businesses', 'to', 'buy', '.', '"','i', 'see', 'us', 'poised', 'at', 'the', 'threshold', 'of', 'a', 'golden', 'period', ',"', 'said','paul', 'oreffice', ',', 'chairman', 'of', 'giant', 'dow', 'chemical', 'co', '&', 'lt', ';','dow', '>,', 'adding', ',', '"', 'there', "'", 's', 'no', 'major', 'plant', 'capacity', 'being','added', 'around', 'the', 'world', 'now', '.', 'the', 'whole', 'game', 'is', 'bringing', 'out','new', 'products', 'and', 'improving', 'the', 'old', 'ones', '."', 'analysts', 'say', 'the','chemical', 'industry', "'", 's', 'biggest', 'customers', ',', 'automobile', 'manufacturers','and', 'home', 'builders', 'that', 'use', 'a', 'lot', 'of', 'paints', 'and', 'plastics', ',','are', 'expected', 'to', 'buy', 'quantities', 'this', 'year', '.', 'u', '.', 's', '.','petrochemical', 'plants', 'are', 'currently', 'operating', 'at', 'about', '90', 'pct','capacity', ',', 'reflecting', 'tighter', 'supply', 'that', 'could', 'hike', 'product', 'prices','by', '30', 'to', '40', 'pct', 'this', 'year', ',', 'said', 'john', 'dosher', ',', 'managing','director', 'of', 'pace', 'consultants', 'inc', 'of', 'houston', '.', 'demand', 'for', 'some','products', 'such', 'as', 'styrene', 'could', 'push', 'profit', 'margins', 'up', 'by', 'as','much', 'as', '300', 'pct', ',', 'he', 'said', '.', 'oreffice', ',', 'speaking', 'at', 'a','meeting', 'of', 'chemical', 'engineers', 'in', 'houston', ',', 'said', 'dow', 'would', 'easily','top', 'the', '741', 'mln', 'dlrs', 'it', 'earned', 'last', 'year', 'and', 'predicted', 'it','would', 'have', 'the', 'best', 'year', 'in', 'its', 'history', '.', 'in', '1985', ',', 'when','oil', 'prices', 'were', 'still', 'above', '25', 'dlrs', 'a', 'barrel', 'and', 'chemical','exports', 'were', 'adversely', 'affected', 'by', 'the', 'strong', 'u', '.', 's', '.', 'dollar',',', 'dow', 'had', 'profits', 'of', '58', 'mln', 'dlrs', '.', '"', 'i', 'believe', 'the','entire', 'chemical', 'industry', 'is', 'headed', 'for', 'a', 'record', 'year', 'or', 'close','to', 'it', ',"', 'oreffice', 'said', '.', 'gaf', 'chairman', 'samuel', 'heyman', 'estimated','that', 'the', 'u', '.', 's', '.', 'chemical', 'industry', 'would', 'report', 'a', '20', 'pct','gain', 'in', 'profits', 'during', '1987', '.', 'last', 'year', ',', 'the', 'domestic','industry', 'earned', 'a', 'total', 'of', '13', 'billion', 'dlrs', ',', 'a', '54', 'pct', 'leap','from', '1985', '.', 'the', 'turn', 'in', 'the', 'fortunes', 'of', 'the', 'once', '-', 'sickly','chemical', 'industry', 'has', 'been', 'brought', 'about', 'by', 'a', 'combination', 'of', 'luck','and', 'planning', ',', 'said', 'pace', "'", 's', 'john', 'dosher', '.', 'dosher', 'said', 'last','year', "'", 's', 'fall', 'in', 'oil', 'prices', 'made', 'feedstocks', 'dramatically', 'cheaper','and', 'at', 'the', 'same', 'time', 'the', 'american', 'dollar', 'was', 'weakening', 'against','foreign', 'currencies', '.', 'that', 'helped', 'boost', 'u', '.', 's', '.', 'chemical','exports', '.', 'also', 'helping', 'to', 'bring', 'supply', 'and', 'demand', 'into', 'balance','has', 'been', 'the', 'gradual', 'market', 'absorption', 'of', 'the', 'extra', 'chemical','manufacturing', 'capacity', 'created', 'by', 'middle', 'eastern', 'oil', 'producers', 'in','the', 'early', '1980s', '.', 'finally', ',', 'virtually', 'all', 'major', 'u', '.', 's', '.','chemical', 'manufacturers', 'have', 'embarked', 'on', 'an', 'extensive', 'corporate','restructuring', 'program', 'to', 'mothball', 'inefficient', 'plants', ',', 'trim', 'the','payroll', 'and', 'eliminate', 'unrelated', 'businesses', '.', 'the', 'restructuring', 'touched','off', 'a', 'flurry', 'of', 'friendly', 'and', 'hostile', 'takeover', 'attempts', '.', 'gaf', ',','which', 'made', 'an', 'unsuccessful', 'attempt', 'in', '1985', 'to', 'acquire', 'union','carbide', 'corp', '&', 'lt', ';', 'uk', '>,', 'recently', 'offered', 'three', 'billion', 'dlrs','for', 'borg', 'warner', 'corp', '&', 'lt', ';', 'bor', '>,', 'a', 'chicago', 'manufacturer','of', 'plastics', 'and', 'chemicals', '.', 'another', 'industry', 'powerhouse', ',', 'w', '.','r', '.', 'grace', '&', 'lt', ';', 'gra', '>', 'has', 'divested', 'its', 'retailing', ',','restaurant', 'and', 'fertilizer', 'businesses', 'to', 'raise', 'cash', 'for', 'chemical','acquisitions', '.', 'but', 'some', 'experts', 'worry', 'that', 'the', 'chemical', 'industry','may', 'be', 'headed', 'for', 'trouble', 'if', 'companies', 'continue', 'turning', 'their','back', 'on', 'the', 'manufacturing', 'of', 'staple', 'petrochemical', 'commodities', ',', 'such','as', 'ethylene', ',', 'in', 'favor', 'of', 'more', 'profitable', 'specialty', 'chemicals','that', 'are', 'custom', '-', 'designed', 'for', 'a', 'small', 'group', 'of', 'buyers', '.', '"','companies', 'like', 'dupont', '&', 'lt', ';', 'dd', '>', 'and', 'monsanto', 'co', '&', 'lt', ';','mtc', '>', 'spent', 'the', 'past', 'two', 'or', 'three', 'years', 'trying', 'to', 'get', 'out','of', 'the', 'commodity', 'chemical', 'business', 'in', 'reaction', 'to', 'how', 'badly', 'the','market', 'had', 'deteriorated', ',"', 'dosher', 'said', '.', '"', 'but', 'i', 'think', 'they','will', 'eventually', 'kill', 'the', 'margins', 'on', 'the', 'profitable', 'chemicals', 'in','the', 'niche', 'market', '."', 'some', 'top', 'chemical', 'executives', 'share', 'the','concern', '.', '"', 'the', 'challenge', 'for', 'our', 'industry', 'is', 'to', 'keep', 'from','getting', 'carried', 'away', 'and', 'repeating', 'past', 'mistakes', ',"', 'gaf', "'", 's','heyman', 'cautioned', '.', '"', 'the', 'shift', 'from', 'commodity', 'chemicals', 'may', 'be','ill', '-', 'advised', '.', 'specialty', 'businesses', 'do', 'not', 'stay', 'special', 'long','."', 'houston', '-', 'based', 'cain', 'chemical', ',', 'created', 'this', 'month', 'by', 'the','sterling', 'investment', 'banking', 'group', ',', 'believes', 'it', 'can', 'generate', '700','mln', 'dlrs', 'in', 'annual', 'sales', 'by', 'bucking', 'the', 'industry', 'trend', '.','chairman', 'gordon', 'cain', ',', 'who', 'previously', 'led', 'a', 'leveraged', 'buyout', 'of','dupont', "'", 's', 'conoco', 'inc', "'", 's', 'chemical', 'business', ',', 'has', 'spent', '1','.', '1', 'billion', 'dlrs', 'since', 'january', 'to', 'buy', 'seven', 'petrochemical', 'plants','along', 'the', 'texas', 'gulf', 'coast', '.', 'the', 'plants', 'produce', 'only', 'basic','commodity', 'petrochemicals', 'that', 'are', 'the', 'building', 'blocks', 'of', 'specialty','products', '.', '"', 'this', 'kind', 'of', 'commodity', 'chemical', 'business', 'will', 'never','be', 'a', 'glamorous', ',', 'high', '-', 'margin', 'business', ',"', 'cain', 'said', ',','adding', 'that', 'demand', 'is', 'expected', 'to', 'grow', 'by', 'about', 'three', 'pct','annually', '.', 'garo', 'armen', ',', 'an', 'analyst', 'with', 'dean', 'witter', 'reynolds', ',','said', 'chemical', 'makers', 'have', 'also', 'benefitted', 'by', 'increasing', 'demand', 'for','plastics', 'as', 'prices', 'become', 'more', 'competitive', 'with', 'aluminum', ',', 'wood','and', 'steel', 'products', '.', 'armen', 'estimated', 'the', 'upturn', 'in', 'the', 'chemical','business', 'could', 'last', 'as', 'long', 'as', 'four', 'or', 'five', 'years', ',', 'provided','the', 'u', '.', 's', '.', 'economy', 'continues', 'its', 'modest', 'rate', 'of', 'growth', '.','<END>'],['<START>', 'turkey', 'calls', 'for', 'dialogue', 'to', 'solve', 'dispute', 'turkey', 'said','today', 'its', 'disputes', 'with', 'greece', ',', 'including', 'rights', 'on', 'the','continental', 'shelf', 'in', 'the', 'aegean', 'sea', ',', 'should', 'be', 'solved', 'through','negotiations', '.', 'a', 'foreign', 'ministry', 'statement', 'said', 'the', 'latest', 'crisis','between', 'the', 'two', 'nato', 'members', 'stemmed', 'from', 'the', 'continental', 'shelf','dispute', 'and', 'an', 'agreement', 'on', 'this', 'issue', 'would', 'effect', 'the', 'security',',', 'economy', 'and', 'other', 'rights', 'of', 'both', 'countries', '.', '"', 'as', 'the','issue', 'is', 'basicly', 'political', ',', 'a', 'solution', 'can', 'only', 'be', 'found', 'by','bilateral', 'negotiations', ',"', 'the', 'statement', 'said', '.', 'greece', 'has', 'repeatedly','said', 'the', 'issue', 'was', 'legal', 'and', 'could', 'be', 'solved', 'at', 'the','international', 'court', 'of', 'justice', '.', 'the', 'two', 'countries', 'approached', 'armed','confrontation', 'last', 'month', 'after', 'greece', 'announced', 'it', 'planned', 'oil','exploration', 'work', 'in', 'the', 'aegean', 'and', 'turkey', 'said', 'it', 'would', 'also','search', 'for', 'oil', '.', 'a', 'face', '-', 'off', 'was', 'averted', 'when', 'turkey','confined', 'its', 'research', 'to', 'territorrial', 'waters', '.', '"', 'the', 'latest','crises', 'created', 'an', 'historic', 'opportunity', 'to', 'solve', 'the', 'disputes', 'between','the', 'two', 'countries', ',"', 'the', 'foreign', 'ministry', 'statement', 'said', '.', 'turkey',"'", 's', 'ambassador', 'in', 'athens', ',', 'nazmi', 'akiman', ',', 'was', 'due', 'to', 'meet','prime', 'minister', 'andreas', 'papandreou', 'today', 'for', 'the', 'greek', 'reply', 'to', 'a','message', 'sent', 'last', 'week', 'by', 'turkish', 'prime', 'minister', 'turgut', 'ozal', '.','the', 'contents', 'of', 'the', 'message', 'were', 'not', 'disclosed', '.', '<END>']]

Question 1.1: Implement distinct_words

Write a method to work out the distinct words (word types) that occur in the corpus. You can do this with for loops, but it’s more efficient to do it with Python list comprehensions. In particular, this may be useful to flatten a list of lists. If you’re not familiar with Python list comprehensions in general, here’s more information.

Your returned corpus_words should be sorted. You can use python’s sorted function for this.

You may find it useful to use Python sets to remove duplicate words.
這道題目的讓你獲取 單詞列表 的列表 中不同單詞的,其實就是讓你熟悉一下使用 python 。這里使用集合這個數據結構來實現(集合是 Hash 表存儲結構,讀取起來更快)。然后每次循環在舊集合與新列表之間取并集即可:

def distinct_words(corpus):""" Determine a list of distinct words for the corpus.Params:corpus (list of list of strings): corpus of documentsReturn:corpus_words (list of strings): sorted list of distinct words across the corpusnum_corpus_words (integer): number of distinct words across the corpus"""corpus_words = []num_corpus_words = -1#-------------------corpus_words=set()for item in corpus:words=set(item)corpus_words=corpus_words | wordsnum_corpus_words=len(corpus_words)corpus_words=sorted(list(corpus_words))return corpus_words,num_corpus_words # --------------------- # Run this sanity check # Note that this not an exhaustive check for correctness. # ---------------------# Define toy corpus test_corpus = ["{} All that glitters isn't gold {}".format(START_TOKEN, END_TOKEN).split(" "), "{} All's well that ends well {}".format(START_TOKEN, END_TOKEN).split(" ")] test_corpus_words, num_corpus_words = distinct_words(test_corpus)# Correct answers ans_test_corpus_words = sorted([START_TOKEN, "All", "ends", "that", "gold", "All's", "glitters", "isn't", "well", END_TOKEN]) ans_num_corpus_words = len(ans_test_corpus_words)# Test correct number of words assert(num_corpus_words == ans_num_corpus_words), "Incorrect number of distinct words. Correct: {}. Yours: {}".format(ans_num_corpus_words, num_corpus_words)# Test correct words assert (test_corpus_words == ans_test_corpus_words), "Incorrect corpus_words.\nCorrect: {}\nYours: {}".format(str(ans_test_corpus_words), str(test_corpus_words))# Print Success print ("-" * 80) print("Passed All Tests!") print ("-" * 80) -------------------------------------------------------------------------------- Passed All Tests! --------------------------------------------------------------------------------

Question 1.2: Implement compute_co_occurrence_matrix

Write a method that constructs a co-occurrence matrix for a certain window-size n (with a default of 4), considering words n before and n after the word in the center of the window. Here, we start to use numpy (np) to represent vectors, matrices, and tensors. If you’re not familiar with NumPy, there’s a NumPy tutorial in the second half of this cs231n Python NumPy tutorial.

第二個問題是構建一個鄰接矩陣。首先先看它需要返回的兩個東西:

  • 第一個 word2ind 是由字符作為 key ,這個字符在之前第一小問返回的列表中的索引作為 val 的一個字典結構。根據這個結構,使我們能夠在 O ( 1 )的時間復雜度下獲得矩陣的位置。關于怎么創建全 0矩陣,見底下代碼
  • 第二個 M 是一個矩陣,這個矩陣包含了信息:出現在這個詞左右的,是什么詞。我們只需要對當前字符串進行一次遍歷,在每次遍歷的時候,注意 window 這個變量,我們需要統計這個詞±window 這個變量周圍的所有單詞。

先回顧一下課堂上講的知識:為什么這個窗口是可行的:這個窗口就是這個單詞出現的上下文,因此出現在類似窗口(也即類似上下文)中的兩個單詞,他們的詞意一般是類似的,因此類似意思的兩個單詞會聚類在一起。

def compute_co_occurrence_matrix(corpus, window_size=4):""" Compute co-occurrence matrix for the given corpus and window_size (default of 4).Note: Each word in a document should be at the center of a window. Words near edges will have a smallernumber of co-occurring words.For example, if we take the document "<START> All that glitters is not gold <END>" with window size of 4,"All" will co-occur with "<START>", "that", "glitters", "is", and "not".Params:corpus (list of list of strings): corpus of documentswindow_size (int): size of context windowReturn:M (a symmetric numpy matrix of shape (number of unique words in the corpus , number of unique words in the corpus)): Co-occurence matrix of word counts. The ordering of the words in the rows/columns should be the same as the ordering of the words given by the distinct_words function.word2ind (dict): dictionary that maps word to index (i.e. row/column number) for matrix M."""words, num_words = distinct_words(corpus)M = Noneword2ind = {}# ------------------# Write your implementation here.i=0for key in words:word2ind[key]=ii+=1M=np.zeros((num_words,num_words))for sentence in corpus:for i,word in enumerate(sentence): #enumerate() 函數用于將一個可遍歷的數據對象(如列表、元組或字符串)組合為一個索引序列,#同時列出數據和數據下標,一般用在 for 循環當中。for j in range(i-window_size,i+window_size+1):if j<0 or j>=len(sentence):continueif j !=i:M[word2ind[word],word2ind[sentence[j]]]+=1# ------------------return M, word2ind # --------------------- # Run this sanity check # Note that this is not an exhaustive check for correctness. # ---------------------# Define toy corpus and get student's co-occurrence matrix test_corpus = ["{} All that glitters isn't gold {}".format(START_TOKEN, END_TOKEN).split(" "), "{} All's well that ends well {}".format(START_TOKEN, END_TOKEN).split(" ")] M_test, word2ind_test = compute_co_occurrence_matrix(test_corpus, window_size=1)# Correct M and word2ind M_test_ans = np.array( [[0., 0., 0., 0., 0., 0., 1., 0., 0., 1.,],[0., 0., 1., 1., 0., 0., 0., 0., 0., 0.,],[0., 1., 0., 0., 0., 0., 0., 0., 1., 0.,],[0., 1., 0., 0., 0., 0., 0., 0., 0., 1.,],[0., 0., 0., 0., 0., 0., 0., 0., 1., 1.,],[0., 0., 0., 0., 0., 0., 0., 1., 1., 0.,],[1., 0., 0., 0., 0., 0., 0., 1., 0., 0.,],[0., 0., 0., 0., 0., 1., 1., 0., 0., 0.,],[0., 0., 1., 0., 1., 1., 0., 0., 0., 1.,],[1., 0., 0., 1., 1., 0., 0., 0., 1., 0.,]] ) ans_test_corpus_words = sorted([START_TOKEN, "All", "ends", "that", "gold", "All's", "glitters", "isn't", "well", END_TOKEN]) word2ind_ans = dict(zip(ans_test_corpus_words, range(len(ans_test_corpus_words))))# Test correct word2ind assert (word2ind_ans == word2ind_test), "Your word2ind is incorrect:\nCorrect: {}\nYours: {}".format(word2ind_ans, word2ind_test)# Test correct M shape assert (M_test.shape == M_test_ans.shape), "M matrix has incorrect shape.\nCorrect: {}\nYours: {}".format(M_test.shape, M_test_ans.shape)# Test correct M values for w1 in word2ind_ans.keys():idx1 = word2ind_ans[w1]for w2 in word2ind_ans.keys():idx2 = word2ind_ans[w2]student = M_test[idx1, idx2]correct = M_test_ans[idx1, idx2]if student != correct:print("Correct M:")print(M_test_ans)print("Your M: ")print(M_test)raise AssertionError("Incorrect count at index ({}, {})=({}, {}) in matrix M. Yours has {} but should have {}.".format(idx1, idx2, w1, w2, student, correct))# Print Success print ("-" * 80) print("Passed All Tests!") print ("-" * 80) -------------------------------------------------------------------------------- Passed All Tests! --------------------------------------------------------------------------------

Question 1.3: Implement reduce_to_k_dim [code] (1 point)

Construct a method that performs dimensionality reduction on the matrix to produce k-dimensional embeddings. Use SVD to take the top k components and produce a new matrix of k-dimensional embeddings.

Note: All of numpy, scipy, and scikit-learn (sklearn) provide some implementation of SVD, but only scipy and sklearn provide an implementation of Truncated SVD, and only sklearn provides an efficient randomized algorithm for calculating large-scale Truncated SVD. So please use sklearn.decomposition.TruncatedSVD.

這題就是導包,進行 SVD 分解(M = U Σ V T 其中 U , V 都是酉矩陣,Σ 為對角矩陣,且 r a n k ( Σ ) = r a n k ( M ),保留奇異值前 k 大的值,然后得到一個降維的矩陣 U Σ 。

原來那個 10 ? 10 的矩陣被降為一個 10 ? 2 的矩陣了。

def reduce_to_k_dim(M, k=2):""" Reduce a co-occurence count matrix of dimensionality (num_corpus_words, num_corpus_words)to a matrix of dimensionality (num_corpus_words, k) using the following SVD function from Scikit-Learn:- http://scikit-learn.org/stable/modules/generated/sklearn.decomposition.TruncatedSVD.htmlParams:M (numpy matrix of shape (number of unique words in the corpus , number of unique words in the corpus)): co-occurence matrix of word countsk (int): embedding size of each word after dimension reductionReturn:M_reduced (numpy matrix of shape (number of corpus words, k)): matrix of k-dimensioal word embeddings.In terms of the SVD from math class, this actually returns U * S""" n_iters = 10 # Use this parameter in your call to `TruncatedSVD`M_reduced = Noneprint("Running Truncated SVD over %i words..." % (M.shape[0]))# ------------------# Write your implementation here.handle=TruncatedSVD(k,n_iter=n_iters)M_reduced=handle.fit_transform(M)# ------------------print("Done.")return M_reduced # --------------------- # Run this sanity check # Note that this is not an exhaustive check for correctness # In fact we only check that your M_reduced has the right dimensions. # ---------------------# Define toy corpus and run student code test_corpus = ["{} All that glitters isn't gold {}".format(START_TOKEN, END_TOKEN).split(" "), "{} All's well that ends well {}".format(START_TOKEN, END_TOKEN).split(" ")] M_test, word2ind_test = compute_co_occurrence_matrix(test_corpus, window_size=1) M_test_reduced = reduce_to_k_dim(M_test, k=2)# Test proper dimensions assert (M_test_reduced.shape[0] == 10), "M_reduced has {} rows; should have {}".format(M_test_reduced.shape[0], 10) assert (M_test_reduced.shape[1] == 2), "M_reduced has {} columns; should have {}".format(M_test_reduced.shape[1], 2)# Print Success print ("-" * 80) print("Passed All Tests!") print ("-" * 80) Running Truncated SVD over 10 words... Done. -------------------------------------------------------------------------------- Passed All Tests! --------------------------------------------------------------------------------

Question 1.4: Implement plot_embeddings [code] (1 point)

Here you will write a function to plot a set of 2D vectors in 2D space. For graphs, we will use Matplotlib (plt).

For this example, you may find it useful to adapt this code. In the future, a good way to make a plot is to look at the Matplotlib gallery, find a plot that looks somewhat like what you want, and adapt the code they give.

def plot_embeddings(M_reduced, word2ind, words):""" Plot in a scatterplot the embeddings of the words specified in the list "words".NOTE: do not plot all the words listed in M_reduced / word2ind.Include a label next to each point.Params:M_reduced (numpy matrix of shape (number of unique words in the corpus , 2)): matrix of 2-dimensioal word embeddingsword2ind (dict): dictionary that maps word to indices for matrix Mwords (list of strings): words whose embeddings we want to visualize"""# ------------------# Write your implementation here.fig = plt.figure()plt.style.use("seaborn-whitegrid")for word in words:point = M_reduced[word2ind[word]]plt.scatter(point[0], point[1], marker = "*")plt.annotate(word, xy = (point[0], point[1]), xytext = (point[0], point[1]+0.1))# ------------------ # --------------------- # Run this sanity check # Note that this is not an exhaustive check for correctness. # The plot produced should look like the "test solution plot" depicted below. # ---------------------print ("-" * 80) print ("Outputted Plot:")M_reduced_plot_test = np.array([[1, 1], [-1, -1], [1, -1], [-1, 1], [0, 0]]) word2ind_plot_test = {'test1': 0, 'test2': 1, 'test3': 2, 'test4': 3, 'test5': 4} words = ['test1', 'test2', 'test3', 'test4', 'test5'] plot_embeddings(M_reduced_plot_test, word2ind_plot_test, words)print ("-" * 80) -------------------------------------------------------------------------------- Outputted Plot: --------------------------------------------------------------------------------

Question 1.5: Co-Occurrence Plot Analysis [written] (3 points)

Now we will put together all the parts you have written! We will compute the co-occurrence matrix with fixed window of 4 (the default window size), over the Reuters “crude” (oil) corpus. Then we will use TruncatedSVD to compute 2-dimensional embeddings of each word. TruncatedSVD returns U*S, so we need to normalize the returned vectors, so that all the vectors will appear around the unit circle (therefore closeness is directional closeness). Note: The line of code below that does the normalizing uses the NumPy concept of broadcasting. If you don’t know about broadcasting, check out Computation on Arrays: Broadcasting by Jake VanderPlas.

Run the below cell to produce the plot. It’ll probably take a few seconds to run. What clusters together in 2-dimensional embedding space? What doesn’t cluster together that you might think should have? Note: “bpd” stands for “barrels per day” and is a commonly used abbreviation in crude oil topic articles.

# ----------------------------- # Run This Cell to Produce Your Plot # ------------------------------ reuters_corpus = read_corpus() M_co_occurrence, word2ind_co_occurrence = compute_co_occurrence_matrix(reuters_corpus) M_reduced_co_occurrence = reduce_to_k_dim(M_co_occurrence, k=2)# Rescale (normalize) the rows to make them each of unit-length M_lengths = np.linalg.norm(M_reduced_co_occurrence, axis=1) M_normalized = M_reduced_co_occurrence / M_lengths[:, np.newaxis] # broadcastingwords = ['barrels', 'bpd', 'ecuador', 'energy', 'industry', 'kuwait', 'oil', 'output', 'petroleum', 'iraq']plot_embeddings(M_normalized, word2ind_co_occurrence, words) Running Truncated SVD over 8185 words... Done.

Part 2: Prediction-Based Word Vectors (15 points)

As discussed in class, more recently prediction-based word vectors have demonstrated better performance, such as word2vec and GloVe (which also utilizes the benefit of counts). Here, we shall explore the embeddings produced by GloVe. Please revisit the class notes and lecture slides for more details on the word2vec and GloVe algorithms. If you’re feeling adventurous, challenge yourself and try reading GloVe’s original paper.

Then run the following cells to load the GloVe vectors into memory. Note: If this is your first time to run these cells, i.e. download the embedding model, it will take a couple minutes to run. If you’ve run these cells before, rerunning them will load the model without redownloading it, which will take about 1 to 2 minutes.

總結

以上是生活随笔為你收集整理的Exploring Word Vextors的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。

伊人看片| 国产色在线 | 免费久久久久久 | 久久午夜影视 | 一级黄色片在线免费看 | www.五月天激情 | 亚州国产精品久久久 | 欧美最新大片在线看 | 91一区啪爱嗯打偷拍欧美 | 欧美不卡视频在线 | 精品伊人久久久 | 精品国产一区二区三区久久 | 久久男女视频 | 99精品在线观看视频 | a级免费观看 | av福利网址导航 | 激情亚洲综合在线 | 粉嫩av一区二区三区四区五区 | 一级欧美黄 | 亚洲国产精品第一区二区 | 欧美 日韩 视频 | 成人毛片在线视频 | 欧美日韩一区二区免费在线观看 | 亚洲欧美综合精品久久成人 | 久久久久人人 | 色全色在线资源网 | 91欧美视频网站 | 国产精品粉嫩 | 国产99久久久国产精品成人免费 | 一区二区三区不卡在线 | 日本不卡一区二区三区在线观看 | 国产精品男女啪啪 | 国产精品午夜8888 | 黄色一区二区在线观看 | 久久精品久久久精品美女 | 九九热只有这里有精品 | 久一网站 | 国产精品九色 | 字幕网资源站中文字幕 | 四虎成人精品 | 成人av一区二区兰花在线播放 | 久草久热 | 亚洲国产精品资源 | 正在播放国产一区 | 国产精品一区二区久久国产 | 免费久久久久久 | 不卡国产在线 | 久久手机免费视频 | 婷婷播播网| 91成年视频 | 日本在线视频网址 | 国产精品一区二区白浆 | 国产美女精品视频 | 久久免费黄色大片 | 精品在线视频一区二区三区 | 欧美aa一级 | 国产小视频免费观看 | 国产精品少妇 | 波多野结衣亚洲一区二区 | 国产婷婷vvvv激情久 | 亚洲精品视频在线免费 | 美女网站在线观看 | 91精品免费看 | 国产大片黄色 | 日韩精品无| 久久色亚洲 | 国产一区二区三区在线免费观看 | 天堂网一区 | 亚洲精品欧洲精品 | 99热99| 日韩在线资源 | 亚洲黄色免费在线 | 91夜夜夜 | 一区二区三区免费在线播放 | 久久草网站 | 国产视频1区2区3区 久久夜视频 | 精品久久久久久久久久国产 | 在线看免费 | 大片网站久久 | 97视频亚洲| www.色午夜| www.色午夜,com | 国产精品一区二区在线 | av黄色成人 | 欧美精品资源 | 一区二精品 | 香蕉在线观看视频 | 久久综合九色综合网站 | 狠狠操狠狠干2017 | 国产精品一级在线 | 91污视频在线观看 | 免费看黄色大全 | 天天操人 | 欧美一区免费观看 | 欧美日韩高清一区 | 国内三级在线观看 | 国产一级大片在线观看 | 国产女人40精品一区毛片视频 | 一区二区三区高清不卡 | 超碰国产人人 | 国产成人免费av电影 | 亚洲日本一区二区在线 | 国产亚洲精品精品精品 | 欧美一区二区三区在线看 | 国产日韩欧美自拍 | 成年人网站免费在线观看 | 免费日韩在线 | 亚洲精品在线视频播放 | 黄色电影小说 | www天天干| 免费在线中文字幕 | 久久99久久精品国产 | 最新高清无码专区 | 欧美精品999 | 手机在线中文字幕 | 黄色在线观看网站 | av千婊在线免费观看 | 日韩欧美在线影院 | av色图天堂网 | 亚在线播放中文视频 | av动图| 一区二区三区av在线 | 91探花系列在线播放 | 国产一区视频在线观看免费 | 久久久久久国产精品免费 | 亚洲最大av | 久久精品视频18 | 韩国视频一区二区三区 | 人人超在线公开视频 | 国产女人40精品一区毛片视频 | 久久久久久久久久久高潮一区二区 | av专区在线 | 国产福利一区二区三区视频 | 五月天六月丁香 | 激情黄色一级片 | 国产精品九九九 | 国产精品久久久久久高潮 | 蜜桃传媒一区二区 | 手机av资源 | 99久久久久成人国产免费 | www.色就是色| 精品久久久久免费极品大片 | 99热都是精品 | 久久夜av| 国产精品日韩在线播放 | 91中文字幕| 丁香五月亚洲综合在线 | 国产精品18久久久 | 人人狠狠综合久久亚洲婷 | 日韩激情av在线 | 91在线成人| 成人av亚洲 | 国产亚洲在线观看 | 国产色视频网站 | 狠狠干天天干 | 九九热精品视频在线播放 | 青草视频免费观看 | 欧美日韩不卡一区二区三区 | 亚洲免费在线 | 久久久精品欧美一区二区免费 | 国产亚洲欧美精品久久久久久 | 久久狠狠干 | 国产亚洲精品美女久久 | 国产在线一区观看 | 五月天婷亚洲天综合网精品偷 | 亚洲天天在线日亚洲洲精 | 国产亚洲欧美日韩高清 | 成人黄色av免费在线观看 | 9ⅰ精品久久久久久久久中文字幕 | 国产精品麻豆免费版 | 激情综合色图 | 成人污视频在线观看 | 97福利视频 | 激情久久久久久久久久久久久久久久 | 欧美日韩在线免费观看视频 | 美女网站视频色 | 五月婷婷,六月丁香 | 国产精品igao视频网入口 | 国产一区 在线播放 | 成人免费观看电影 | 91精选在线观看 | 日韩在线电影观看 | 人人爽人人爽人人爽 | 婷婷国产v亚洲v欧美久久 | 亚洲精品午夜一区人人爽 | 91在线播放视频 | 992tv人人网tv亚洲精品 | 天天操天天操天天干 | 最近中文国产在线视频 | 成人午夜电影在线播放 | 一级精品视频在线观看宜春院 | 精品一区精品二区高清 | 日本女人在线观看 | 中文字幕中文字幕在线中文字幕三区 | 免费在线观看av不卡 | 国产视频 久久久 | 91.精品高清在线观看 | 色婷婷欧美 | 亚洲天堂va | 精品国模一区二区 | 欧美 激情 国产 91 在线 | 免费在线观看黄 | 日韩av一卡二卡三卡 | 亚洲精品国产第一综合99久久 | 亚洲一二三久久 | www.在线看片.com| 成人97视频一区二区 | 国产成人三级 | 亚洲狠狠婷婷综合久久久 | 国产v在线播放 | www.久久婷婷 | 狠狠色狠狠色综合系列 | 久久精品视频国产 | 久久久久久久久久毛片 | av中文电影 | 欧美精品中文 | 中文字幕在线看视频 | 缴情综合网五月天 | 日韩av网站在线播放 | 久精品在线观看 | av黄色亚洲 | 91色蜜桃| 天天综合中文 | 国产欧美精品一区二区三区四区 | 久久精品视频网 | 成人黄色片在线播放 | 99精品偷拍视频一区二区三区 | 成人在线视频你懂的 | 四虎在线免费观看 | 精品国模一区二区 | 久久久久久久久久久综合 | 国产精品久久久久久久久久免费 | 亚洲另类久久 | 中文字幕欧美日韩va免费视频 | 91精品入口| 久久久久免费精品国产小说色大师 | 天天色棕合合合合合合 | 亚洲 成人 欧美 | 国产涩涩在线观看 | 亚洲综合少妇 | 国产专区欧美专区 | 中文字幕视频免费观看 | 亚洲成人av影片 | 国产99久久精品一区二区永久免费 | 日韩资源在线观看 | 久久激情综合网 | 国产三级午夜理伦三级 | 欧美日韩二区在线 | 在线中文字幕av观看 | 亚洲精品高清在线 | 99热精品在线观看 | 免费精品视频在线 | 成人一区二区三区在线 | 日韩精品一区二区久久 | 成人中文字幕+乱码+中文字幕 | 亚洲涩综合 | 在线91精品 | 国产经典av | www色综合| av动图| 欧美一区二区在线 | 成人影视片 | 国产xxxx做受性欧美88 | 日日干天天 | 成人日批视频 | 日韩视频精品在线 | 激情av在线播放 | 久草网站 | 毛片久久久 | 麻豆传媒电影在线观看 | 欧日韩在线视频 | 在线视频观看亚洲 | 黄网站免费大全入口 | 欧美一级视频在线观看 | 五月天亚洲综合 | 手机看片1042 | 日日射av| 日韩激情一二三区 | 婷婷丁香色 | 亚洲欧洲精品视频 | av短片在线观看 | 国产黄a三级三级 | 免费观看av | 91黄色在线观看 | 国模视频一区二区 | 999视频网站 | 久热久草在线 | 三上悠亚一区二区在线观看 | 亚洲免费精品视频 | 91久久精品一区二区三区 | av天天干 | 亚洲综合欧美激情 | 久久久久久久久久国产精品 | 欧美巨大荫蒂茸毛毛人妖 | 精品久久久成人 | 免费av看片 | 91精品在线免费观看视频 | 激情欧美一区二区三区免费看 | 国产精品视频免费在线观看 | 操操碰| 国产女教师精品久久av | 草久在线观看视频 | 久久精品亚洲国产 | 伊人久久电影网 | 国产视频2021| 亚洲 欧洲av| 亚洲视频 在线观看 | av日韩国产 | 日韩欧美中文 | 亚洲精品综合在线观看 | 国产精品99久久99久久久二8 | 欧美与欧洲交xxxx免费观看 | www.五月婷 | www日韩在线观看 | 精品国产理论片 | 日韩免费观看视频 | 国产亚洲高清视频 | 亚洲精品中文字幕视频 | 中文字幕在线视频一区二区三区 | v片在线播放| 亚洲欧美日韩精品一区二区 | 久草视频首页 | av福利超碰网站 | 久久艹久久| 成片视频免费观看 | www.黄色| 青青草在久久免费久久免费 | 日韩欧美综合精品 | 欧美一级电影在线观看 | 欧美激情另类 | 91色一区二区三区 | 天天躁日日躁狠狠躁av麻豆 | 亚洲精品美女久久久久 | 免费视频 你懂的 | 中文字幕av电影下载 | 黄色在线看网站 | 欧美大荫蒂xxx | 成人久久久久久久久久 | 婷婷综合影院 | 国产精品无av码在线观看 | 97人人添人澡人人爽超碰动图 | 91免费观看视频网站 | 亚在线播放中文视频 | 亚洲五月激情 | www成人精品 | a一片一级 | 久久免费视频观看 | 99久久精品免费看国产四区 | 色99在线| 婷婷激情av | 亚洲黄色app | 日本不卡一区二区三区在线观看 | 天天插天天干 | 日韩精品在线观看视频 | 欧美精品一区二区在线播放 | 亚洲高清视频在线观看 | 国产麻豆视频网站 | 国产小视频免费在线网址 | 国产视频一区在线 | 午夜18视频在线观看 | 97夜夜澡人人爽人人免费 | 免费黄色av片| 狂野欧美激情性xxxx | 国内视频在线 | 97高清免费视频 | 亚洲综合小说电影qvod | 亚洲色图色 | 成人免费在线电影 | 国产精品国产三级国产aⅴ9色 | 久久久久9999亚洲精品 | 久久精品国产成人精品 | 99视频精品视频高清免费 | 伊人亚洲精品 | 国产精品久久久久久久久久久不卡 | 国产日韩精品在线观看 | 国产一级黄色电影 | 色久天 | 99这里都是精品 | 免费看成人av | 天天摸天天操天天爽 | 6080yy午夜一二三区久久 | 最新动作电影 | 懂色av一区二区在线播放 | 在线视频你懂得 | 九九国产视频 | 国产成人高清av | 黄色a一级片 | 久久久久久久av麻豆果冻 | 最近中文字幕大全中文字幕免费 | 国产视频亚洲精品 | 久久国产免 | 韩国av永久免费 | 日韩91精品 | 在线 欧美 日韩 | 深夜福利视频在线观看 | 亚洲一区二区三区在线看 | 国产中文在线视频 | 久久草在线视频国产 | 人人爽人人av | 中文字幕在线观看免费高清完整版 | 亚洲成人av在线 | 视频在线观看91 | 免费看成人片 | 免费三级大片 | 久久久久一区二区三区 | av国产网站 | 久久天堂精品视频 | 免费麻豆视频 | 成人黄在线观看 | 手机成人在线 | 色视频在线 | 香蕉视频久久 | 日韩福利在线观看 | 中文字幕人成乱码在线观看 | 亚洲精品网站在线 | 欧美日韩在线观看一区 | 亚洲人成精品久久久久 | 成人av一区二区在线观看 | 成人av免费在线 | 国产亚洲成人网 | 岛国av在线不卡 | 国产亚洲综合性久久久影院 | 欧美射射射 | 日本久久综合视频 | 婷婷色资源 | 欧美性大战久久久久 | 国产精品av免费在线观看 | 国产成人一区二区精品非洲 | 久久国色夜色精品国产 | 91成人精品一区在线播放69 | 久久久久久久国产精品影院 | 人人狠狠| 国产人免费人成免费视频 | 日韩免费网站 | 亚洲第一av在线 | 天天天天爱天天躁 | 午夜视频播放 | 国产69久久精品成人看 | 国产一区二区在线免费播放 | 91麻豆精品国产91久久久无需广告 | 国产成人一区二区三区影院在线 | 日韩成年视频 | 久久久久国产视频 | 亚洲国内精品在线 | 色999视频| 精品国产成人av | 91一区二区在线 | 九九免费精品视频 | 国产亚洲精品久久久久久 | 深夜免费福利视频 | 国产一区在线视频播放 | 特级毛片在线观看 | www.com久久久 | 91豆花在线 | 97超碰人人澡人人 | 日韩动态视频 | 国产欧美三级 | 日韩专区中文字幕 | 激情av网| 丁香激情综合久久伊人久久 | 激情欧美日韩一区二区 | 91pony九色丨交换 | 九九精品毛片 | 成人在线视频免费看 | 日日日日 | 免费亚洲成人 | 中文字幕国产一区二区 | 在线免费黄 | 天天草天天草 | 欧美日韩精品区 | 国产一线天在线观看 | a级国产乱理论片在线观看 特级毛片在线观看 | www.av免费观看 | 在线看一级片 | 成人免费观看大片 | www国产在线 | 黄色一级片视频 | 精品一区二区免费 | 日韩精品一区二区三区三炮视频 | 一本色道久久综合亚洲二区三区 | 91视频午夜 | 狠狠躁天天躁综合网 | 黄色资源在线 | 日韩一三区 | 天干啦夜天干天干在线线 | 国产视频亚洲精品 | 最近中文字幕免费大全 | 91视频 - x99av| 一级片免费视频 | 一区二区视频电影在线观看 | 人成在线免费视频 | 91插插影库| 99视频在线免费播放 | 日本久久久精品视频 | 日韩免费一区二区在线观看 | 亚洲电影在线看 | 国产精品一区二区三区四 | 99精品网站 | 色综合久久久久综合体桃花网 | 高清av免费观看 | 午夜10000 | 日韩av中文在线 | 免费在线观看日韩视频 | 伊人色综合久久天天 | 97超碰人人干 | 夜夜婷婷| 成年人视频在线免费观看 | 一区二区三区影院 | av888av.com | 亚洲精品视频在线观看网站 | 开心激情五月婷婷 | 国产高清不卡在线 | 黄色免费在线视频 | 97国产情侣爱久久免费观看 | 99在线热播 | 久艹视频免费观看 | 国产美女精品 | 五月天开心| 亚洲欧美视频在线观看 | 国内视频在线观看 | a在线观看视频 | 在线日韩 | 免费进去里的视频 | 最新国产福利 | 九九热av | 91av社区 | 97香蕉超级碰碰久久免费软件 | 麻花天美星空视频 | 亚洲精品 在线视频 | 欧美日韩性生活 | 中文字幕 成人 | 曰韩精品 | 久久精品欧美日韩精品 | 免费黄色特级片 | 在线观看久草 | 99热这里有精品 | 免费在线精品视频 | 91九色蝌蚪视频在线 | 一级黄色片在线播放 | 精品国产一区二 | 亚洲精品在线一区二区三区 | 尤物九九久久国产精品的分类 | 欧洲一区二区三区精品 | 一性一交视频 | 五月婷婷av在线 | 久久久久电影 | 亚洲精品网址在线观看 | 日日草视频 | 久久久久久久久久久久99 | 九九热1 | 久久午夜电影院 | 欧美日韩国产精品一区二区 | 成人网在线免费视频 | 不卡视频在线看 | 日本久久精 | 免费亚洲视频 | 97超碰人人 | 日韩亚洲在线观看 | 国产精品久久久久久久久搜平片 | 91中文在线视频 | 亚洲精品成人av在线 | 国产剧情亚洲 | 国产精品久久久久一区 | 国产麻豆视频网站 | 日韩精品首页 | 99久久久久久国产精品 | 97精品一区二区三区 | 欧美精品天堂 | 激情影院在线观看 | 九九免费观看全部免费视频 | 国产精品久久久视频 | 久久精品在线 | 国产精品久久久久久久久久白浆 | 日韩视频在线一区 | 性色av香蕉一区二区 | 一区二区三区四区五区六区 | 国产午夜精品一区二区三区欧美 | 成人高清av在线 | 久久天天草| 中国一级片免费看 | 亚洲欧美日本A∨在线观看 青青河边草观看完整版高清 | 综合婷婷| 日韩一区二区三区不卡 | 伊人开心激情 | 亚洲国产精品久久久 | 在线观看国产麻豆 | 91成人免费在线视频 | 中文字幕日韩精品有码视频 | 免费网站黄色 | 日韩一区二区三区不卡 | 91日本在线播放 | 国产一区电影在线观看 | 色资源网在线观看 | 最新av网址在线观看 | 中文字幕日韩高清 | 久久夜色精品国产欧美一区麻豆 | 国产成人久久精品77777综合 | 91看片在线看片 | 97夜夜澡人人爽人人免费 | 91亚洲精品在线 | 国产中文字幕一区二区三区 | 国产欧美精品在线观看 | 国产在线探花 | 四虎免费在线观看视频 | 欧美性视频网站 | 日韩天天操 | 欧美精品在线观看一区 | 亚洲黄色成人 | 成人免费看黄 | 999国内精品永久免费视频 | 一区二区三区高清在线 | 国产精品高清一区二区三区 | 精品1区2区 | 黄色字幕网 | 99视频精品全国免费 | 91人人爽久久涩噜噜噜 | 久久久久久国产精品亚洲78 | 中文字幕视频三区 | 91在线视频网址 | 国产成人精品网站 | 狠狠色丁香久久婷婷综合五月 | 国产精品自产拍在线观看网站 | 免费h视频 | 99国产精品久久久久久久久久 | 亚洲 欧美 另类人妖 | 狠狠色免费 | 亚洲精品系列 | 日韩视频免费观看高清 | 亚洲欧美日韩在线看 | 国产免费成人av | 四虎国产精品免费观看视频优播 | 黄色毛片大全 | 久久激情婷婷 | 国产精品9999 | 国产高清不卡av | 天天天综合网 | 香蕉在线影院 | 中文字幕在线中文 | 中文字幕在线视频一区二区三区 | 欧美91成人网 | 狠狠的日 | 日本一区二区三区免费看 | 国内久久久久 | 久久久久久久久久亚洲精品 | 亚洲精品视频偷拍 | 欧美大香线蕉线伊人久久 | 97视频免费观看2区 亚洲视屏 | 中文字幕精品www乱入免费视频 | 国产精品嫩草69影院 | 中文字幕免费在线 | 成人午夜影院 | 麻豆视传媒官网免费观看 | 久久国产精品视频 | 欧美久久久影院 | 日韩精品极品视频 | 免费黄色a级毛片 | 亚洲激情网站免费观看 | 精品亚洲视频在线观看 | 欧美精品一区二区在线播放 | 国产中文字幕在线看 | av片中文字幕 | 免费在线| 欧美另类成人 | 99中文字幕视频 | 久久网址| 亚洲国产成人精品在线 | 免费av观看网站 | 深爱婷婷激情 | 99久久免费看 | 日韩免费久久 | 久久婷婷开心 | 高清一区二区三区av | 深爱激情站| 91大神在线观看视频 | 亚洲精品欧美精品 | 欧美日韩视频免费看 | 久久久影院官网 | 五月婷婷色综合 | 成人在线视频论坛 | 国产成人性色生活片 | 丰满少妇在线观看 | 国产99久久久精品 | 国产中文字幕视频在线观看 | 国产91丝袜在线播放动漫 | 国产精品毛片一区 | 欧美极品少妇xxxxⅹ欧美极品少妇xxxx亚洲精品 | 中文字幕在线乱 | 久久99欧美 | 久久精品国产第一区二区三区 | 久青草视频| 91人人视频在线观看 | 久久久久99精品国产片 | 天天摸日日操 | 久久r精品| 免费网站黄色 | 欧美激情精品久久久久久免费印度 | 精品五月天 | 91精品久久久久久久99蜜桃 | 精品国产色 | 国产精品第二页 | 91丨九色丨高潮丰满 | 最新精品视频在线 | 麻豆成人网 | 国产一区在线不卡 | 开心丁香婷婷深爱五月 | 欧美日韩精品影院 | 欧美日韩精品影院 | 中文字幕高清av | 五月婷婷操 | 久草在线免费资源站 | 999久久| 国产精品久久99精品毛片三a | 日女人免费视频 | 丁香婷婷激情网 | 欧美日韩一区二区三区在线免费观看 | 日韩高清国产精品 | 国产亚洲精品美女 | 天天摸日日摸人人看 | 制服丝袜成人在线 | 激情五月婷婷综合网 | 九色视频网 | 精品影院一区二区久久久 | 日韩高清www | 欧美先锋影音 | 色综合久久88色综合天天免费 | 久久欧美在线电影 | 亚洲 欧美 综合 在线 精品 | 97国产精品免费 | 国产69精品久久久久99尤 | 日韩精品视频久久 | 日本在线中文 | 国产精品久久久久久久久久久久久久 | 亚洲精品18日本一区app | 天天射天天爱天天干 | 丝袜美腿在线 | 97免费在线视频 | 美女视频一区二区 | 中文字幕成人在线 | 中文字幕第一页在线播放 | 麻豆影音先锋 | 日韩69av | 欧美一区二区三区在线播放 | 天天综合成人网 | 天天综合成人 | 亚洲理论电影网 | 99 久久久久| 亚洲精品中文字幕在线 | 日本最新高清不卡中文字幕 | 国产一区精品在线 | 99久久日韩精品免费热麻豆美女 | 国产成人精品一区二 | 免费观看黄 | 成人久久久精品国产乱码一区二区 | 中文字幕在线观看免费高清完整版 | 欧美日韩国内在线 | 欧美精品久久久久久 | 国产淫片免费看 | 日韩精品中文字幕在线 | 手机av在线不卡 | 国产免费小视频 | 最近高清中文在线字幕在线观看 | 欧美亚洲另类在线视频 | 91精品网站 | 久久免费黄色大片 | 91在线小视频 | 久久久久这里只有精品 | 国产乱码精品一区二区三区介绍 | 久久久久国 | 国产在线精品一区二区三区 | 久久久精品国产一区二区电影四季 | 久久网站av | 24小时日本在线www免费的 | 欧美视频日韩视频 | 欧美不卡在线 | 久久精品亚洲 | 五月天久久激情 | 天天干 天天摸 天天操 | 中日韩欧美精彩视频 | 中文字幕在线观看一区二区三区 | www夜夜操| 日韩精品一区二区三区电影 | 国产第页 | 久草国产在线 | 色av资源网 | 丁香婷五月 | 69久久99精品久久久久婷婷 | 日本 在线 视频 中文 有码 | 国产精品都在这里 | 美女网站色在线观看 | 成年人电影免费在线观看 | 亚洲视频一区二区三区在线观看 | 午夜精品一区二区三区免费视频 | 绯色av一区 | 久久一区二区免费视频 | 在线中文字幕观看 | 中文在线www| 精品久久一区二区 | 成年人免费在线观看网站 | 国产高清不卡av | 久久99国产综合精品免费 | 欧美久久久一区二区三区 | 毛片基地黄久久久久久天堂 | 中文字幕日韩一区二区三区不卡 | 天天干,天天射,天天操,天天摸 | 97视频资源 | 日本不卡123 | 超碰在线99| 中文字幕在线字幕中文 | 亚洲天堂网在线视频 | 激情五月婷婷激情 | 丁香五香天综合情 | 日日干美女 | 亚洲精品午夜久久久久久久久久久 | 操高跟美女 | 久久久久国产精品免费免费搜索 | 久久精品国产一区二区三 | 在线免费观看涩涩 | 丁香影院在线 | 中文一区在线 | 欧洲精品码一区二区三区免费看 | 国产理论免费 | 成人国产在线 | 日韩 精品 一区 国产 麻豆 | 久久99国产精品久久99 | 亚欧洲精品视频在线观看 | 久久9999久久免费精品国产 | 97色视频在线 | 国产精品免费久久久 | 在线97 | 国产精品九九九 | 在线观看网站黄 | 国产精品不卡在线观看 | 在线亚州 | 欧美精品久久久久性色 | 天天射天天干天天插 | 特级a老妇做爰全过程 | 久久夜色精品国产欧美乱极品 | 麻豆果冻剧传媒在线播放 | 日韩在线免费观看视频 | 天天翘av| 在线看免费 | 在线观看激情av | 久久久免费观看视频 | 手机av电影在线观看 | 一级黄色网址 | 国产黄色片免费看 | 国产精品久久久亚洲 | 99久久99 | 日韩中文字幕免费 | 黄色片免费看 | 国产亚洲精品成人av久久ww | 三级黄免费看 | 免费亚洲婷婷 | 天天色天天射综合网 | 视频精品一区二区三区 | 一级黄色av | 免费在线观看av网站 | 日日摸日日碰 | 日日爽天天操 | 婷婷5月色| 国产精品91一区 | 久久久久久激情 | 四虎4hu永久免费 | 日韩在线观看影院 | 狠狠干狠狠艹 | 五月婷综合 | 999视频在线观看 | 久久99热久久99精品 | 国产成人三级 | 亚洲国产精品va在线 | 久久久综合九色合综国产精品 | 国产网红在线观看 | 热久久免费视频 | 91热爆在线观看 | 日韩一区视频在线 | 精品久久一区 | 美女久久久久久久久久久 | 99热在线观看免费 | 国产手机av | 亚洲精品久久久久久久不卡四虎 | 国产在线不卡视频 | 亚洲精品1区2区3区 超碰成人网 | 日韩视频二区 | 久久久久久久久久国产精品 | 97国产精品免费 | 午夜精品久久久久久中宇69 | 国产精品久久久久久久免费大片 | 麻豆你懂的 | 国产高清网站 | 久久av观看 | 一区二区欧美日韩 | 亚洲国内精品 | 国产99免费 | 国产一区二区视频在线播放 | 特级黄录像视频 | 免费在线精品视频 | 91香蕉视频720p | 精品一区二区三区电影 | 免费成视频 | avsex| 四虎影院在线观看av | 成人黄在线观看 | 香蕉视频免费看 | 婷婷丁香花五月天 | 亚洲人视频在线 | 免费av网址在线观看 | 在线视频久久 | 91免费视频网站在线观看 | 久久亚洲人 | 日韩av伦理片| 国产精品久久一卡二卡 | 日本婷婷色| 五月激情天 | 天天干亚洲 | 伊人中文网 | a级片在线播放 | 欧美最新大片在线看 | 三级av小说 | 一级黄色在线视频 | 黄色性av| 99久久久成人国产精品 | 久久亚洲在线 | 91最新在线观看 | 成人精品一区二区三区中文字幕 | 激情xxxx| 18国产精品白浆在线观看免费 | 激情丁香 | a天堂免费 | 亚洲四虎影院 | 国产精品一区二区精品视频免费看 | 99久久99久久综合 | 日韩久久午夜一级啪啪 | 久草在 | 午夜免费久久看 | 公开超碰在线 | 久久久国产99久久国产一 | 国产午夜精品久久久久久久久久 | 精品在线观看一区二区三区 | www.97视频 | 激情久久网 | 久久免费成人 | 亚洲资源一区 | 免费看av片网站 | 伊人久久国产 | 欧美成人xxx| 久久久免费少妇 | 日日成人网 | 午夜视频在线网站 | 黄色免费网站 | 444av| 色狠狠狠 | avove黑丝 | 久九视频 | 日韩中文字幕在线 | 日本久久久久久久久久久 | 日韩欧美精品在线视频 | 婷婷色吧 | 在线观看免费视频你懂的 | 毛片无卡免费无播放器 | 亚洲资源 | 亚洲国产高清视频 | 免费黄色一区 | 在线视频一区观看 | 久久8精品 | 伊人视频| 国产专区精品视频 | 国产999精品久久久久久 | 国产精品久久久久久久久久久久午 | 精品高清美女精品国产区 | 欧美视频一区二 | 久久精品www人人爽人人 | 色噜噜在线观看 | 97色狠狠| 在线电影91 | 日韩高清在线一区二区 | 九热精品 | 亚洲国产资源 | 精品一区精品二区高清 | 日韩av一区在线观看 | 成年人免费观看在线视频 | 久久久久久久久亚洲精品 | 亚洲女欲精品久久久久久久18 | 欧美精品黑人性xxxx | 女人18精品一区二区三区 | 日韩大片免费观看 | 91在线精品秘密一区二区 | 久久久久久久久久久久国产精品 | 在线看黄色av | 欧美一级免费黄色片 | 国产99久久精品 | 亚洲六月丁香色婷婷综合久久 | 国产成人精品在线播放 | 亚洲色五月 | 国产精品视频免费 | 国产精久久久 | 97在线免费观看 | 91精品久久香蕉国产线看观看 | 婷婷久月 |