Skip to content

Commit 0c0c44d

Browse files
committed
Merge pull request #159 from tetengo/document
Correct the documents #151 (cherry picked from commit fd3bd7a)
1 parent dc44aa9 commit 0c0c44d

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

library/lattice/c/include/tetengo/lattice/vocabulary.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ typedef struct tetengo_lattice_vocabulary_tag tetengo_lattice_vocabulary_t;
5050
\param p_connections A pointer to connections.
5151
\param connection_count A connection count.
5252
\param p_entry_hash A pointer to a hash function for an entry.
53-
\param p_entry_equal_to A pointer to a eqaul_to function for an entry.
53+
\param p_entry_equal_to A pointer to an eqaul_to function for an entry.
5454
5555
\return A pointer to an unordered_map vocabulary.
5656
Or NULL when p_entries and/or p_connections are NULL, and entry_count and/or connection_count are greater

library/lattice/cpp/include/tetengo/lattice/unordered_map_vocabulary.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ namespace tetengo::lattice
3939
\param entries Entries.
4040
\param connections Connections.
4141
\param entry_hash A hash function for an entry.
42-
\param entry_equal_to A eqaul_to function for an entry.
42+
\param entry_equal_to An eqaul_to function for an entry.
4343
*/
4444
unordered_map_vocabulary(
4545
std::vector<std::pair<std::string, std::vector<entry>>> entries,

library/text/c/include/tetengo/text/graphemeSplitter.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ typedef struct tetengo_text_graphemeSplitter_tag tetengo_text_graphemeSplitter_t
2828
*/
2929
typedef struct tetengo_text_grapheme_tag
3030
{
31-
/*! A offset in the UTF-8 string. */
31+
/*! An offset in the UTF-8 string. */
3232
size_t offset;
3333

3434
/*! A width when using a monospace font. */

sample/json2timetable/src/arrayList.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ size_t arrayList_size(const arrayList_t* p_array_list);
5757
\brief Returns the element.
5858
5959
\param p_array_list A pointer to an array list.
60-
\param index A index.
60+
\param index An index.
6161
6262
\return A pointer to the element. Or NULL when p_array_list is NULL or index is greater than the size.
6363
*/
@@ -67,7 +67,7 @@ const void* arrayList_at(const arrayList_t* p_array_list, size_t index);
6767
\brief Returns the mutable element.
6868
6969
\param p_array_list A pointer to an array list.
70-
\param index A index.
70+
\param index An index.
7171
7272
\return A pointer to the mutable element. Or NULL when p_array_list is NULL or index is greater than the size.
7373
*/

sample/make_dict/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
make_dict
22
=========
33

4-
Makes a index file of UniDic lex.csv.
4+
Makes an index file of UniDic lex.csv.
55

66
Synopsis
77
--------

sample/transfer_trains/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ transfer_trains timetable.txt
1313
Description
1414
-----------
1515

16-
At first, this program asks you a departure station and time, and a arrival
16+
At first, this program asks you a departure station and time, and an arrival
1717
station.
1818

1919
Then, this program lists trains. Some list items have several trains. That

0 commit comments

Comments
 (0)