akoksal / turkish-lemmatizer Goto Github PK
View Code? Open in Web Editor NEWLemmatization for Turkish Language
Lemmatization for Turkish Language
According to my see there is a method for add new dictionary to a dictionary in the file named of "trainLexicon.py". But I want add a word to dictionary. Because, this library couldn't found the word I'm searched. Also, there are some numbers in the dictionary. What are these? How can I set this numbers when I add a word to dictionary.
These are my example codes:
import importlib
import sys,os
sys.path.insert(1, os.path.normpath(os.path.join(sys.path[0],'../../Datafunctions/DataProviders')))
print(sys.path[1])
import Common
importlib.reload(Common)
from Common import *
import trainLexicon
import lemmatizer
lemmatizer.suggest("ventrikülü")
result: ve_1
ps=Persistency()
dt=ps.load_data("datasets/zargan.pkl")
dt
{'refet': 597,
'taksir': 770,
'çoğu': 80081,
'azotlu': 216,
'anlaşma': 141137,
'dhkp': 2449,
'annemler': 554,
'toparlacık': 1,
'çamlıca': 2133,
'uçak': 109679,
'cenup': 84,
'özoğuz': 232,
'tannan': 2,
'gönençli': 55,
'kahır': 1007,
...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.