tafseer-nayeem / bengalisummarization Goto Github PK
View Code? Open in Web Editor NEW[EACL 2021] - Unsupervised Abstractive Summarization of Bengali Text Documents.
License: MIT License
[EACL 2021] - Unsupervised Abstractive Summarization of Bengali Text Documents.
License: MIT License
Added ".decode('utf-8')" in multiple places. Still getting error.
Networkx==1.11 is in use. Please give me some solution
This is the stacktrace
`Traceback (most recent call last):
File "D:/PhD_study/Bengali Summarization/BengaliSummarization-main/Code/AbstractiveSummarizer/abstractiveSummarizer.py", line 53, in
summary = getSummary(filenamee)
File "D:/PhD_study/Bengali Summarization/BengaliSummarization-main/Code/AbstractiveSummarizer/abstractiveSummarizer.py", line 27, in getSummary
summary_lines = wordgraph.takeinput(filename[k])
File "D:\PhD_study\Bengali Summarization\BengaliSummarization-main\Code\AbstractiveSummarizer\wordgraph.py", line 104, in takeinput
pathList = summary(sentences)
File "D:\PhD_study\Bengali Summarization\BengaliSummarization-main\Code\AbstractiveSummarizer\wordgraph.py", line 23, in summary
compresser.write_dot('test2.dot')
File "D:\PhD_study\Bengali Summarization\BengaliSummarization-main\Code\AbstractiveSummarizer\takahe2.py", line 921, in write_dot
nx.nx_pydot.write_dot(self.graph, dotfile)
File "D:\Soft_Install\anaconda3\pkgs\python-3.8.8-hdbf39b2_5\lib\site-packages\decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "D:\Soft_Install\anaconda3\pkgs\python-3.8.8-hdbf39b2_5\lib\site-packages\networkx\utils\decorators.py", line 220, in _open_file
result = func(*new_args, **kwargs)
File "D:\Soft_Install\anaconda3\pkgs\python-3.8.8-hdbf39b2_5\lib\site-packages\networkx\drawing\nx_pydot.py", line 44, in write_dot
path.write(P.to_string())
File "D:\Soft_Install\anaconda3\pkgs\python-3.8.8-hdbf39b2_5\lib\encodings\cp1252.py", line 19, in encode
return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode characters in position 136-142: character maps to
Process finished with exit code 1`
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.