Questions tagged [french]

Computing issues involving the French language

Questions related to computing issues, including not but limited to character encodings, fonts, and formatting, involving the French language, spoken in France, Belgium, Switzerland, Canada, and many former colonial regions in the Americas and Africa.

148 questions
3
votes
1 answer

Why C++ std::string can support characters in Japanese, French?

Previously I thought that C++ std::string can only support ASCII character sets. For other character sets for example, French, Japanese characters, encoding for example UTF-8/UTF-16 will be needed. I just try below code and it seems that C++…
lst
  • 65
  • 5
2
votes
1 answer

Hunspell package : spell checking for French language

As I will be working on a french text with the mission to analyse it, I am unable to add a french dictionary to the hunspell package. I tried the links suggested by the package as follows : To manually install dictionaries, copy the corresponding…
Anas116
  • 797
  • 2
  • 9
2
votes
1 answer

Convert all french accents into HTML character format

I have for example a bunch of HTML pages like this : Table des matières
user1773603
2
votes
1 answer

How to change the default HTML to lang="fr" in Visual Studio Code?

When I use "!" + tabs, the default HTML is set to lang="en". How can I configure VS Code so that the default language coding is set to lang="fr" ? I would like that the default VS Code to be always set in French, but I don't want to have VS Code…
Jacob75
  • 21
  • 1
2
votes
1 answer

How to split French date and time in Java

Trying to split the date and time which comes in the French style like the example below: 23 sept. 2021 à 13:30:57 And the final result should be the example below: 23-09-2021 and 13:30:57 The issue comes because of the << à >> when trying to get…
Arsench
  • 179
  • 2
  • 4
  • 17
2
votes
0 answers

Spacy NER : identify named entity based on list of values

I'd like to specify an entity pattern based on list of values (coming from csv file). These values can contains multiple words. In my case i'm looking for french city name (ex : "Saint Etienne", "Aix en Provence"). I tried to create a rule like this…
GOosh
  • 23
  • 4
2
votes
1 answer

Similarity plugin with French Language

I'm using the Similarity plugin with org.apache.lucene.analysis.fr.FrenchAnalyzer and I got strange results when searching close terms for a word. Some of the candidate term representations are mutilated in a strange way like: pieuvre -> pieuvr,…
2
votes
1 answer

display a date in particular format from month array in php

I have a php code as shown below in which there is an array of french months. "janvier", 2 => "février", 3 => "mars", 4 => "avril", 5 => "mai", 6 => "juin", 7 => "juillet", 8 => "août", …
user1950349
  • 4,738
  • 19
  • 67
  • 119
2
votes
1 answer

Spacy French langage gives NoneType error

Here is the code : import spacy nlp = spacy.load('fr_core_news_sm') doc = nlp('Demain je travaille à la maison') for token in doc: print(token.text) It gives the error : File…
2
votes
1 answer

French string not stored proper in mysql database

I am trying to store french string in mysql DB but it not get proper stored and changed some characters and not get display proper in my webpage Original string: Bonjour Mr/Mme « Nom de famille du prospect », je suis « votre prénom » d’Europ…
2
votes
1 answer

How present currency value in French format in R

I have part of code that should show currency value in a French format This code library(formattable) currency(x = 123456, symbol = "€", digits = 0) gives me "€123,456". I need code that gives me "123 456€" in a French format for one single…
Andrii
  • 2,843
  • 27
  • 33
2
votes
2 answers

Is there a way to recover mangled encodings like "Ch�Teau"?

I am using this collection of Canadian postcodes. To my disappointment, many French names are misencoded, so that "Trois-Rivières" shows up as "Trois-Rivi�Res," and so on. This appears to be a mistake in the database itself rather than a fault with…
Ian Martin
  • 95
  • 6
2
votes
0 answers

IBM Watson Assistant: Entity (number) extraction in French

I'm doing the restaurant tutorial for IBM Watson Assistant and I need to extract the number of persons for the reservation. Since I'm French, I wanted to try this tutorial in French. However, French language being what it is, when you make a…
P.Poirier
  • 21
  • 3
2
votes
1 answer

How to get a Double of a French formatted Number in Java

I try to get a Double-Value of a Number which is formatted in French style. So the Text 1 003,25 should stored as value (1003.25). public class NumberFormatTest { public static void main(String[] args) throws ParseException { String db…
Taros
  • 70
  • 6
2
votes
0 answers

Vader sentiment analysis

I'm using Vader in Python to perform sentiment analysis. Is there a way to analyze different languages than English (I need French in this case) If yes, how do I do it, or what do I need?
NTiberio
  • 95
  • 7
1
2
3
9 10