国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看

合肥生活安徽新聞合肥交通合肥房產(chǎn)生活服務(wù)合肥教育合肥招聘合肥旅游文化藝術(shù)合肥美食合肥地圖合肥社保合肥醫(yī)院企業(yè)服務(wù)合肥法律

CISC3025代做、代寫Java,c++設(shè)計(jì)編程

時(shí)間:2024-02-07  來源:合肥網(wǎng)hfw.cc  作者:hfw.cc 我要糾錯(cuò)



CISC3025 - Natural Language Processing
Project #1, 2023/2024
(Due date: 5th February, 2024)
Project Rule
This is an individual course project. You are strongly recommended to commence work on
each assignment task of the project soon after it is announced in class/UMMoodle. Students are
free to discuss the project, but they are not permitted to share any code and report.
Problem Description
This assignment asks you to implement a sequence comparison algorithm (e.g., Levenshtein
Distance). Given   = "AACGCA" and   = "GAGCTA", the objective is to match identical
subsequences as far as possible through alignment. It can be seen as a way to transforming one
sequence into the other with the substitution, insertion, and deletion of characters. The cost of
operations is considered as:
Ÿ    ( ,  ) = 0       ∈ ∑;
Ÿ    ( ,  ) = 2      ,   ∈ ∑       ≠  ;
Ÿ    ( ) =    ( ) = 1       ∈ ∑.
In the following example, three operations are applied for aligning the two sequences, i.e.,
   ( ,  ),    ( ), and    ( ). Hence, the minimum cost for such transformation is 4.
 M
The similarity of two sequences can be defined as the best score among possible alignment
between them, i.e. the minimum cost or minimum edit distance. The computation of such
alignment between two sequences can be efficiently solved by using dynamic programming
approach based on scoring matrix (Table 1):
DynamicProgramming(x, m, y, n)
1. T[-1,-1] ¬ 0
2. for j ¬ 0 to n - 1
3. do T[-1, j] ¬ T[-1, j - 1] + Ins(yj)
4. for i ¬ 0 to m - 1
5. do T[i, -1] ¬ T[i -1, - 1] + Del(xi)
6. for j ¬ 0 to n - 1
7. do T[i, j] ¬ min{ T[i-1, j - 1] + Sub(xi, yj),
8. T[i-1, j] + Del(xi),
9. T[i, j - 1] + Ins(yj)}
10. return T[m - 1, n - 1]
 ( , ) # G A G C T A
Table 1. Scoring matrix
More information regarding dynamic programming and scoring matrix can be found in Chapter
1 & Chapter 2 of [1] and [2].
Requirements
1. You are asked to implement the dynamic programming algorithm in Python. Input to the
program are two strings and the minimum cost is output as the comparison result, followed
by a possible alignment between the two strings.
The following shows a scenario of the input and outputs:
> AACGCA
> GAGCTA
The cost is: 4
An possible alignment is:
A A C G C - A
| | | | | | |
G A – G C T A
2. Extend your program to deal with sentence by taking words as the comparison units instead
of letters.
The following shows a scenario of the input and outputs:
> I love natural language processing
> I really like natural language processing course
The cost is: 4
An possible alignment is:
I love − natural language processing −
| | | | | | |
I really like natural language processing course
3
3. Write a function to compute the similarities between words in batch mode and store your
results in a file.
In the input file “word_corpus.txt”, each row contains a word and a symbol, ‘R’, or ‘H’,
indicating the correct Reference and the Hypothesis, respectively. Your program compares
each hypothesis to the reference, and appends the minimum edit distance to the
corresponding hypothesisin the output file, as shown in the following diagram. The number
of the hypotheses for each reference may be varied. The name of the output file should be
“word_edit_distance.txt”.
4. Write a similar function to compute the similarities between sentences in batch mode
“sentence_corpus.txt” and store your results in a file “sentence_edit_distance.txt”. The
References and Hypotheses are arranged in a similar way as in Requirement (3). Note, the
number of hypotheses for each reference is constant.
The Starter Code
The starter code is in the edit_distance.py. To make it easier for you to do this project, we
provide a starter code written in python. If you enter into the folder “Assignment#1” and
execute the following command:

