O GoConqr está de visual novo! Conte para nós o que você achou.

Flashcards

4.4.2 Regular expressions

Ed Allen Inglês 6 flashcards

Flashcards do conjunto (6)

  1. 1Natural LanguageNatural Language comprises a set of words, and is governed by rules that define the order in which they may be put together.
  2. 2Natural and Formal LanguageNatural languages have incredibly complex rules – most people who have spoken English all their lives don’t know or understand all of the rules.
    Translating from English to French, for example, cannot be reliably performed by a computer, even one programmed with grammatical rules.
  3. 3Formal LanguageA Formal Language is defined using two components:
    Its alphabet
    Its rules of syntax
    The alphabet is a precisely defined, finite set of symbols.
    The rules define how to construct strings from the symbols
  4. 4Formal LanguageExample – a formal language is used for describing the hardness of pencils.
    The alphabet is {H, B, 1, 2, 3, 4}
    The rules are:
    The first symbol can be any symbol from the alphabet
    The second symbol can be H or B, but must not be the same as the first symbol.
  5. 5Regular ExpressionsRegular expressions are a way of expressing rules for formal languages.
  6. 6Regular ExpressionsFor example:
    a(a|b)* means “a followed by zero or more instances of a or b”

Informações

Descrição
FlashCards sobre 4.4.2 Regular expressions, criado por Ed Allen em 02-06-2020.
Criado por
Ed Allen
Visualizações
0
Avaliação

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?