Fake-news-detector

所属分类:其他
开发工具:Python
文件大小:0KB
下载次数:0
上传日期:2021-11-16 13:39:41
上 传 者sh-1993
说明:  假新闻检测器,,
(Fake news detector,,)

文件列表:
LICENSE (1580, 2021-11-16)
app.yaml (1788, 2021-11-16)
config.py (3697, 2021-11-16)
factcode/ (0, 2021-11-16)
factcode/CrawlMorpheme/ (0, 2021-11-16)
factcode/CrawlMorpheme/JPype1-1.1.2-cp39-cp39-win_amd64.whl (1611093, 2021-11-16)
factcode/CrawlMorpheme/JPype1-1.3.0-cp39-cp39-win_amd64.whl (362020, 2021-11-16)
factcode/CrawlMorpheme/crawlbs.py (6708, 2021-11-16)
factcode/CrawlMorpheme/crawlmorpheme.py (13923, 2021-11-16)
factcode/CrawlMorpheme/crawlsl.py (521, 2021-11-16)
factcode/Optimization/ (0, 2021-11-16)
factcode/Optimization/causal.py (4487, 2021-11-16)
factcode/Optimization/conjunction.py (2237, 2021-11-16)
factcode/Optimization/sqlsearch.py (3637, 2021-11-16)
factcode/Optimization/sudden.py (5196, 2021-11-16)
factcode/PositivityCheck/ (0, 2021-11-16)
factcode/PositivityCheck/negative_words_self.txt (592, 2021-11-16)
factcode/PositivityCheck/positive_words_self.txt (358, 2021-11-16)
factcode/PositivityCheck/positivity_test.py (2648, 2021-11-16)
factcode/PositivityCheck/positivity_train.py (4965, 2021-11-16)
factcode/PositivityCheck/test_dataset_1007.csv (112632, 2021-11-16)
factcode/PositivityCheck/train_dataset_1007.csv (458130, 2021-11-16)
factcode/StringProcess/ (0, 2021-11-16)
factcode/StringProcess/__pycache__/ (0, 2021-11-16)
factcode/StringProcess/__pycache__/propernoun.cpython-36.pyc (3878, 2021-11-16)
factcode/StringProcess/__pycache__/propernoun.cpython-39.pyc (3945, 2021-11-16)
factcode/StringProcess/__pycache__/summaries.cpython-36.pyc (4869, 2021-11-16)
factcode/StringProcess/__pycache__/summaries.cpython-39.pyc (4784, 2021-11-16)
factcode/StringProcess/propernoun.py (5940, 2021-11-16)
factcode/StringProcess/summaries.py (5909, 2021-11-16)
factcode/__init__.py (3000, 2021-11-16)
factcode/crud.py (2627, 2021-11-16)
factcode/model_cloudsql.py (5246, 2021-11-16)
factcode/model_factcheck.py (11357, 2021-11-16)
factcode/provocative_title.py (2132, 2021-11-16)
factcode/publicity_article.py (4925, 2021-11-16)
factcode/republishing_same.py (2566, 2021-11-16)
factcode/settingbox.py (1518, 2021-11-16)
factcode/static/ (0, 2021-11-16)
... ...

Fake-news-detector

TEAM DISFACTCH: Fake News Detector

. , . . . . . * . * . ( ) * . #### Usage 1. 2021 SW . 2. , , . 3. : https://www.youtube.com/watch?v=LSB7qDMyUcc # Preview

# Developer |Name|Byeongho Hwang|Subin Kim|Yunji Lee|Hanna Jeon| |:--|:--:|:--:|:--:|:--:| |**Role**|Sudden
SQL Search
Function Gathering
webpage|Conjunction
Crawling(bs)
Word2Vec|Causal
Propernoun|Summaries
Positivity Check| # Function ### Factchecking Algorithm , . , , / . * System 1: * System 2: * System 3: /factcode/model_factcheck.py , /factcode/provocative_title.py, /factcode/publicity_article.py, /factcode/republishing_same.py . factcode . ### Web page /factcode/crud.py template static/css folder . # Structure , . flask HTML5 python , tensorflow .

