Skip to content

Commit

Permalink
Merge pull request #234 from davidycliao/0.0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
davidycliao authored Dec 28, 2024
2 parents f60414c + cd2c290 commit 19d3b05
Show file tree
Hide file tree
Showing 43 changed files with 3,195 additions and 2,026 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: flaiR
Title: An R Wrapper for Accessing FLAIR
Version: 0.0.6
Version: 0.0.7
Authors@R: c(
person("Yen-Chieh", "Liao", email = "davidyclaio@gmail.com", role = c("cre","aut", "ctb")),
person("Stefan", "Müller", email = "stefan.mueller@ucd.ie", role = c("aut", "ctb")),
Expand Down
10 changes: 3 additions & 7 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,16 @@ export(flair_splitter)
export(flair_splitter.SegtokSentenceSplitter)
export(flair_trainers)
export(get_entities)
export(get_entities_batch)
export(get_pos)
export(get_pos_batch)
export(get_sentiments)
export(get_sentiments_batch)
export(get_tagger_tags)
export(highlight_text)
export(import_flair)
export(install_python_package)
export(load_tagger_ner)
export(load_tagger_pos)
export(load_tagger_sentiments)
export(map_entities)
export(predict_label)
export(process_embeddings)
export(show_flair_cache)
export(uninstall_python_package)
import(reticulate)
Expand All @@ -43,9 +41,7 @@ importFrom(data.table,data.table)
importFrom(data.table,rbindlist)
importFrom(htmltools,HTML)
importFrom(reticulate,import)
importFrom(reticulate,py_available)
importFrom(reticulate,py_get_attr)
importFrom(reticulate,py_install)
importFrom(reticulate,py_module_available)
importFrom(stats,setNames)
importFrom(stringr,str_replace_all)
21 changes: 21 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
# flaiR 0.0.7 (2024-12-26)

<div style="text-align: justify">

### _Enhancements_

- Added new tutorial section for embedding extraction from Flair NLP, focusing on embedding-based regression analysis

### _Function_

- Unified POS tagging functions: Combined get_pos() and get_pos_batch()
- Unified entity recognition: Merged get_entities() and get_entities_batch()
- Removed sentiment analysis functions: Deprecated get_sentiment() and get_sentiment_batch()ve get_sentiment() and get_sentimen_batch. merge get_pos and get_pos_batch& get_enetities and get_enetities_batch.

</div>



</div>


# flaiR 0.0.6 (2023-10-29)

<div style="text-align: justify">
Expand Down
164 changes: 0 additions & 164 deletions R/flaiR_loader.R

This file was deleted.

Loading

0 comments on commit 19d3b05

Please sign in to comment.