Skip to content

Commit

Permalink
Merge pull request #159 from tetengo/document
Browse files Browse the repository at this point in the history
Correct the documents #151

(cherry picked from commit fd3bd7a)
  • Loading branch information
kaorut committed Jun 26, 2021
1 parent dc44aa9 commit 0c0c44d
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion library/lattice/c/include/tetengo/lattice/vocabulary.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ typedef struct tetengo_lattice_vocabulary_tag tetengo_lattice_vocabulary_t;
\param p_connections A pointer to connections.
\param connection_count A connection count.
\param p_entry_hash A pointer to a hash function for an entry.
\param p_entry_equal_to A pointer to a eqaul_to function for an entry.
\param p_entry_equal_to A pointer to an eqaul_to function for an entry.
\return A pointer to an unordered_map vocabulary.
Or NULL when p_entries and/or p_connections are NULL, and entry_count and/or connection_count are greater
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ namespace tetengo::lattice
\param entries Entries.
\param connections Connections.
\param entry_hash A hash function for an entry.
\param entry_equal_to A eqaul_to function for an entry.
\param entry_equal_to An eqaul_to function for an entry.
*/
unordered_map_vocabulary(
std::vector<std::pair<std::string, std::vector<entry>>> entries,
Expand Down
2 changes: 1 addition & 1 deletion library/text/c/include/tetengo/text/graphemeSplitter.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ typedef struct tetengo_text_graphemeSplitter_tag tetengo_text_graphemeSplitter_t
*/
typedef struct tetengo_text_grapheme_tag
{
/*! A offset in the UTF-8 string. */
/*! An offset in the UTF-8 string. */
size_t offset;

/*! A width when using a monospace font. */
Expand Down
4 changes: 2 additions & 2 deletions sample/json2timetable/src/arrayList.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ size_t arrayList_size(const arrayList_t* p_array_list);
\brief Returns the element.
\param p_array_list A pointer to an array list.
\param index A index.
\param index An index.
\return A pointer to the element. Or NULL when p_array_list is NULL or index is greater than the size.
*/
Expand All @@ -67,7 +67,7 @@ const void* arrayList_at(const arrayList_t* p_array_list, size_t index);
\brief Returns the mutable element.
\param p_array_list A pointer to an array list.
\param index A index.
\param index An index.
\return A pointer to the mutable element. Or NULL when p_array_list is NULL or index is greater than the size.
*/
Expand Down
2 changes: 1 addition & 1 deletion sample/make_dict/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
make_dict
=========

Makes a index file of UniDic lex.csv.
Makes an index file of UniDic lex.csv.

Synopsis
--------
Expand Down
2 changes: 1 addition & 1 deletion sample/transfer_trains/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ transfer_trains timetable.txt
Description
-----------

At first, this program asks you a departure station and time, and a arrival
At first, this program asks you a departure station and time, and an arrival
station.

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

0 comments on commit 0c0c44d

Please sign in to comment.