OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #include <algorithm> | 5 #include <algorithm> |
6 #include <deque> | 6 #include <deque> |
7 #include <fstream> | 7 #include <fstream> |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/base_paths.h" | 10 #include "base/base_paths.h" |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
189 } | 189 } |
190 prev_word_codepoint_count[i] = prev_word_size; | 190 prev_word_codepoint_count[i] = prev_word_size; |
191 are_beginning_of_sentence[i] = prev_words[i]->is_beginning_of_sentence; | 191 are_beginning_of_sentence[i] = prev_words[i]->is_beginning_of_sentence; |
192 } | 192 } |
193 latinime::PrevWordsInfo prev_words_info = | 193 latinime::PrevWordsInfo prev_words_info = |
194 latinime::PrevWordsInfo(prev_word_codepoints, prev_word_codepoint_count, | 194 latinime::PrevWordsInfo(prev_word_codepoints, prev_word_codepoint_count, |
195 are_beginning_of_sentence, prevwords_count); | 195 are_beginning_of_sentence, prevwords_count); |
196 return prev_words_info; | 196 return prev_words_info; |
197 } | 197 } |
198 | 198 |
199 } // namespace prediction | 199 } // namespace prediction |
OLD | NEW |