Skip to content

Commit

Permalink
feat: Tagalog sentiment analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesus Seijas committed Oct 7, 2020
1 parent f1fda39 commit 23abae0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docs/v4/language-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ Languages not included in this list can be still supported, but without stemming
| su | Sundanese | | X | | | |
| sw | Swahili | | X | | X | |
| sv | Swedish | X | X | | X | X |
| tl | Tagalog | X | X | | | |
| tl | Tagalog | X | X | | | X |
| tg | Tajik | | X | | | |
| ta | Tamil | X | X | | X | X |
| tt | Tatar | | X | | | |
Expand Down Expand Up @@ -151,6 +151,7 @@ Languages not included in this list can be still supported, but without stemming
| Slovenian (sl) | X | | |
| Spanish (es) | X | X | |
| Swedish (sv) | X | | |
| Tagalog (tl) | X | | |
| Tamil (ta) | X | | |
| Thai (th) | X | | |

Expand Down
1 change: 1 addition & 0 deletions packages/lang-tl/src/sentiment/afinn_tl.json

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion packages/lang-tl/src/sentiment/sentiment_tl.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,11 @@
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

const afinn = require('./afinn_tl.json');
const negations = require('./negations_tl.json');

module.exports = {
afinn: undefined,
afinn,
pattern: undefined,
senticon: undefined,
negations,
Expand Down

0 comments on commit 23abae0

Please sign in to comment.