Chromium Code Reviews

Side by Side Diff: chrome/tools/convert_dict/dic_reader.h

Issue 14856: [chromium-reviews] Part 1 of 'Add common words for each language, and remove forbidden words'.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_TOOLS_CONVERT_DICT_DIC_READER_H__ 5 #ifndef CHROME_TOOLS_CONVERT_DICT_DIC_READER_H__
6 #define CHROME_TOOLS_CONVERT_DICT_DIC_READER_H__ 6 #define CHROME_TOOLS_CONVERT_DICT_DIC_READER_H__
7 7
8 #include <stdio.h> 8 #include <stdio.h>
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 17 matching lines...)
28 28
29 // Non-numeric affixes will be added to the given AffReader and converted into 29 // Non-numeric affixes will be added to the given AffReader and converted into
30 // indices. 30 // indices.
31 bool Read(AffReader* aff_reader); 31 bool Read(AffReader* aff_reader);
32 32
33 // Returns the words read by Read(). These will be in order. 33 // Returns the words read by Read(). These will be in order.
34 const WordList& words() const { return words_; } 34 const WordList& words() const { return words_; }
35 35
36 private: 36 private:
37 FILE* file_; 37 FILE* file_;
38 FILE* additional_words_file_;
38 39
39 // Contains all words and their corresponding affix index. 40 // Contains all words and their corresponding affix index.
40 WordList words_; 41 WordList words_;
41 }; 42 };
42 43
43 } // namespace convert_dict 44 } // namespace convert_dict
44 45
45 #endif // CHROME_TOOLS_CONVERT_DICT_DIC_READER_H__ 46 #endif // CHROME_TOOLS_CONVERT_DICT_DIC_READER_H__
46 47
OLDNEW
« no previous file with comments | « no previous file | chrome/tools/convert_dict/dic_reader.cc » ('j') | chrome/tools/convert_dict/dic_reader.cc » ('J')

Powered by Google App Engine