kesf-i-lisan / acikhack2-covid-19-uygulamasi Goto Github PK
View Code? Open in Web Editor NEWAcik Hack Turkce Dogal Dil İsleme Online Yarisma Programi Kapsaminda COVID-19 Pandemisine İliskin Sunulan NLP Cozumu
License: MIT License
Acik Hack Turkce Dogal Dil İsleme Online Yarisma Programi Kapsaminda COVID-19 Pandemisine İliskin Sunulan NLP Cozumu
License: MIT License
(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'
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)
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'
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
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.