プリンキピア

第10章現代のリカレントニューラルネットワーク

10.5.6. Exercises10.5.6 練習問題

  1. Try different values of the max_examples argument in the _tokenize method. How does this affect the vocabulary sizes of the source language and the target language?
    英語のヒント
    _tokenizeメソッドの引数max_examplesにいろいろな値を試せ。これは原言語と目標言語の語彙の大きさにどう影響するか。
  2. Text in some languages such as Chinese and Japanese does not have word boundary indicators (e.g., space). Is word-level tokenization still a good idea for such cases? Why or why not?
    英語のヒント
    中国語や日本語のような一部の言語のテキストには、単語の境界を示すもの(たとえば空白)がない。そうした場合でも、単語単位のトークン化はよい考えか。それはなぜか、あるいはなぜそうでないか。