Skip to content

Commit

Permalink
feat: Thai sentiment analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesus Seijas committed Oct 7, 2020
1 parent 6bfc1b9 commit f5a1ad2
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 @@ -103,7 +103,7 @@ Languages not included in this list can be still supported, but without stemming
| ta | Tamil | X | X | | X | X |
| tt | Tatar | | X | | | |
| te | Telugu | | X | | | |
| th | Thai | X | X | | X | |
| th | Thai | X | X | | X | X |
| tr | Turkish | X | X | | X | |
| uk | Ukrainian | X | X | | X | |
| ur | Urdu | | X | | | |
Expand Down Expand Up @@ -152,6 +152,7 @@ Languages not included in this list can be still supported, but without stemming
| Spanish (es) | X | X | |
| Swedish (sv) | X | | |
| Tamil (ta) | X | | |
| Thai (th) | X | | |

## Comparision with other NLP products

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

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion packages/lang-th/src/sentiment/sentiment_th.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_th.json');
const negations = require('./negations_th.json');

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

0 comments on commit f5a1ad2

Please sign in to comment.