Package: moranajp 0.9.7

moranajp: Morphological Analysis for Japanese

Supports morphological analysis for Japanese by using 'MeCab' <https://taku910.github.io/mecab/>, 'Sudachi' <https://github.com/WorksApplications/Sudachi>, 'Chamame' <https://chamame.ninjal.ac.jp/>, or 'Ginza' <https://github.com/megagonlabs/ginza>. Can input a data.frame and obtain all results of 'MeCab' and the row number of the original data.frame as a text id.

Authors:Toshikazu Matsumura [aut, cre]

moranajp_0.9.7.tar.gz
moranajp_0.9.7.zip(r-4.5)moranajp_0.9.7.zip(r-4.4)moranajp_0.9.7.zip(r-4.3)
moranajp_0.9.7.tgz(r-4.4-any)moranajp_0.9.7.tgz(r-4.3-any)
moranajp_0.9.7.tar.gz(r-4.5-noble)moranajp_0.9.7.tar.gz(r-4.4-noble)
moranajp_0.9.7.tgz(r-4.4-emscripten)moranajp_0.9.7.tgz(r-4.3-emscripten)
moranajp.pdf |moranajp.html
moranajp/json (API)
NEWS

# Install 'moranajp' in R:
install.packages('moranajp', repos = c('https://matutosi.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/matutosi/moranajp/issues

Datasets:

On CRAN:

4.13 score 17 scripts 281 downloads 36 exports 63 dependencies

Last updated 4 months agofrom:45007cd606. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 31 2024
R-4.5-winOKOct 31 2024
R-4.5-linuxOKOct 31 2024
R-4.4-winOKOct 31 2024
R-4.4-macOKOct 31 2024
R-4.3-winOKOct 31 2024
R-4.3-macOKOct 31 2024

Exports:add_depend_ginzaadd_groupadd_idadd_sentence_noadd_text_idadd_text_id_dfbigrambigram_dependbigram_networkbigram_network_plotclean_upcombi_wordscombine_wordsdelete_stop_wordsdraw_bigram_networkescape_japaneseescape_utfhtml_radio_seticonv_xis_radiomake_inputmecabmecab_allmoranajpmoranajp_allpos_filterremove_brkreplace_wordsterm_lemmaterm_pos_0term_pos_1text_id_with_breaktrigramunescape_utfweb_chamameword_freq

Dependencies:askpasscachemclicolorspacecpp11curldplyrfansifarverfastmapgenericsggforceggplot2ggraphggrepelgluegraphlayoutsgridExtragtablehttrigraphisobandjsonlitelabelinglatticelifecyclemagrittrMASSMatrixmemoisemgcvmimemunsellnlmeopensslpillarpkgconfigpolyclippurrrR6RColorBrewerRcppRcppArmadilloRcppEigenrlangrvestscalesselectrstringistringrsyssystemfontstibbletidygraphtidyrtidyselecttweenrutf8vctrsviridisviridisLitewithrxml2

bigram

Rendered frombigram.Rmdusingknitr::rmarkdownon Oct 31 2024.

Last update: 2024-07-22
Started: 2023-03-02

moranajp

Rendered frommoranajp.Rmdusingknitr::rmarkdownon Oct 31 2024.

Last update: 2024-07-22
Started: 2021-10-19

Readme and manuals

Help Manual

Help pageTopics
Add group id column into result of morphological analysisadd_group
Add id in each groupadd_id
Wrapper function for add_group() to add sentence idadd_sentence_no
Add id column into result of morphological analysisadd_text_id
Clean up result of morphological analyzed data frameadd_depend_ginza clean_up delete_stop_words pos_filter replace_words term_lemma term_pos_0 term_pos_1
Combine words after morphological analysiscombine_words combi_words
Draw bigram network using morphological analysis data.bigram bigram_depend bigram_network bigram_network_plot draw_bigram_network trigram word_freq
Generate code like "stringi::stri_unescape_unicode(...)"escape_japanese
iconv xiconv_x
Make groups by splitting string lengthmake_groups make_groups_sub max_sum_str_length
Morphological analysis for a specific column in dataframemake_cmd make_cmd_mecab make_input mecab mecab_all moranajp moranajp_all out_cols out_cols_en out_cols_ginza out_cols_jp out_cols_mecab out_cols_sudachi remove_linebreaks separate_cols_ginza
The first part of 'I Am a Cat' by Soseki Natsumeneko
Analyzed data of neko by chamameneko_chamame
Analyzed data of neko by GiNZAneko_ginza
Analyzed data of neko by MeCabneko_mecab
Analyzed data of neko by Sudachineko_sudachi_a neko_sudachi_b neko_sudachi_c
Morphological analysis for Japanese text by web chamamehtml_radio_set is_radio out_cols_chamame web_chamame
Remove break point and other unused rows from the result of morphological analysisremove_brk
Full text of review articlereview
Analyzed data of review by chamamereview_chamame
Analyzed data of review by GiNZAreview_ginza
Analyzed data of review by MeCabreview_mecab
Analyzed data of review by Sudachireview_sudachi_a review_sudachi_b review_sudachi_c
Stop words for morphological analysisstop_words
An example of synonym word pairssynonym
Add ids.add_text_id_df text_id_with_break
Wrapper functions for escape and unescape unicodeescape_utf unescape_utf