Giter VIP home page Giter VIP logo

zhongzhong's People

Contributors

andrewgilbert12 avatar jifusfo avatar mcmar avatar pabloromanh avatar wernersa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

zhongzhong's Issues

Feature request: Radical & common words addition

Hello, Can you add radical explanation to the dictionary, also ensure the radical explains both characters highlighted, such as 参加. Do not provide radical just for 参 and not for 加. Also is it possible to add most commonly used word with 参and加. The most common words do not have to be an entire list, maybe like 5 common words. These features will greatly improve your extension. Thank you so much for making a great extension.

Add names dictionary

I want to look around for a dictionary of names in Chinese like the one Rikai-kun has. I'm not sure it exists.

Move D and P actions to more complicated shortcuts.

I find myself to have quite often turn on the 'show meaning' and 'show pinyin' by clicking D and P.

Also the action under Z is turned on way too often (I don't use it).

It would be nice to have these actions mapped to other shortcuts, perhaps more complicated. cmd+ctrl+alt+shift+D/P/Z or something like that.

百度百科

Please add 百度百科 as another Alt-X shortcut. It's an extraordinarily extensive resource for 成語, 方言, 口語 and it also works as a great dictionary for advanced learners.

Merge in highlight removal option

There's a pull request on ZhongWen that the owner doesn't want to merge in, but is pretty useful: cschiller/zhongwen#55.

It'd be great if you could merge this change in to ZhongZhong. Due to the canvas rendering change on Google Docs, I've been using Dropbox paper instead so that the extension still works, but Dropbox paper gets very unhappy about the highlighting behavior. I'm using the extension with this change applied locally and it works well.

Ruby-ized text prevented the extension from detecting word with two or more syllables

The extension works exceptionally well, it can even detect words with two syllables (or more) that chinese peraperakun cannot. I really love this utility.

However with ruby-ized texts, words with two syllables (or more), made the extension sees individual hanzi only. Thus what normally works...

image

...does not work with ruby-ized hanzis. Example of ruby-ized hanzis:

image

The extension see individual hanzi only:

image

Here's ruby-ized hanzis in HTML form:

<td><ruby><rt></rt></ruby><ruby><rt>míng</rt></ruby><ruby><rt>bái</rt></ruby></td>

Add hanzi reference

I would like to add a Hanzi reference view like the one Rikai-kun has for Kanji.

Information to include:

Simplified (Unihan kSimplifiedVariant)
Traditional (Unihan kTraditionalVariant)
Variants (Unihan kSemanticVariant, kSpecializedSemanticVariant)
Heisig's index in "Remembering the traditional Hanzi"
Heisig's index in "Remembering the simplified Hanzi"
Unicode code (*directly from the character)
Unihan meanings (Unihan kDefinition)
Pinyin/zhuyin readings for mainland/Taiwan (Unihan kMandarin)
Four corner (Unihan kFourCornerCode)
Cangjie (Unihan kCangjie)
Character frequency (Unihan kFrequency)
Stroke count (Unihan kTotalStrokes)
Radical (Unihan kRSKangXi)
HSK GradeLevel (http://www.hskhsk.com/word-lists.html)
Dictionary indices (Unihan):

  • kHanYu (Hanyu Da Zidian (HDZ), volume 1, page 577, character 12, remove data when final digit is not 0, it means it's not in the dictionary)
  • kKangXi (Kang Xi Dictionary, remove data when final digit is not 0, it means it's not in the dictionary)
  • kPhonetic (Ten Thousand Characters: An Analytic Dictionary)

Add read-aloud

Consider both adding mp3 files for all Chinese syllables or connecting to a public TTS API.

Feature request: Add Traditional Preference for search

Currently I don't use the lookup functionality much because it always gives simplified results, however this can be changed

for MDBG one just needs to change the queries as follows

- https://www.mdbg.net/chinese/dictionary?page=worddict&wdrst=0
+ https://www.mdbg.net/chinese/dictionary?page=worddict&wdrst=1

- https://www.moedict.tw/~%E6%88%91
+ https://www.moedict.tw/%E6%88%91

I'm not sure of the other dictionaries as I don't use them, but this feature would be neat

Allow Disabling Skritter Shortcut

Currently, it's not possible to disable the Skritter shortcut 's'. This is unfortunate as Language Learning with Netflix also uses 's' as the shortcut for repeating a subtitle. Other shortcuts already have options to be enabled/disabled, but 's' has sadly been overlooked.

Feature Request: Add HSK Level info

Often times when looking up a word, I’m curious to know its HSK level. If it’s not in HSK, it’s possibly not worth learning right now. If it’s lower than the HSK level I claim to be at, then oopsie I really need to learn it. If it’s at about my HSK level, then I should commit to learning it soon. Any chance we could add this info?

Doesn't seem to work on .txt files opened in chrome

Hello! Love this and recently switched over from Zhongwen. When opening a .txt file in chrome, I cannot get ZhongZhong to work even though Zhongwen works.

I am not too familiar with javascript, but my best is guess is

if(ev.target.nodeName == 'TEXTAREA' || ev.target.nodeName == 'INPUT'
here one could add something like ev.target.nodeName == 'PRE' since for a textfile opened it chrome it just becomes a big preformatted page of just text.

I was trying to build locally to fix myself, but got stuck in the step after running python index.py, unsure how to find what was unpacked and load it into chrome.

Definitions for alternate characters

When you run into an alternate character from the standard (which happens fairly regularly if you mainly deal with Taiwanese websites) the translation says variation of ____ which is good to know and all, but it doesn't give what the definition of ____ is, which is the whole point of this plug in.

More fonts

Would be nice to be able to choose the font - KaiTi for me is easier to visualise and remember.

word list words limit

the current word list only display a certain number of entries. Words saved after reaching the limit is still saved, but it doesn't display until some previous entries is deleted.

Add Definitions for Redirected Entries

[Cross-posting from the Zhongwen github repo so the UI for the popup is different, but I've started using zhongzhong now and the same thing occurs in the zhongzohong UI]

Hi. Occasionally I come across a definition like "嘴硬心軟" (see screenshot) which just redirects to another definition through the extension. I think it would be good to show the redirected definition (perhaps indented under the suggestion to redirect) instead of having to manually find it on another website / on CEDICT. Perhaps this can be optionally enabled as an experiment on one of the extension options, just in case there's any edge cases that we don't consider. I'm happy to code this up and go through the review process as you see fit.

image

package as a firefox extension

I'd love to use this is on FF as well. I've never ported a chrome extension, but I suspect for this simple of a codebase it may not be too bad. If I find the time to attempt it, I'll also open a PR. If someone else knows how to do this quickly, dont hold your breath for me.

Possible bug inherited from Zhongwen

Apparently this happens with Zhongwen. Check if it happens to us:

Sometimes when I have the extension off the sites I visit generate the following error on every mouse move event:

Uncaught TypeError: Cannot read property 'clientX' of undefined
at Object._onMouseMove (content.js:813)
at HTMLDocument.onMouseMove (content.js:781)

Line 813 is the following:
if (tdata.clientX && tdata.clientY) ...

tdata is assigned on line 784:
var tdata = window.zhongwen;

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.