Tag:word

  • A little understanding of string parsing (taking parsing an HTML string as an example)

    Time:2021-12-28

    When analyzing a string, you can use methods such as indexof of the string or regular expressions. However, if the following string needs to be parsed: <group> <arc c-bind:cx=’_width*0.5′ c-bind:cy=’_height*0.5′ c-bind:radius1=’_min*0.5′ radius2=’100′ deg=’120deg’> </arc> <group c-for=’value in dataList’> <circle c-bind:cx=’value’ c-on:click=’doit0′ c-bind:cy=’value’ radius=’10’></circle> <text c-bind:x=’value+20′ c-bind:y=’value’ c-bind:content=’value’ fill-color=’red’></text> </group> <path> <move-to x=’10’ y=’10’></move-to> <line-to x=’100′ […]

  • 100 word chopping offline word file extraction and dictation practice

    Time:2021-12-27

    [toc] explain A small program when learning English in 2018 (sigh, three years have passed in the twinkling of an eye);Analyze the word file (ZPK file) saved offline by 100 word chopper and save it as audio, pictures, JSON and other files that can be used directly. It can be used to reorganize materials and […]

  • Shortcut keys and tips commonly used in shell terminal

    Time:2021-12-2

    Common shortcut keys and tips for terminal C stands for Ctrl (command). Some commands need to be executed after entering. In the direction, the front is left and the rear is right. Use Wildcards useTab complete Clear or C ^ l clear screen C ^ D close(When there is no input on the current command […]

  • Pytoch implementation of transformer

    Time:2021-12-1

    This article is reprinted, This article mainly introduces how to use pytorch to reproduce transformer to realize simple machine translation tasks. For a detailed introduction to transformer, please refer to this articleTransformer details。 Transformer structure Data preprocessing I did not use any large data set here, but manually input two pairs of German → English […]

  • Online pseudoword random generator

    Time:2021-12-1

    Online pseudoword random generator Online pseudoword random generator The tool supports random splicing to generate words. Most words are false words that do not exist. The tool supports random splicing to generate words. Most words are false words that do not exist. https://tooltt.com/fack-word/

  • Detailed explanation of attention and transformer

    Time:2021-11-24

    catalogue 1、 Transformer introduction 2、 Detailed explanation of encoder 2.1 input part 2.1.1 Embedding 2.1.2 position embedding 2.2 attention mechanism 2.2.1 human attention mechanism 2.2.2 attention calculation 2.2.3 multi head attention calculation 3、 Residuals and their effects 4、 Batchnorm and layernorm 5、 Feedforward neural network 6、 Decoder details 7、 Transformer final output 8、 TRM interview […]

  • The past and present life of pre training language model – from word embedding to Bert

    Time:2021-11-17

    The past and present life of pre training language model – from word embedding to Bert This article has a total of 24619 words. It is not easy to code one word by one. Please indicate the source for Reprint: Pre trained language model of past and present life – from word embedding to Bert […]

  • Detailed explanation of Bert model

    Time:2021-11-14

    Detailed explanation of Bert model There are 15326 words in this article. It is not easy to code one word by one. Please indicate the source: Detailed explanation of Bert model – 23-year-old Youde catalogue 1、 Bert introduction 2、 Pre training in image field 3、 Word vector word embedding 3.1 one hot coding 3.2 neural […]

  • Introduction to VIM usage

    Time:2021-11-11

    Introduction to VIM usage 1. Mode introduction Three modes: Command mode: the mode entered by default Insert mode Last line mode (also a kind of command line mode) Mode switching a, enter the insertion mode and open from the next position of the current cursor i, enter the insertion mode, starting from the current cursor […]

  • Right click – New – word and other shortcuts are lost. How can I retrieve them?

    Time:2021-11-10

    Right click – New – word and other shortcuts are lost. How can I retrieve them? Many friends are not very clear, so today Xiaobian will give you a detailed introduction to the solutions. If you won’t, you can refer to this article. I hope it can be helpful to you! Today, I borrowed my […]

  • Application of LDA topic model algorithm in Python

    Time:2021-11-10

    Original link:http://tecdat.cn/?p=5318 In this article, I will introduce the installation and basic usage of LDA Python package for late Dirichlet allocation (LDA). I will not introduce the theoretical basis of this method in this article. The main idea of assigning documents in corpus (document set) to potential (hidden) topics based on word vectors is quite […]

  • Brief description of JS regular regexp object

    Time:2021-11-7

    Regexp object Regular expressions are objects that describe character patterns. Regular expressions are used for pattern matching, retrieval and replacement of strings. They are a powerful tool for pattern matching of strings. Reference materials:W3cschool | JavaScript regexp object grammar definition When using constructors to create regular objects, regular character escape rules (preceded by backslash \) […]