Inglés

parser

gb/pˈɑɹsɚ/ us/pˈɑɹsɚ/
C1 Inglés
Acepciones
0 acepciones
Sustantivo technical C1 entity
1

software that analyzes input

A piece of software that reads information and works out its structure.

Patrón de uso: [type] parser; parser for [format/language]
Error frecuente:
A parser is not the same as a compiler, though compilers often use parsers. A parser analyzes structure; a compiler translates a whole program.
Sinónimos
analyzer (broader; can analyze many kinds of data, not only structured language or input) | syntax analyzer (more specific and formal; often used for the parsing stage in a compiler)
Antónimos
serializer (often does the reverse operation in programming: converts data structures into text or another storable format) | generator (creates output according to rules rather than analyzing input)
Colocaciones
JSON parser |HTML parser |XML parser |syntax parser |command-line parser |argument parser |natural language parser |write a parser |build a parser |parser error
Temas
computing |programming |data_processing |language
Ejemplos
  • The app uses a JSON parser to read the server response.
  • A compiler usually includes a parser that checks the structure of the source code.
  • The parser failed because the file was missing a closing bracket.
Ejemplos para estudiantes
  • The parser reads the data file.
  • We need a parser for this format.
Sustantivo formal C2 role
2

person analyzing grammar

A person who carefully studies the structure of sentences or texts.

Patrón de uso: a parser of [sentences/text/language]
Error frecuente:
This human meaning is much less common than the computing meaning.
Sinónimos
analyst (broader; not limited to language or grammar) | grammarian (focuses specifically on grammar and grammatical rules)
Colocaciones
careful parser |human parser |parser of sentences |parser of language |skilled parser
Temas
grammar |linguistics |education |language
Ejemplos
  • She was a careful parser of complex legal sentences.
  • A skilled parser can identify the main clause even in a very long sentence.
  • The exercise trains students to become better parsers of written English.
Ejemplos para estudiantes
  • A good parser can find the subject and verb in a sentence.
Gramática
Forma de diccionario
parser
AFI
GB/pˈɑɹsɚ/
US/pˈɑɹsɚ/
Sílabas y acento
pars - er (2 sílabas)
Stress on 1st syllable (pars)
Formas de la palabra
Noun
  • Base: parser
  • Plural: parsers
Expresiones

argument parser

1
/ˈɑɹɡjəmənt pˈɑɹsɚ/
fixed phrase technical

software reading program arguments

Software that reads the values given to a program when it starts.

Ejemplos
  • The argument parser checks whether the user provided a file name.
  • Python's argparse module helps you build an argument parser.
  • The argument parser converts the port number from text into an integer.

command-line parser

1
/kəmˈænd lˈaɪn pˈɑɹsɚ/
fixed phrase technical

software reading command options

Software that reads the options typed after a command.

Ejemplos
  • The command-line parser accepts both short and long options.
  • We added a command-line parser so users can choose the output format.
  • If the user types an unknown flag, the command-line parser prints a help message.

dependency parser

1
/dɪpˈɛndənsi pˈɑɹsɚ/
fixed phrase technical

tool finding word relations

Software that shows how words in a sentence are connected grammatically.

Ejemplos
  • The dependency parser linked the noun to the verb it depends on.
  • We trained a dependency parser on thousands of annotated sentences.
  • A dependency parser can help extract who did what to whom in a sentence.

html parser

1
/html pˈɑɹsɚ/
fixed phrase technical

software for reading HTML

Software that reads the structure of a web page written in HTML.

Ejemplos
  • The browser's HTML parser turns the page markup into a document tree.
  • A good HTML parser can handle badly formed web pages.
  • The scraper uses an HTML parser to find all the links on the page.

json parser

1
/d͡ʒsˈɑn pˈɑɹsɚ/
fixed phrase technical

software for reading JSON

Software that reads data written in JSON format.

Ejemplos
  • The JSON parser reported an error near line 12.
  • Most modern programming languages include a built-in JSON parser.
  • Use a strict JSON parser if the input comes from an external service.

natural language parser

1
/nˈæt͡ʃɚəl lˈæŋɡwɪd͡ʒ pˈɑɹsɚ/
fixed phrase technical

software analyzing human language

Software that analyzes the grammar of human language.

Ejemplos
  • The natural language parser identifies the subject and object of each sentence.
  • Older natural language parsers often struggled with informal text.
  • The search system uses a natural language parser to understand user questions.

parser generator

1
/pˈɑɹsɚ d͡ʒˈɛnɚˌeɪtɚ/
fixed phrase technical

tool that creates parsers

A tool that creates parser code from rules for a language.

Ejemplos
  • The team used a parser generator to build the language front end.
  • A parser generator can save time when a language has a clear formal grammar.
  • The grammar file is processed by the parser generator.

xml parser

1
/ksml pˈɑɹsɚ/
fixed phrase technical

software for reading XML

Software that reads information written in XML format.

Ejemplos
  • The XML parser rejected the document because one tag was not closed.
  • We used an XML parser to extract the product data.
  • The application supports both validating and non-validating XML parsers.

¡Qué gusto verte de nuevo!

Inicia sesión para continuar

¿No tienes una cuenta? Crear cuenta