mirror of
				https://gitlab.ub.uni-bielefeld.de/sfb1288inf/cqpserver.git
				synced 2025-10-31 10:42:46 +00:00 
			
		
		
		
	Add documentation and example vrt files.
This commit is contained in:
		
							
								
								
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							| @@ -3,5 +3,4 @@ cqpserver.init | ||||
|  | ||||
| # Directories | ||||
| data | ||||
| files | ||||
| registry | ||||
|   | ||||
							
								
								
									
										22
									
								
								docs/note.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								docs/note.txt
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,22 @@ | ||||
| # Enter bash in cqpwebserver | ||||
| docker exec -it cqperver_cqpserver_1 /bin/bash | ||||
|  | ||||
| ## Encode example corpus | ||||
| cwb-encode -d /corpora/data/example \ | ||||
|            -f /root/files/example.vrt \ | ||||
|            -R /usr/local/share/cwb/registry/example \ | ||||
|            -P pos -P lemma \ | ||||
|            -S s | ||||
| cwb-make -V EXAMPLE | ||||
| cwb-describe-corpus EXAMPLE | ||||
|  | ||||
| ## Encode utopien corpus | ||||
| cwb-encode -d /corpora/data/utopien \ | ||||
|            -f /root/files/utopien.vrt \ | ||||
|            -sxB \ | ||||
|            -R /usr/local/share/cwb/registry/utopien \ | ||||
|            -P lemma -P pos \ | ||||
|            -S text:0+title -S s \ | ||||
|            -0 corpus | ||||
| cwb-make -V UTOPIEN | ||||
| cwb-describe-corpus UTOPIEN | ||||
							
								
								
									
										7
									
								
								files/example.vrt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								files/example.vrt
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,7 @@ | ||||
| <s> | ||||
| It	PP	it | ||||
| was	VBD	be | ||||
| an	DT	an | ||||
| elephant	NN	elephant | ||||
| .	SENT	. | ||||
| </s> | ||||
							
								
								
									
										2048152
									
								
								files/utopien.vrt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2048152
									
								
								files/utopien.vrt
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
		Reference in New Issue
	
	Block a user