GithubHelp home page GithubHelp logo

kesf-i-lisan / acikhack2-covid-19-uygulamasi Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 10.03 MB

Acik Hack Turkce Dogal Dil İsleme Online Yarisma Programi Kapsaminda COVID-19 Pandemisine İliskin Sunulan NLP Cozumu

License: MIT License

Python 33.13% Jupyter Notebook 66.87%
acikhack2 covid-19 covid19 koronavirus coronavirus coronavirus-info turkey nlp

acikhack2-covid-19-uygulamasi's People

Contributors

cankorkut avatar kursatcakal avatar

Stargazers

 avatar  avatar

Watchers

 avatar

acikhack2-covid-19-uygulamasi's Issues

Text_Summarization>python bert_sum.py hatası

(base) D:\AcikHack\github\AcikHack2-COVID-19-Uygulamasi\Text_Summarization>python bert_sum.py
Traceback (most recent call last):
File "bert_sum.py", line 4, in
df = pd.read_csv("./dataframe.csv",encoding="utf-8-sig")
File "D:\ProgramData\Anaconda3\lib\site-packages\pandas\io\parsers.py", line 676, in parser_f
return _read(filepath_or_buffer, kwds)
File "D:\ProgramData\Anaconda3\lib\site-packages\pandas\io\parsers.py", line 448, in _read
parser = TextFileReader(fp_or_buf, **kwds)
File "D:\ProgramData\Anaconda3\lib\site-packages\pandas\io\parsers.py", line 880, in init
self._make_engine(self.engine)
File "D:\ProgramData\Anaconda3\lib\site-packages\pandas\io\parsers.py", line 1114, in _make_engine
self._engine = CParserWrapper(self.f, **self.options)
File "D:\ProgramData\Anaconda3\lib\site-packages\pandas\io\parsers.py", line 1874, in init
src = open(src, "rb")
FileNotFoundError: [Errno 2] No such file or directory: './dataframe.csv'

Text_Classification Classifier.ipynb hatası

Merhaba,

Aşağıdaki kodu colab'de çalıştırınca aşağıdaki hata alınıyor.
Google drive bağlandığında da aşağıdaki hata alınacaktır. Path'de content/small/dunya .. diye geçiyor.

nltk.download('punkt')
training_data=data.TabularDataset(path = 'dataset.csv',format = 'csv',fields = fields,skip_header = True)

[nltk_data] Downloading package punkt to /root/nltk_data...
[nltk_data] Unzipping tokenizers/punkt.zip.

FileNotFoundError Traceback (most recent call last)
in ()
1 nltk.download('punkt')
----> 2 training_data=data.TabularDataset(path = 'dataset.csv',format = 'csv',fields = fields,skip_header = True)

5 frames
in tokenize(text)
6 text = text.replace("\","/")
7 text = text.replace("./","/content/")
----> 8 text = open(text,"r",encoding="utf-8").readlines()
9 text = ' '.join(map(str, text))
10 regex = re.compile('[' + re.escape(string.punctuation) + '0-9\r\t\n]')

FileNotFoundError: [Errno 2] No such file or directory: '/content/small/dunya/1420.txt'

Text_Scraping klasöründeki script'ler çalışmıyor.

Merhaba,

Aşağıdaki script için aşağıdaki hata alınıyor.

(base) D:\AcikHack\github\AcikHack2-COVID-19-Uygulamasi\Text_Scraping>python linkten_metin_getir_Milliyet.py
list index out of range
list index out of range
list index out of range
list index out of range
list index out of range
list index out of range
list index out of range
list index out of range
Traceback (most recent call last):
File "D:\ProgramData\Anaconda3\lib\site-packages\httplib2_init_.py", line 1557, in conn_request
conn.connect()
File "D:\ProgramData\Anaconda3\lib\site-packages\httplib2_init
.py", line 1305, in connect
address_info = socket.getaddrinfo(host, port, 0, socket.SOCK_STREAM)
File "D:\ProgramData\Anaconda3\lib\socket.py", line 752, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno 11001] getaddrinfo failed

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "linkten_metin_getir_Milliyet.py", line 71, in
status, req = http.request(url)
File "D:\ProgramData\Anaconda3\lib\site-packages\httplib2_init_.py", line 1994, in request
cachekey,
File "D:\ProgramData\Anaconda3\lib\site-packages\httplib2_init_.py", line 1651, in request
conn, request_uri, method, body, headers
File "D:\ProgramData\Anaconda3\lib\site-packages\httplib2_init
.py", line 1564, in _conn_request
raise ServerNotFoundError("Unable to find the server at %s" % conn.host)
httplib2.ServerNotFoundError: Unable to find the server at www.cnnturk.com%0a

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.