323 reputation
16
bio website
location Palo Alto, CA
age
visits member for 1 year, 11 months
seen Feb 11 at 8:41

Coder.


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
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.