Giter VIP home page Giter VIP logo

sinling's Issues

Add POS Tagger

Performance of the POS tagger is too low on the OOV words in sentences.

Sentence splitter changes some letters in the text

Input text = "ශ්‍රී ලංකන් ගුවන් සේවය පිළිබඳව අධ්‍යයනය කර වාර්තාවක් සැපයීම සඳහා වරාය හා ගුවන් සේවා අමාත්‍යවරයා විසින් පත් කළ ජේ.සී. වැලිඅමුණ කමිටුව සිය වාර්තාව අග්‍රාමාත්‍ය රනිල් වික්‍රමසිංහ වෙත ඊයේ භාරදුන්නා. ඒ අරලියගහ මන්දිරයේ පැවති උත්සවයකදියි."

Output text = "ශ්රී ලංකන් ගුවන් සේවය පිළිබඳව අධ්යයනය කර වාර්තාවක් සැපයීම සඳහා වරාය හා ගුවන් සේවා අමාත්යවරයා විසින් පත් කළ ජේ.සී. වැලිඅමුණ කමිටුව සිය වාර්තාව අග්රාමාත්ය රනිල් වික්රමසිංහ වෙත ඊයේ භාරදුන්නා
ඒ අරලියගහ මන්දිරයේ පැවති උත්සවයකදියි"

The highlighted words in the input are changed in the output text.

NLTK package missing

Hi there, I was exploring the library. Trying to install it via pip with conda env. and I'm getting ModuleNotFoundError

ModuleNotFoundError: No module named 'nltk'

version : sinling 0.3.5
environment : conda
os : BSD

Thank you for the library 👍

Sentence splitter splits sentences in a false manner

When the content contains names like එම්. ඩබ්. ඒ. ඒ. විජේසූරිය, the sentences are broken in the middle of the names.
As an example when the following content in used as the input,

`මධ්‍යම ආරක්‍ෂක සේනා මූලස්ථානය යටතේ සේවයෙන් නියුතු යුද්ධ හමුදා නිලධාරින් සඳහා ‘අන්තර් ජාතික මානූෂිය නීතිය’ පිළිබඳ වැඩමුළුවක් බදාදා (31) වන දින දියතලාව ස්වේච්ඡා බලසේනා පුහුණු පාසල (VFTS) හිදී පැවැත්විය. ඒ සඳහා 112 වන බලසේනාවේ බළසේනාධිපති බ්‍රිගේඩියර් එම්. ඩබ්. ඒ. ඒ. විජේසූරිය සහ 121 වන බලසේනාවේ බළසේනාධිපති බ්‍රිගේඩියර් එන්. සී. සෝමවීර ඇතුළු යුද්ධ හමුදා නිලධාරීන් 20 ක් මෙම වැඩමුළුව සඳහා සහභාගී වුහ. මෙම වැඩමුළුව රතු කුරුස සංවිධානයේ කලාපීය සහ ආරක්‍ෂක හමුදා නියෝජිතයා වන ජැක් ලෙමා මහතා (Mr Jacques Lemay) සහ රතු කුරුස සංවිධානයේ සන්නිවේදන නිලධාරි චන්න ජයවර්ධන යන මහත්වරුන් විසින් මෙහෙයවනු ලැබීය."`

the output is,

['මධ්යම ආරක්ෂක සේනා මූලස්ථානය යටතේ සේවයෙන් නියුතු යුද්ධ හමුදා නිලධාරින් සඳහා ‘අන්තර් ජාතික මානූෂිය නීතිය’ පිළිබඳ වැඩමුළුවක් බදාදා (31) වන දින දියතලාව ස්වේච්ඡා බලසේනා පුහුණු පාසල (VFTS) හිදී පැවැත්විය. ඒ සඳහා 112 වන බලසේනාවේ බළසේනාධිපති බ්රිගේඩියර් එම්. ඩබ්', 'ඒ. ඒ. විජේසූරිය සහ 121 වන බලසේනාවේ බළසේනාධිපති බ්රිගේඩියර් එන්. සී. සෝමවීර ඇතුළු යුද්ධ හමුදා නිලධාරීන් 20 ක් මෙම වැඩමුළුව සඳහා සහභාගී වුහ', 'මෙම වැඩමුළුව රතු කුරුස සංවිධානයේ කලාපීය සහ ආරක්ෂක හමුදා නියෝජිතයා වන ජැක් ලෙමා මහතා (Mr Jacques Lemay) සහ රතු කුරුස සංවිධානයේ සන්නිවේදන නිලධාරි චන්න ජයවර්ධන යන මහත්වරුන් විසින් මෙහෙයවනු ලැබීය.']

Issue with \u200d zero width joiner in tokenizer

Incorrect tokenizer returns with \u200d.

Input text = 'ගුඩ් මෝනින් ෆ්‍රෙන්ස්!'
tokenizer return = ['ගුඩ්', 'මෝනින්', 'ෆ්\u200dරෙන්ස්', '!']

The issue occurs with other words such as 'ප්\u200dරකාශක', 'සාමාන්\u200dය', 'සත්\u200dය'.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.