323 reputation
17
bio website puroh.it
location Columbia, SC
age
visits member for 2 years, 3 months
seen Feb 11 at 8:41

Coder.


Sep
24
awarded  Autobiographer
Aug
6
awarded  Yearling
Jul
30
answered Comment traduire « trim » ?
Aug
14
awarded  Nice Answer
Aug
6
awarded  Scholar
Aug
6
accepted Différence de registre et position de l'adverbe
Aug
6
revised Are commas used less in French?
fixing off-by-one thanks to Caleb's eye
Aug
6
comment Are commas used less in French?
Ah, I see what you mean. I used the tr -s option, which, along with -c to get all non-comma characters, would substitute "runs" of non-comma characters with a single newline. But per your suggestion, I ran the correct $ tr -dc ',' < english.txt | wc -c and got 440 for English, 383 for French (one fewer, because of the single newline at the top I didn't see). Thanks, I will update the off-by-one counts.
Aug
6
awarded  Supporter
Aug
6
comment Are commas used less in French?
Good question. wc doesn't count newlines as words, and gives a separate newline count (wc -l). Python's udhr.words() also uses tokenized words (sans newlines). So the original texts' newlines won't change the result.
Aug
6
comment Différence de registre et position de l'adverbe
Oui, les phrases n'appartient au registre familier mais je n'ai pas pu créer la bonne étiquette (la simple catégorie «registre») à cause de ma réputation faible.
Aug
6
awarded  Student
Aug
6
asked Différence de registre et position de l'adverbe
Aug
6
awarded  Editor
Aug
6
revised Are commas used less in French?
deleted 11 characters in body
Aug
6
awarded  Teacher
Aug
6
answered Are commas used less in French?