Korean Sentence Analyser v0.2.3 LocalDict View Source

Use our local dictionary to verify words

Link to this section Summary

Functions

Finds the biggest word from the beginning of the word in the file. It does this going of the words in a dictionary file, that are ordered by length DESC. If the dictionary word matches at the start of the search word, it's a match

Finds the biggest word from the ending of the word in the file. It does this going of the words in a dictionary file, that are ordered by length DESC. If the dictionary word matches at the end of the search word, it's a match

Find a word in a file

Find a word in a file

Finds the smallest word from the ending of the word in the file. It does this going of the words in a dictionary file, that are ordered by length DESC

Link to this section Functions

Link to this function

find_beginning_in_file(word, file) View Source

Finds the biggest word from the beginning of the word in the file. It does this going of the words in a dictionary file, that are ordered by length DESC. If the dictionary word matches at the start of the search word, it's a match.

Because it's ordered, it will always find the biggest word at the start.

Example: search on 한국대사관 will match 한국 (the biggest word from the start).

Link to this function

find_ending_in_file(word, file) View Source

Finds the biggest word from the ending of the word in the file. It does this going of the words in a dictionary file, that are ordered by length DESC. If the dictionary word matches at the end of the search word, it's a match.

Because it's ordered, it will always find the biggest word at the end.

Example: search on 한국대사관 will match 대사관 (the biggest word from the end)

Link to this function

find_in_file(word, file) View Source

Find a word in a file

Link to this function

find_in_file(word, file, atom) View Source

Find a word in a file

Options available: :remove_josa, :remove_grammar, :remove_determiner

Link to this function

find_smallest_ending_in_file(word, file) View Source

Finds the smallest word from the ending of the word in the file. It does this going of the words in a dictionary file, that are ordered by length DESC.

If the dictionary word matches at the end of the search word, it's a match.

Example: search on 한국 will match 국 (the smallest word from the end)