Skip to content

soywod/phonetics.vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Phonetics.vim

A Vim plugin for:

  • 📖 Checking phonetics
  • 🎧 Listening to phonetics

Introduction

Vim Phonetics is a vim plugin that gives you English phonetic transcriptions of focused words. You can choose between British English and American English. You can also listen to audio associated to transcriptions.

The phonetics (transcription and audio) comes from Oxford Learner's Dictionnaries.

Prerequisites

  • cURL to retrieve audios and phonetics
  • mpv to play audios

Installation

Plug 'soywod/vim-phonetics'

Usage

Put your cursor under a word, then:

  • :Phonetics to get the transcription
  • :PhoneticsPlay to get the transcription and to play the sound

You can also specify the desired accent:

  • :Phonetics american to get the American transcription
  • :PhoneticsPlay british to get the British transcription and play the sound

Configuration

To set a default accent:

let g:phonetics_default_accent = 'american' | 'british'

Default value: british

About

A vim plugin for checking and listening to English phonetics.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published