Skip to content
Snippets Groups Projects
Commit d9f27a33 authored by Meiqi Guo's avatar Meiqi Guo
Browse files

Update README.md

parent 6d32b837
No related branches found
No related tags found
No related merge requests found
...@@ -54,8 +54,10 @@ I used two counters: ...@@ -54,8 +54,10 @@ I used two counters:
The result is shown as below: The result is shown as below:
![](https://gitlab.my.ecp.fr/2014guom/BigDataProcessAssignment2/blob/master/output/counters.PNG) ![](https://gitlab.my.ecp.fr/2014guom/BigDataProcessAssignment2/blob/master/output/counters.PNG)
<img src="https://gitlab.my.ecp.fr/2014guom/BigDataProcessAssignment2/blob/master/output/counters.PNG" width="100px" height="80px" alt="简书">
**Order the tokens of each line in ascending order of global frequency** **Order the tokens of each line in ascending order of global frequency**
I used the [Words with frequency file](https://gitlab.my.ecp.fr/2014guom/BigDataProcessAssignment2/blob/master/input/wordfreq) of pg100.txt that I obtained by runnning the assignment 1 with a slight changement of [MyWordCount](https://gitlab.my.ecp.fr/2014guom/BigDataProcessAssignment1/blob/master/MyWordCount.java) as input and ordered tokens by their frequency. I used the [Words with frequency file](https://gitlab.my.ecp.fr/2014guom/BigDataProcessAssignment2/blob/master/input/wordfreq) of pg100.txt that I obtained by runnning the assignment 1 with a slight changement of [MyWordCount](https://gitlab.my.ecp.fr/2014guom/BigDataProcessAssignment1/blob/master/MyWordCount.java) as input and ordered tokens by their frequency.
``` ```
Collections.sort(wordList, new Comparator<String>() { Collections.sort(wordList, new Comparator<String>() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment