Giter Club home page Giter Club logo

europarl's People

Contributors

chozelinek avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

europarl's Issues

Alignment

Produce sentence alignment with HunAlign and InterText.

  • It might be necessary to align interventions
  • It might be helpful to align paragraphs

Check p's sl attribute

Sometimes, the annotation of the source language is inconsistent in the HTML files.

Provided that several languages have been processed:

  1. align interventions
  2. align paragraphs
  3. compare sl values

If versions agree, it is OK, if not:

  • majority vote?
  • manual revision?

keep original italics

Many foreign expressions (e.g. in other languages or latinates, and sometimes to stress irony, etc.) are annotated with italics in the source HTML files. It might be useful to keep this information through the pipeline.

clean role attribute for element intervention

After using proceedings_xml.py, there are values for intervention's attribute role which are not only the relevant information but punctuation and more. Examples:

<intervention speaker_id="photo_generic" name="Algirdas Šemeta" is_mep="True" mode="spoken" role="Member of the Commission.">
<intervention speaker_id="photo_generic" name="László Kovács" is_mep="True" mode="spoken" role="Member of the Commission. −">
<intervention speaker_id="photo_generic" name="Vladimír Špidla" is_mep="True" mode="spoken" role="Member of the Commission. – (CS)">

Solution?

Modify proceedings_xml.py before line 341 (self.intervention_to_xml(x_section, s_intervention)) to clean s_intervention['role'].

schema or DTD

Produce a schema or DTD to validate the XML files and use it as documentation.

PEP8

Format Python scripts properly and write docstrings.

annotate codes and intertextual references

There are a number of codes (references to documents, mainly) which degrade automatic linguistic preprocessing (e.g. tokenization, lemmatization, PoS, sentence splitting...).

An idea would be to annotate them to handle them properly by the automatic linguistic preprocessing.

Documentation

Use the README.md for documentation of the scripts, but create a tutorial illustrating the pipeline (a n commented/explained version of the compile.sh script).

trans attribute for paragraphs

Add to <p> an attribute called trans to make explicit if the paragraph is:

  • original
  • translation
  • NA (for unknown cases)

Or

  • True (translations)
  • False (originals)
  • NA unknown

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.