The program will execute the function word_edit_distance( ) to calculate the edit distance
and the alignment, then output the result to the command line using the output_alignment
function( ).
Similarly, you can use the following command to test your implemented
sentence_edit_distance( ) function:
For Requirements (3) and (4), you can run the following command to specify the name of
input and output files:
Input file:
R satisfaction
H satisfacion
H satesfaction
H satisfation
H satiusfacson
.
.
.
Output file:
R satisfaction
H satisfacion 1
H satesfaction 2
H satisfation 1
H satiusfacson 4
.
.
.
$python edit_distance.py -w ‘word1’ ‘word2’
$python edit_distance.py -s ‘sentence1’ ‘sentence2’
4
The output_alignment( ) function has been already implemented to show the alignments in
a proper format.
Submissions
You need to submit the following materials:
1. Runnable program and source code;
2. A brief report containing the following contents:
• Introduction: Clearly state the goal of your project. Explain why the project is both
important and interesting in the context of NLP.
• Background: Briefly introduce one or two fundamental NLP concepts that are central
to your project.
• Approach & Challenges: Summarize your methodological approach in one concise
paragraph. Identify one significant challenge you encountered and describe how you
addressed it.
• Results: Summarize the outcomes of your project, highlighting the main findings.
• Conclusion: Reflect briefly on what you learned from the project and what was
accomplished.
3. The output files.
References
[1] C. Charras and T. Lecroq, Sequence Comparison. Université de Rouen.
(https://www.researchgate.net/profile/Thierry_Lecroq/publication/2783**5_Sequence_Com
parison/links/09e41**d23e64eb7000000.pdf)
[2] http://ultrastudio.org/en/Dynamic%20programming%20table
$python edit_distance.py -bw ‘inputfile’ ‘outputfile’
$python edit_distance.py -bs ‘inputfile’ ‘outputfile’

如有需要,請(qǐng)加QQ:99515681 或WX:codehelp

