Jump to content
Chinese-Forums
  • Sign Up

Mastering Chinese Characters - Anki Deck


Recommended Posts

Posted

I've been using the level 3 deck for the last month, and I love it. It gives the characters within a context, and each character shows up several different ways. The sentences are a bit formal at times, but my Chinese is far enough along that I can spot that, or my wife or teacher point it out to me. It only takes me 30 minutes a day, so I can certainly see myself going through the following 6 levels in the next year or two.

I have two questions:

1. Where does this deck come from? I see the information online, but it doesn't tell me much.

2. Has anyone used this desk through the 10th level? If so, what were your results? Would you recommend it?

  • Like 1
Posted

I am using the deck called "New HSK All Levels (1级–6级)" and will finish level 2 next week and start with 3. So if the ones you are using are nicer I may take that opportunity to switch to them.

I cannot complain about "my" deck, but what bugs me is that it has no pinyin but numbers instead, so I go and fix this for every card manually.

  • 1 year later...
  • New Members
Posted

Hey Guys! I could really use some help :)

 

I have finished Mastering Chinese Characters 01 and 02.

I have just started 03, but it seems to work little bit differently than 2 previous ones!

In 01 and 02 the character which was supposed to be learned, always used in a sentence was bold (font). It was very handy and useful, and it allowed me to focus beter.

 

Unfortunately, the Mastering Chinese Characters 03, once imported to Anki doesn't make anything BOLD, and all of the Characters look the same. Is there any way to change it?

  • 2 months later...
  • New Members
Posted

Hi guys, I´m new with the anki´s decks and I was looking for the most recomendable deck. Reading I found out that de Mastering Chinese Characters  was the best for lot of people but I can´t find it anywhere. Is there a way that any of you could share it with me? I really hope you can help me.

Thanks.

(Sorry for the bad english, my native language is spanish)

  • 5 years later...
  • New Members
Posted

@mkaizen

 

I know it is probably too late for you but it might help others. I wrote a Python script that fixed the issue with the bold characters. I just tried it on MCC3 and it worked like a charm but haven't tested it more. I will post it below:

 

"""
Fix bold indicator in MCC 3 and higher
by: Thomas Niedermayer

Get the collection.anki2 file from the apkg file of an MCC deck by opening it with zip and extracting the .anki2.
This script will return a fixed collection.anki2 which you can use to replace the previous one in the apkg file.
"""

from os.path import join
import os
import ankipandas
import re

# folder where the collection.anki2 file is located
path_ = "XXX___INSERT_YOUR_PATH_HERE___XXX"

# function that fixes a single sentence
def fix_df_cell(sentence_overlist):

    sentence_to_change = sentence_overlist[0]
    sentence_with_character = sentence_overlist[1]
    pattern = re.compile(r"<br */>")

    a = pattern.finditer(sentence_with_character)
    # find out the last \newline
    cut = list(pattern.finditer(sentence_with_character))[-1].end()
    # find out which character has to be boldened
    searching_area = sentence_with_character[cut:]
    ### find all chinese characters (unique)
    characters_to_bolden = list(set(re.findall(r'[\u4e00-\u9fff]+', searching_area)))

    for char in characters_to_bolden:
        sentence_to_change = sentence_to_change.replace(char, "<b>" + char + "</b>")

    return sentence_to_change

# load collection
df = ankipandas.collection.Collection(join(path_, "collection.anki2"))

for i in range(len(df.notes)):
    # get the data for a single entry (like vocab or sentence)
    sentence_overlist = df.notes.iloc[i,-2]
    # if the cell is a sentence fix it
    if(sentence_overlist[-1] == "sentence"):
        df.notes.iloc[i, -2][0] = fix_df_cell(sentence_overlist)

# save collection and create backup folder
bu_folder = join(path_, "collection_bu_folder", "collection.anki2")
if not os.path.exists(bu_folder):
    os.makedirs(bu_folder)

df.write(modify=True, backup_folder=bu_folder)
  • Helpful 1
  • New Members
Posted

Since i have seen that this chat can interpret HTML, some code has gone missing, so I will post a screenshot here, so you can fix the 3 places where code is missing.
image.thumb.png.aea1b36ffa66c9a622f375921c6a1c5c.png
 

  • 2 years later...
  • New Members
Posted

Hi Tommel, thank you for posting this script. I can't seem to get it working. If you're still around, would you mind help me figuring out what I'm doing wrong? I'm computer literate but not experienced with Python specifically.

 

* I installed Python 3.10 from the Windows 11 App Store in order to run your script, which I saved as C:\Temp\fixmcc.py. I also downloaded Visual Studio Code with Python tools to help with debugging.

* I downloaded and installed the ankipandas module, because it looked like that was required.

* I extracted MCC3.apkg to C:\Temp\MCC3.apkg

* I'm using the MCCs 1-10 available from the Shared Anki Decks listed at mandarinmania.com.

* I modified path_ to: "C:\\Temp\\MCC3.apkg", which is the name of the folder where I extracted MCC3.apkg to. Confirmed that there is a collection.anki2 file within it.

# folder where the collection.anki2 file is located
path_ = "C:\\Temp\\MCC3.apkg"

 

When I run the script, I get back "WARNING: Nothing seems to have changed. Will not do anything!"

 WARNING: Nothing seems to have been changed. Will not do anything!

 

I know that it's been several years since you've posted this, but any insight you can provide will be appreciated. Thanks!

Join the conversation

You can post now and select your username and password later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Click here to reply. Select text to quote.

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...