diff --git a/README.md b/README.md index 714f3e5..40cbe62 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ Ce programme implémente un correcteur orthographique minimaliste écrit en C dans le cadre du cours de Programmation Avancée de Mr. [Rudametkin](https://rudametw.github.io/) d'IMA3 à Polytech'Lille. Auteurs : Sébastien Dardenne et Corto Callerisa -![](https://github.com/Tywacol/EPFL_imhof/blob/master/examples_files/interlaken/interlakenhighHD300.png?raw=true) +![](https://github.c0.png?raw=true) ## Principe @@ -15,49 +15,36 @@ Un ordinateur permettant de compiler en programme C ainsi qu'environ 10mo d'espa ## Installation -You can clone the project with +Le projet peut être cloner par la commande ```bash -git clone git@github.com:Tywacol/EPFL_imhof.git +git clone git@archives.plil.fr:ccalleri/ima3_projet_pa_2019.git ``` -and compile it with +et compilé avec ```bash -cd EPFL_imhof -javac ch/epfl/imhof/Main.java +cd ima3_projet_pa_2019 +make ``` -## Usage +## Utilisation Arguments ```bash -java Main osmFile.osm.gz, hgtFile.hgt, botLeftLon, botLeftLat, topRightLong, topRightLat, rDpi, output_name +./correcteur [fichier_dictionnaire] texte ``` -*osmFile.osm.gz* : the compressed data corresponding to the desired area. To create one go to , chose the location and the dimensions than click the export button. +fichier_dictionnaire : le fichier texte contenant l'ensembles des mots du dictionnaire. S'il n'est pas spécifié le dictionnaire par défaut est utilisé. -Note : since a single .hgt file can contains data for a square of 1 of longitude and 1 of lattitude, the latittude and longitude of the area you chosen must be contained within 1 of each other. Example: the coordinate for interlaken are -7.7248 -> 7.994 in longitude and 46.6348 -> 46.7377 in latitude, it's in N46E007.hgt. Here 6.9999 -> 7.994 wouldn't work. +texte : texte à vérifier. -To compress the file on linux, run : +Le programme renvoie l'ensemble des mots malorthographiés sur le terminal. +## Extras : Benchmark, warnings et gestion mémoire. -```bash -gzip map.osm -``` -*hgtFile.hgt* : The hgt file can be downloaded from . Choose your regions than click on the interactive map to download the file. You may need to extract it. Note that there is 3 resolutions available : 1" 3" and 15" (arc second). the smaller, the better the details of the digital elevation model. 1" is not available everywhere but 3", however the use of 15" is discouraged due to the lack of precision. - -*botLeftLon, botLeftLat, topRightLong, topRightLat* : Coordinates of the bottom-left and top-right corner of the area inside of OSM file. - -*rDpi* : it's the dpi of the final map. More means better details but increasing file size and runtime. 100 produces mostly balanced results. +### Benchmark -*output_name* : the name of the file generated. - -As an example the command to generate the map of interlaken in examples_files/interlaken/command.txt is : -```bash -java -cp . ch.epfl.imhof.Main interlaken_high.osm.gz N46E007.hgt 7.7248 46.6348 7.9943 46.7377 300 interlakenhighHD300.png -``` +### Warnings -## Contributing -Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. +### Gestion mémoire -Please make sure to update tests as appropriate. +## Auteurs -## License -[MIT](https://choosealicense.com/licenses/mit/) \ No newline at end of file +Sébastien Dardenne +Corto Callerisa \ No newline at end of file -- libgit2 0.21.2