Skip to content

Conversation

@ibrahimaroussi
Copy link
Contributor

No description provided.

"permutation of a list in-place, and a function for random sampling without "
"replacement."
msgstr ""
"Pour les entiers, il y a une sélection uniforme à partir d'une plage. Pour "
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"Pour les entiers, il y a une sélection uniforme à partir d'une plage. Pour "
"Pour les entiers, il existe une sélection uniforme à partir d'une plage. Pour "

comme dans la ligne suivante

Mais je trouve le tout assez lourd, à voir pour remplacer le tout par un "est disponible... sont disponibles".

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done, pas remplacé par "est disponible"

"Pour les entiers, il y a une sélection uniforme à partir d'une plage. Pour "
"les séquences, il existe une sélection uniforme d'un élément aléatoire, une "
"fonction pour générer une permutation aléatoire d'une liste sur place et une "
"fonction pour un échantillonnage aléatoire sans remplacement."
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Le "pour un échantillonnage" me semble bizarre... Peut-être à remplacer par "une fonction d'échantillonage" ou "une fonction pour échantilloner".

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pas d'avis pour l'instant, on verra sur l'autre PR

"lognormal, negative exponential, gamma, and beta distributions. For "
"generating distributions of angles, the von Mises distribution is available."
msgstr ""
"Sur la ligne réelle, il y a des fonctions pour calculer des distributions "
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

L'ensemble des réels (je n'ai jamais entendu la ligne réelle en français).

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On en a parlé recemment avec @JulienPalard et @deronnax si je me trompe pas ;) Si ils ont la conversation sous le coude

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done. Perso ça ne me dit rien.

"purposes, and is completely unsuitable for cryptographic purposes."
msgstr ""
"Presque toutes les fonctions du module dépendent de la fonction de base :"
"func:`.random`, qui génère un flotteur aléatoire de façon uniforme dans la "
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"func:`.random`, qui génère un flotteur aléatoire de façon uniforme dans la "
"func:`.random`, qui génère un nombre à virgule flottante aléatoire de façon uniforme dans la "

ou simplement "un flottant"

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

msgstr ""
"Presque toutes les fonctions du module dépendent de la fonction de base :"
"func:`.random`, qui génère un flotteur aléatoire de façon uniforme dans la "
"plage semi-ouverte[0.0, 1.0]. Python utilise le Twister de Mersenne comme "
Copy link

@awecx awecx Dec 7, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"plage semi-ouverte[0.0, 1.0]. Python utilise le Twister de Mersenne comme "
"plage semi-ouverte [0.0, 1.0). Python utilise l'algorithme de Mersenne–Twister comme "
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

"Presque toutes les fonctions du module dépendent de la fonction de base :"
"func:`.random`, qui génère un flotteur aléatoire de façon uniforme dans la "
"plage semi-ouverte[0.0, 1.0]. Python utilise le Twister de Mersenne comme "
"générateur de noyau. Il produit des flotteurs de précision de 53 bits et a "
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"générateur de noyau. Il produit des flotteurs de précision de 53 bits et a "
"générateur de noyau. Il produit des flottants de précision de 53 bits et a "
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

"plage semi-ouverte[0.0, 1.0]. Python utilise le Twister de Mersenne comme "
"générateur de noyau. Il produit des flotteurs de précision de 53 bits et a "
"une période de 2\\*\\*\\*19937-1. L'implémentation sous-jacente en C est à "
"la fois rapide et *threadsafe*. Le Twister de Mersenne est l'un des "
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"la fois rapide et *threadsafe*. Le Twister de Mersenne est l'un des "
"la fois rapide et *threadsafe*. Mersenne–Twister est l'un des "
Copy link
Collaborator

@deronnax deronnax Jan 18, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

edit. Je remplace par *Mersene Twister*, c'est comme ça que le dénomme le Wikipédia français

"instance of the :class:`random.Random` class. You can instantiate your own "
"instances of :class:`Random` to get generators that don't share state."
msgstr ""
"Les fonctions fournies par ce module sont réellement dépendant de méthodes "
Copy link

@awecx awecx Dec 7, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"Les fonctions fournies par ce module sont réellement dépendant de méthodes "
"Les fonctions fournies par ce module dépendent en réalité de méthodes "
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

"Les fonctions fournies par ce module sont réellement dépendant de méthodes "
"d’une instance cachée de la classe :class:`randon.random`. Vous pouvez "
"créer vos propres instances de :class:`Random` pour obtenir des générateurs "
"qui ne partagent pas état."
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"qui ne partagent pas état."
"indépendants."

ou "sans état partagé"

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

"`~Random.getrandbits` method --- this allows :meth:`randrange` to produce "
"selections over an arbitrarily large range."
msgstr ""
"La classe :class:`Random` peut également être sous-classé si vous voulez "
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"La classe :class:`Random` peut également être sous-classé si vous voulez "
"La classe :class:`Random` peut également être sous-classée si vous voulez "
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

"selections over an arbitrarily large range."
msgstr ""
"La classe :class:`Random` peut également être sous-classé si vous voulez "
"utiliser un générateur de base différent de votre propre conception : dans "
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"utiliser un générateur de base différent de votre propre conception : dans "
"utiliser un générateur de base différent, de votre propre conception : dans "

Sinon le sens de la phrase change.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done. Bien vu 👍

"seed`, :meth:`~Random.gettate`, et :meth:`~Random.setstate`. En option, un "
"nouveau générateur peut fournir une méthode :meth:`~Random.getrandbits` --- "
"ce qui permet :meth:`randrange` de produire des sélections sur une plage "
"arbitrairement large."
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"arbitrairement large."
"de taille arbitraire."
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

"ce cas, remplacez les méthodes :meth:`~Random.random`, :meth:`~Random."
"seed`, :meth:`~Random.gettate`, et :meth:`~Random.setstate`. En option, un "
"nouveau générateur peut fournir une méthode :meth:`~Random.getrandbits` --- "
"ce qui permet :meth:`randrange` de produire des sélections sur une plage "
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"ce qui permet :meth:`randrange` de produire des sélections sur une plage "
"ce qui permet à :meth:`randrange` de produire des sélections sur une plage "
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@deronnax
Copy link
Collaborator

deronnax commented Dec 17, 2018

bon vu qu'il débutait grave en trad et github, je pense pas qu'il reviendra intégrer ses changement, je vais reprendre sa PR (mais un peu plus tard, vers Noël)

@deronnax
Copy link
Collaborator

deronnax commented Jan 18, 2019

hop, c'est repris dans la #544.
@JulienPalard , merci de la fermer

(1 mois plus tard, 3 semaines après Noël, merci, merci, de rien)

@christopheNan
Copy link
Contributor

repris dans la #544.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

5 participants