掃一掃在手機(jī)打開當(dāng)前頁(yè)
  • 上一篇:代做Micro Language Compiler
  • 下一篇:CS 61程序代做、代寫C/C++編程設(shè)計(jì)
  • 無相關(guān)信息
    合肥生活資訊

    合肥圖文信息
    流體仿真外包多少錢_專業(yè)CFD分析代做_友商科技CAE仿真
    流體仿真外包多少錢_專業(yè)CFD分析代做_友商科
    CAE仿真分析代做公司 CFD流體仿真服務(wù) 管路流場(chǎng)仿真外包
    CAE仿真分析代做公司 CFD流體仿真服務(wù) 管路
    流體CFD仿真分析_代做咨詢服務(wù)_Fluent 仿真技術(shù)服務(wù)
    流體CFD仿真分析_代做咨詢服務(wù)_Fluent 仿真
    結(jié)構(gòu)仿真分析服務(wù)_CAE代做咨詢外包_剛強(qiáng)度疲勞振動(dòng)
    結(jié)構(gòu)仿真分析服務(wù)_CAE代做咨詢外包_剛強(qiáng)度疲
    流體cfd仿真分析服務(wù) 7類仿真分析代做服務(wù)40個(gè)行業(yè)
    流體cfd仿真分析服務(wù) 7類仿真分析代做服務(wù)4
    超全面的拼多多電商運(yùn)營(yíng)技巧,多多開團(tuán)助手,多多出評(píng)軟件徽y1698861
    超全面的拼多多電商運(yùn)營(yíng)技巧,多多開團(tuán)助手
    CAE有限元仿真分析團(tuán)隊(duì),2026仿真代做咨詢服務(wù)平臺(tái)
    CAE有限元仿真分析團(tuán)隊(duì),2026仿真代做咨詢服
    釘釘簽到打卡位置修改神器,2026怎么修改定位在范圍內(nèi)
    釘釘簽到打卡位置修改神器,2026怎么修改定
  • 短信驗(yàn)證碼 寵物飼養(yǎng) 十大衛(wèi)浴品牌排行 suno 豆包網(wǎng)頁(yè)版入口 wps 目錄網(wǎng) 排行網(wǎng)

    關(guān)于我們 | 打賞支持 | 廣告服務(wù) | 聯(lián)系我們 | 網(wǎng)站地圖 | 免責(zé)聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網(wǎng) 版權(quán)所有
    ICP備06013414號(hào)-3 公安備 42010502001045

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    欧美精品福利在线| 99精品一级欧美片免费播放| 日韩欧美一区二区三区久久婷婷| 美女日批免费视频| 国产成人亚洲综合无码| 九九热精品视频| 欧美亚洲色图视频| 久青草视频在线播放| 九九综合九九综合| 国产一区二中文字幕在线看| 日韩专区在线观看| 视频一区二区视频| 成人在线免费观看一区| 国产精品日韩在线观看| 欧洲亚洲免费视频| 国产脚交av在线一区二区| 久久的精品视频| 国产在线播放91| 久久香蕉国产线看观看av| 国产伊人精品在线| 欧美乱人伦中文字幕在线| 国产亚洲精品美女久久久m| 欧美精品一区三区| 国产免费一区二区三区在线观看 | 精品欧美一区二区精品久久| 久久精品国产69国产精品亚洲 | 久久最新免费视频| 亚洲精品免费一区二区三区| 91国产在线精品| 三年中国中文在线观看免费播放 | 久久精品视频免费播放| 精品欧美日韩| 欧美精品一区二区三区国产精品| 国产日韩精品一区观看| 一区二区三区久久网| 成人毛片100部免费看| 亚洲欧美日韩精品综合在线观看 | 欧美巨大黑人极品精男| 国产精品亚发布| 亚洲三区在线观看| 久久精品二区| 激情五月五月婷婷| 精品免费日产一区一区三区免费 | 国产精品中文久久久久久久| 亚洲一区二区三区毛片| 久久久久久人妻一区二区三区| 欧美亚洲国产另类| 色综合久综合久久综合久鬼88 | 欧美一区亚洲一区| 国产精品久久久久久搜索| 国产欧美日韩最新| 欧美一区二区三区图| 久久精品国产理论片免费| 欧美连裤袜在线视频| 欧美精品久久久久久久久 | 亚洲不卡中文字幕无码| 久久99精品久久久久久三级| 欧美xxxx黑人又粗又长精品| 在线视频一二三区| 久久精品日产第一区二区三区| 男人亚洲天堂网| 亚洲精品欧美极品| 国产精品国内视频| 久久青青草原| 免费毛片一区二区三区久久久| 中文字幕久久一区| 色777狠狠综合秋免鲁丝| 国产欧美韩日| 日韩精品欧美专区| 亚洲一区二区不卡视频| 北条麻妃在线一区二区| 国产免费视频传媒| 日韩精品电影网站| 一本一道久久久a久久久精品91| 色婷婷久久一区二区| 99爱精品视频| 精品少妇一区二区三区在线| 日本一区二区三区视频在线播放| 欧美xxxx综合视频| 国产成人一区二| 国产在线视频不卡| 日韩欧美电影一区二区| 亚洲在线色站| 国产精品视频免费观看www| 91免费在线观看网站| 黄色国产一级视频| 日韩视频在线观看国产| 亚洲综合精品一区二区| 国产精品久久久久久久久免费| 久久av一区二区三区漫画| 99中文字幕| 日韩欧美在线一区二区| 亚洲乱码日产精品bd在线观看| 久久夜色精品国产亚洲aⅴ| 国产成人一区二区在线| 国产精品一区二区三区免费视频| 国内精品视频久久| 欧美一级爱爱| 热久久这里只有精品| 欧美一区二区三区四区在线观看地址| 久99九色视频在线观看| 国产精品后入内射日本在线观看| 神马国产精品影院av| 久久免费视频网| 91久久嫩草影院一区二区| 青草青草久热精品视频在线观看 | 久久国产成人精品国产成人亚洲| 国产剧情日韩欧美| 国内精品在线一区| 免费在线观看一区二区| 欧美精品一区二区三区在线看午夜| 日韩精品欧美一区二区三区| 日日夜夜精品网站| 无码中文字幕色专区| 亚洲成色www久久网站| 亚洲 日韩 国产第一区| 午夜视频久久久| 亚洲影视中文字幕| 宅男一区二区三区| 一区二区三区四区国产| 中文字幕中文字幕一区三区 | 天天夜碰日日摸日日澡性色av| 亚洲精品人成| 日韩一区二区三区高清| 午夜久久久久久久久久久| 亚洲欧美日韩在线综合| 五月婷婷一区| 亚洲aⅴ日韩av电影在线观看| 久久99久久久久久久噜噜| 在线丝袜欧美日韩制服| 亚洲一区二区三区毛片| 无码人妻精品一区二区三区99v| 婷婷五月综合缴情在线视频| 亚洲激情电影在线| 日本国产精品视频| 精品日本一区二区| 国产欧美久久久久| 91免费国产精品| 分分操这里只有精品| 99久久久精品视频| 久久人人97超碰精品888| 日韩中文av在线| 国产精品免费一区二区三区在线观看| 深夜成人在线观看| 国产精品久久不能| 欧美极品美女电影一区| 亚洲精品欧洲精品| 日本一区免费在线观看| 欧美日韩在线高清| 国产伦精品一区二区三区免费视频| 91麻豆天美传媒在线| 国产成人成网站在线播放青青| www日韩欧美| 美女国内精品自产拍在线播放| 亚洲一卡二卡| 日韩久久久久久久| 国产欧美在线一区| 久久精品在线免费视频| 色妞色视频一区二区三区四区| 国产精品黄视频| 亚洲精蜜桃久在线| 精品免费一区二区三区蜜桃| www.浪潮av.com| 久久久精品视频成人| 久久久久久av| 亚洲精品国产精品国自产观看| 日韩欧美不卡在线| 国产乱淫av片杨贵妃| 久久精品aaaaaa毛片| 久久亚洲国产成人| 日韩影院一区| 免费精品视频一区二区三区| 91高清视频免费| 国产成人精品视频在线观看| 欧美日韩成人黄色| 人人妻人人做人人爽| 国产麻花豆剧传媒精品mv在线| 久久www视频| 伊人久久在线观看| 欧美精品卡一卡二| 国产精品av免费观看| 国产精品美女xx| 日本久久91av| 成人中文字幕在线观看| 国产精品嫩草视频| 日本久久久久久久久| 国产精品一区二区三区久久| 久久久国产一区| 亚洲精品在线免费看| 国产一区深夜福利| 北条麻妃在线一区二区| 懂色av一区二区三区四区五区| 国产中文字幕亚洲| 日韩有码在线视频| 午夜精品久久久久久久男人的天堂| 国产日韩欧美在线视频观看| 久久久精品一区二区| 日本视频一区二区不卡| 91精品国产高清久久久久久91裸体| 欧美成人免费在线观看|