Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Pronunciation output: "colon space" before, "\" and other issues.

See original GitHub issue

I always wonder why we have the “colon space” artifact before the pronunciation.

Wouldn’t it be better to show which phonetic alphabet is shown instead? As in:

IPA: [trɑːnsˈkrɪpʃn̩] X-SAMPA: [trA:ns"krIpSn_=]

(X-SAMPA is often used in Text-to-Speech systems, dictionaries mostly use the IPA.)

I have no idea how many entries in the Wiktionaries are using SAMPA or X-SAMPA, probably only a few. Might still be helpful to show which, don’t you think? Or only take the IPA, but then remove the ": " artifact.

IPA has no backslash, as far as I know. But we still generate things like

: \ˈwɪkʃən(ə)ɹi, \ˈwɪkʃənɹɪ\

which I believe are leftover artifacts from somewhere having quotes escaped.

Traditionally, IPA pronunciation is also enclosed in square brackets (as shown above), but I don’t know the reason for it. Should we adapt that?

EDIT: Found it:

EDIT 2: The word “Wiktionary” (EN) is given as


    (UK) IPA(key): /ˈwɪkʃən(ə)ɹi/, (Received Pronunciation) IPA(key): /ˈwɪkʃənɹɪ/

in the EN WIktionary.

Currently, we show it as:

: \ˈwɪkʃən(ə)ɹi, \ˈwɪkʃənɹɪ\

We should be sure to take the whole definitions (including slashes, brackets, stress marks) into our output, so more like:

IPA: /ˈwɪkʃən(ə)ɹi/, /ˈwɪkʃənɹɪ/

or (without the "IPA: "):

/ˈwɪkʃən(ə)ɹi/, /ˈwɪkʃənɹɪ/

Call me a nitpicker—I just love quality! 😃

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:19 (13 by maintainers)

github_iconTop GitHub Comments

iliuscommented, Feb 4, 2022

I filed an issue

Please let me know if it’s fixed.

lasconiccommented, Feb 3, 2022

So that’s what puts the pronunciation next to the title… (looks odd to me).

The default dictionary on Kobo does that.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Colon (punctuation) - Wikipedia
The colon : is a punctuation mark consisting of two equally sized dots aligned vertically. A colon often precedes an explanation, a list, ......
Read more >
5.3: Proofreading for Punctuation – Communication at Work
1. Identify and correct punctuation errors involving commas, apostrophes, colons and semicolons, parentheses and brackets, quotation marks, hyphens and dashes, ...
Read more >
Colons - StudySmarter
When we say a sentence has to be complete before introducing a list, we mean that you can't have a colon separating the...
Read more >
The main punctuation marks - Queen's English Society
A colon is generally a punctuation mark of introduction, signalling 'look ahead', ... Some printers do not put spaces before and after a...
Read more >
The Colon: Punctuation for Students - YouTube
There is a complete British English pronunciation course in the ... and the 44 IPA sounds and symbols of British English pronunciation.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found