.

, , . , . , , . , , . , . , . , . ### System 1:

. * ? * ? , . ### System 2:

. , . . * , / ? input , 3, 4 . , . ### System 3:

, . , . , . . * ? * ? ( 1000 .) * ? input , 5, , . 5 . ### .

# Work Flow ### STEP 1: Google Cloud Platform Settings 1. Install Google Cloud SDK: https://cloud.google.com/sdk/docs/install 2. Install Anaconda: https://www.anaconda.com/products/individual-d 3. (Optional) Create database in Google Cloud SQL 4. (Optional) Edit database, sql, python files in (config.py, app.yaml, tox.ini) 5. Turn ON the SQL instance on Google Cloud Platform (This has to be done by authenticator) ### STEP 2: Install Requirements 1. On Anaconda Prompt (Anaconda3) ``` conda create -n [Your name for environment] python=[Your python version] anaconda ``` For example, ``` conda create -n factchecker python=3.6.13 anaconda ``` 2. Find your directory to this project 3. Install requirements ``` pip install -r requirements.txt ``` ### STEP 3: KoNLPy, WordtoVec Settings 1. Install chrome driver for your version: https://chromedriver.chromium.org/downloads 2. Install ko.bin, ko.tsv here: https://github.com/Kyubyong/wordvectors 3. Put your chrome driver .exe file to ``` .../selenium ``` 4. Put your ko.bin, ko.tsv file to ``` .../factcode/CrawlMorpheme/content ``` 5. Make JAVA HOME Settings for usual KoNLPy settings (Environmental Variables) 6. Install JPype that fits your python: https://www.lfd.uci.edu/~gohlke/pythonlibs/#jpype , do the pip installation ``` pip install [Your Jpype filename] ``` For example, ``` pip install JPype11.3.0cp310cp310win_amd64.whl ``` ### STEP 4: Directory Settings 1. Go to the file /factcode/settingbox.py There are three directories for the setting, only 'Absolute path' works. 2. Run settingbox.py ### STEP 5: Local Machine Running 1. Setup SDK ``` cloud_sql_proxy.exe -instances="fake-news-base:asia-northeast3:fakenews"=tcp:3306 ``` 2. Setup Anaconda Prompt, go to environment you made, then go to exact project file 3. Create Table ``` python factcode\model_cloudsql.py ``` 4. Run main ``` python main.py ``` ### STEP 6: Update Application ``` gcloud app deploy ``` # License ### 1. Team DISFACTCH For all structure of this project, Copyright 2021 Team Disfactch - Byeongho Hwang, Subin Kim, Yunji Lee, Hanna Jeon https://opensource.org/licenses/BSD-3-Clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. This Software is provided by the copyright holders and contributors "AS IS" and any express or implied warranties, including, but not limited to, the implied warranties of merchantability ad fitness for a particular purpose are disclaimed. In no event shall the copyright holder or contributors be liable for any direct, indirect, incidential, special, exemplary, or consequential damages (including, but not limited to, procurement of substitute goods or services; Loss of use, data, or profits; Or business interuption) however caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this software, even if advised of the possibility of such damage. ### 2. Google Inc. For Database connection and html base sturcture, Copyright 2015 Google Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ### 3. For Positivity model, ``` https://somjang.tistory.com/entry/Keras%EA%B8%B0%EC%82%AC-%EC%A0%9C%EB%AA%A9%EC%9D%84-%EA%B0%80%EC%A7%80%EA%B3%A0-%EA%B8%8D%EC%A0%95-%EB%B6%80%EC%A0%95-%EC%A4%91%EB%A6%BD-%EB%B6%84%EB%A5%98%ED%95%98%EB%8A%94-%EB%AA%A8%EB%8D%B8-%EB%A7%8C%EB%93%A4%EC%96%B4%EB%B3%B4%EA%B8%B0 ``` No license mentioned

近期下载者

相关文件


收藏者