Text Analytics Toolbox Model for fastText English 16 Billion Token Word Embedding

Pre-trained English Word Embedding Model for Machine Learning and Deep Learning with Text
다운로드 수: 924
업데이트 날짜: 2024/3/20

This Add-on provides a pre-trained word embedding and sentence classification model using FastText for use in machine learning and deep learning algorithms. FastText is an open-source library which provides efficient and scalable libraries for text analytics. For more information on the pre-trained word vector model see : https://fasttext.cc/docs/en/english-vectors.html

Opening the fasttext.mlpkginstall file from your operating system or from within MATLAB will initiate the installation process for the release you have.
This mlpkginstall file is functional for R2018a and beyond.
Usage Example:
% Load the trained model
emb = fastTextWordEmbedding;

% Find the top 10 closest words to “impedance” according to this word embedding
impedanceVec = word2vec(emb,"impedance");
vec2word(emb, impedanceVec,10)

ans =

10×1 string array

"impedance"
"impedances"
"capacitance"
"Impedance"
"resistor"
"impedence"
"inductance"
"voltage"
"S-parameters"
"ohms"

MATLAB 릴리스 호환 정보
개발 환경: R2018a
R2018a에서 R2024a까지의 릴리스와 호환
플랫폼 호환성
Windows macOS (Apple Silicon) macOS (Intel) Linux
카테고리
Help CenterMATLAB Answers에서 Deep Learning Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!